Page 1 of 1

Wrong status for devices...

Posted: Wednesday 05 May 2021 10:28
by binbo
In Domoticz, when i first open it up after a day /or a few hours -- there is a difference between what Domoticz shows, and what a devices real state is in OZW:
Screenshot 2021-05-05 083432.png
Screenshot 2021-05-05 083432.png (19.96 KiB) Viewed 238 times
In OZW:
Screenshot 2021-05-05 0909332.png
Screenshot 2021-05-05 0909332.png (11.99 KiB) Viewed 238 times
I then turn the device off in Domoticz, by pressing the light symbol:
off.png
off.png (20.15 KiB) Viewed 238 times
Which is passed on to OZW.

Changing values in OZW - is updated immediately in Domoticz. Set it to ON in OZW, it changes live in domoticz.

The problem seems to be when you first load/open Domoticz

Nearly every z-wave device is showing as "ON" in switches, despite being off in OZW.

Every device was "Last heard" in OZW at: 5:03:42 AM

This is also correctly shown in Domoticz as "Last Seen"

So the date is being correctly synced. But in the "LOG" in each device in Domoticz, the last entry is wrong...
2021-05-05 05:02:17 - On - zstick
Domoticz thinks that an "ON" command was sent from the zstick at the 5AM time - which it was not.

Maybe there could be a way to make Domoticz re-check the OZW values when the page is loaded?

As the problem only seems to be when you first open Domoticz, not during use.

This is a Domoticz issue - on page loading, maybe a cache issue or something? It is not related to the USB port, or the z-stick, or the device, or OZW, which always report correctly.

I am also not sure on the significance of 5:XX AM - I unfortunately clear my logs at 8 this morning :cry: