MySensors to Domoticz Watchdog Update
Posted: Thursday 28 July 2016 18:44
I have about 10 MySensors nodes scattered around talking to Domoticz. Most update temperature on a regular basis and are easy to determine that the Arduino hasn't developed an issue by looking at the Last Seen status in the Device window.
I have just implemented a Water Leak Sensor for my HVAC unit which I have it set up with a interrupt trigger and a sleep function. The sleep time is 3,000,000 ms(~1 Hour) since from 5 minute trials I determined that the actual sleep time is around 120% of requested value.
During the short trials I observed(Serial monitor and Domoticz log) that the code would wake up as expected, transmit status and go back to sleep. However, Domoticz log never acknowledged these transmissions. It did acknowledge the sign-on status of the node on registration. I thought it could be a radio issue since my desktop is not optimally positioning the radio for transmit.
Now, the issue... after a 18 hour trial with the radio optimally positioned(each interrupt trigger is immediately acknowledged) there are no records of the watchdog update in the Log or the Device window in Domoticz. It still shows the last time that a status change was triggered... Off/On or On/Off.
Questions:
Is this expected behavior for Domoticz? Will it only update the Device window Last Seen time when a state change is issued?
Does sending an OFF state when the switch is OFF not update the Last Seen time?
Is there a way to update Last Seen so I can know things are working without triggering notifications from the Device window?
I have just implemented a Water Leak Sensor for my HVAC unit which I have it set up with a interrupt trigger and a sleep function. The sleep time is 3,000,000 ms(~1 Hour) since from 5 minute trials I determined that the actual sleep time is around 120% of requested value.
During the short trials I observed(Serial monitor and Domoticz log) that the code would wake up as expected, transmit status and go back to sleep. However, Domoticz log never acknowledged these transmissions. It did acknowledge the sign-on status of the node on registration. I thought it could be a radio issue since my desktop is not optimally positioning the radio for transmit.
Now, the issue... after a 18 hour trial with the radio optimally positioned(each interrupt trigger is immediately acknowledged) there are no records of the watchdog update in the Log or the Device window in Domoticz. It still shows the last time that a status change was triggered... Off/On or On/Off.
Questions:
Is this expected behavior for Domoticz? Will it only update the Device window Last Seen time when a state change is issued?
Does sending an OFF state when the switch is OFF not update the Last Seen time?
Is there a way to update Last Seen so I can know things are working without triggering notifications from the Device window?