From aeaef9ff4c707be2276bb77792a22e606a483ecc Mon Sep 17 00:00:00 2001 From: root Date: Mon, 9 Jul 2018 21:04:14 +0200 Subject: [PATCH] =?UTF-8?q?dodanie=20binding=C3=B3w=20pogodowych?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- items/pogoda.items | 5 +++++ openhab.cfg | 8 +++++++- 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 items/pogoda.items 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)