ds82 / openhab2-weather-shell

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

openhab2-weather-shell

This shell script polls the openweathermap API and updates the configured OpenHAB Items via the local REST API.

Requirements

  • openweathermap API Key
  • curl
  • jq

How to use

  • Get an API key from openweathermap.com for ONECALL API v3
  • Edit weather.sh and adjust the variables to your needs
  • run :)

About


Languages

Language:Shell 100.0%