diff --git a/items/pogoda.items b/items/pogoda.items new file mode 100644 index 0000000..f19f970 --- /dev/null +++ b/items/pogoda.items @@ -0,0 +1,5 @@ + +/* https://github.com/openhab/openhab1-addons/wiki/weather-binding */ + +Number wClouds "Clouds [%.0f %%]" {weather="locationId=domek, type=clouds, property=percent"} + diff --git a/openhab.cfg b/openhab.cfg index 641324f..6da712c 100644 --- a/openhab.cfg +++ b/openhab.cfg @@ -1859,7 +1859,7 @@ astro:longitude=18.56 # # The apikey values for the different weather providers # Note: Hamweather requires two apikeys: client_id=apikey, client_secret=apikey2 -#weather:apikey.ForecastIo= +weather:apikey.ForecastIo=4380d768b56aa7a8e6f82b57af368cfc #weather:apikey.OpenWeatherMap= #weather:apikey.WorldWeatherOnline= #weather:apikey.Wunderground= @@ -1885,6 +1885,12 @@ astro:longitude=18.56 #weather:location..language= #weather:location..updateInterval= +weather:location.domek.latitude=54.34 +weather:location.domek.longitude=18.56 +weather:location.domek.provider=ForecastIo +# in minutes +weather:location.domek.updateInterval=720 + ################################### Zibase Binding ##################################### # # The IP Address of the Zibase (required)