Mysensors combined sensors keep changing (likely fixed)
Posted: Sunday 01 April 2018 15:55
This topic was touched under another one, but I think this needs new topic:
I' m using latest dev branch on RPi (now 3.9139). Have multiple Mysensors nodes some of which have temp+hum, one has temp+hum+baro. My nodes report using separate child IDs for each sensor. One uses temp 2 hum 3, another temp 1 hum 2 baro 3 (no multiple same type). Those got initially nicely automatically combined and I added them to dashboard. Worked for about a day and suddenly without any changes except re-starting domoticz the combined device stopped getting updates. The sensors still send as before and was not even re-started. The separate devices were getting updates, but somehow the combined one got separated.
Next day I pulled the latest git (a few days forward), rebult and started. Deleted the problematic sensors and after some time got the combined ones working again. This worked for two days until I had to re-boot the RPi. Took a day to notice, but after that the combined weather sensor stopped getting updates, again the separate sensors still get data. I deleted that sensor and all the related devices. Got back the separate devices as the values arrived, but not the combination. Left it runnig over night (updates every 20min), still no combination in the morning. Then I re-started domoticz and after a while seemed to again got the combination back!
So been trying to read discussion and look at the code a bit, but I can't understand why things change by themselves. I can change my sketches if there's something to fix, but what? Any help or ideas welcome.
I' m using latest dev branch on RPi (now 3.9139). Have multiple Mysensors nodes some of which have temp+hum, one has temp+hum+baro. My nodes report using separate child IDs for each sensor. One uses temp 2 hum 3, another temp 1 hum 2 baro 3 (no multiple same type). Those got initially nicely automatically combined and I added them to dashboard. Worked for about a day and suddenly without any changes except re-starting domoticz the combined device stopped getting updates. The sensors still send as before and was not even re-started. The separate devices were getting updates, but somehow the combined one got separated.
Next day I pulled the latest git (a few days forward), rebult and started. Deleted the problematic sensors and after some time got the combined ones working again. This worked for two days until I had to re-boot the RPi. Took a day to notice, but after that the combined weather sensor stopped getting updates, again the separate sensors still get data. I deleted that sensor and all the related devices. Got back the separate devices as the values arrived, but not the combination. Left it runnig over night (updates every 20min), still no combination in the morning. Then I re-started domoticz and after a while seemed to again got the combination back!
So been trying to read discussion and look at the code a bit, but I can't understand why things change by themselves. I can change my sketches if there's something to fix, but what? Any help or ideas welcome.