how to detect unreachable sensor / invalid values?
Posted: 12 Apr 2013 09:12
How can I detect - is a value actual - or maybe the sensor did not send values a long time?
As sample door sensor:
I see (just now):
{"name":"level","type":"bool","value":true,"updateTime":1365743975,"invalidateTime":1364368726}
it means: invalidate time: March,72 7:18:46 GMT
and update time: today, 5:19:35 GMT
Here is now 6:10 GMT - so for me it is not clear - maybe I did not got any values last 50 minutes? Or is the state still valid? How to check it?
Thanks
Michael
As sample door sensor:
I see (just now):
{"name":"level","type":"bool","value":true,"updateTime":1365743975,"invalidateTime":1364368726}
it means: invalidate time: March,72 7:18:46 GMT
and update time: today, 5:19:35 GMT
Here is now 6:10 GMT - so for me it is not clear - maybe I did not got any values last 50 minutes? Or is the state still valid? How to check it?
Thanks
Michael