I'm impact by an update from my Netatmo weatherstation. Domoticz native Netatmo hardware doesn't work anymore because the way of authorization changed from Netatmo side. I installed iobroker on a spare rpi with an Netatmo adapter. Within iobroker all my data from Netatmo can be sent via mqtt. I already have node red on my other rpi together with domoticz running. I created virtual devices for all sensors of my Netatmo devices and sending data from Netatmo sensors via node red mqtt to domoticz. That is working great expect of rain and barometer.
According to documentation api/json for rain
/json.htm?type=command¶m=udevice&idx=IDX&nvalue=0&svalue=RAINRATE;RAINCOUNTER
I cant solve how to add ;RAINCOUNTER to my code witch working on the other sensors without this ;
In addittion Netatmo don't have a Raincounter. Same with barometer.
Any help appreciated!
This is the working code of function node for my other sensors.
- Spoiler: show