Can anyone (probably waaren
I can't understand the value of lastUpdate of my window sensors (Haven't checked other devices).
I have some window sensors which haven't had a changed setpoint in days, I can see that in the log. The last seen timestamp in the hardware page shows it was seen about 15 minutes ago and the lastUpdate of the device says 5 hours ago... So what happened 5 hours a ago? (It could be a restart of domoticz...)
My actual problem is, I want the last seen timestamp as displayed on the hardware page in dzVents. How can I do that?
Some background. I'm working on my roller shutter script and of course I want to check if the window is open but also if the window sensor is still alive. My thoughts was to use device.lastUpdate.minutesAgo > 60 to determine an unreliable window state.
Thanks in advance.