Created At

Sep 11, 2020

Last Update

Sep 18, 2020

Platforms

HC 3

Views

156

Download

33

Type Quick App

OpenWeather weather provider

An alternative to YR weather provider, that is default weather provider for HC3.

Beside main virtual device, it provides couple other virtual devices (sensors) that show current:

  • Temperature
  • Wind
  • Rain
  • Pressure
  • Humidity
  • Cloud cover
  • UV index
  • Time of sunrise
  • Time of sunset

Data updates every 1 hour.

Configuration

Main device requires only an APIKEY to be specified. APIKEY can be obtained from OpenWeather API keys page.

To filter child devices you can use Devices variable where you can use specify one or more of following values:

  • temperature
  • wind
  • pressure
  • humidity
  • clouds
  • uv
  • sunrise
  • sunset
  • rain

Please specify multiple values separated by comas. Do not use any white characters!

Defaults to temperature,wind,pressure,humidity,clouds,uv,sunrise,sunset,rain

Changing weather provider

To change default weather provider you need to go to Settings page and click General category. On displayed page you should see section called Main Sensors with Weather provider dropdown, that will let you pick OpenWeather Station as your new source of information.

To see changes in top bar, you need to refresh Home Center UI.

GIT repository: https://github.com/ikubicki/fibaro-openweather

5 Comments,  Want to add comment please login
196030d17fd487ad7b27e3b4e784dac1

Hi Vladimir, It's not a newbie question - yes, it does take coords from HC settings.

69a30c0c5c96988781b6f614e818b50c

Hi and thanks, seems to work just fine. Newbie, so please excuse my stupid question - Does the QuickApp fetch location data (long/lat) from my HC3 settings and include in API call to OpenWeather ? Thanks / Vladimir

Dd07e840a077a781662cba8c86fc895d

Thanks Irek. Now is working.

196030d17fd487ad7b27e3b4e784dac1

Hi Dan, Thank you, I found an Issue with class that's responsible for creating devices. I will update that shortly. To not wait for a fix, find this line (it requires to edit quick app): api.put('/devices/' .. child.id, {roomID = self.parentRoomId, properties = properties}) put AFTER that line this piece of code: self.devicesMap[name] = child.id Once you do that, everything should be fine. After this, you can delete extra devices or delete them all.

Dd07e840a077a781662cba8c86fc895d

Hi Irek, Thanks for your effort and great idea. When using your QuickApp, I do record the following issue : at each update, new Child devices are created but the previous ones are not deleted ( so new ones comes in addition to the previous ones ). Is anything wrong in what I am doing ? Looking forward to hear you, With BR Dan

Load more comments