this is alpha version of devices
thanks @jangabrielsson for all the tips and tricks https://forum.fibaro.com/topic/49113-hc3-quickapps-coding-tips-and-tricks/
thanks @Sankotronic for the Netatmo integration with HC2 https://forum.fibaro.com/files/file/93-netatmo-weather-station-vd-scene-standalone/
- upload
Netatmo_base_station.fqa
to devices - check if variables is initialized (variable netatmoModules has value '{}' after rist setup)
- update device variables
- after save and few seconds device will be ready and values will appear (look at preview tab)
just upload fqa for module no other setup is needed.
- base station (must be installed)
- rain
- wind
- outdoor
- base humid
- base temperature
setup icon IDs for each device and state in QuickApp:initIcons function. If you want to use netatmo icon use icons from HC2 virtual devices https://forum.fibaro.com/files/file/93-netatmo-weather-station-vd-scene-standalone/
- add support for rain module
- add support for outdoor module
- add separete device for indoor humid and temperature
- add lang support
- setup icon IDs via device variable
- update user incons code via the module variables not the quickapp code
- more debug and error handling
- use pcall to handle "exceptions" in code to prevent app crash.
- add actions to support module device refresh invoke.
- split module data to separate variables and use event handlers to update module state
- add separate device for outdoor humid and temperature
- add support for additional indoor modules
- add support for more then one station
- add weather provider class with data from base station