Page 1 of 1
Highlight when sensor not sent for x minutes
Posted: Sunday 03 January 2016 15:02
by Flopp
Would have been nice to get red text in dashboard on sensor value for a sensor that have not sent a new value since x minutes(adjustable for user) it would be easier to see if it is old, now I have to go to the sensor page to see latest date/time.
For sensor is not sending a new value because it is same value since last time this feature will not be good.
Mysensors is not sending new values if last value is same as latest(can be set to send values all the time in code)
EDIT: if I use a web browser I can see date/time in dashboard. I was using my iphone when looking at dashboard and date/time is not written when you use mobile GUI.
Re: Highlight when sensor not sent for x minutes
Posted: Sunday 03 January 2016 15:10
by malarcy
Take a look at this discussion around this topic - there is a bug and a feature request in place - and I have documented how I made it work - another forum user has taken a different approach to get to the same place.
viewtopic.php?f=42&t=9272
Hope this helps.
Re: Highlight when sensor not sent for x minutes
Posted: Sunday 03 January 2016 20:26
by Flopp
I noticed now that it goes red after a period or something. But again in the mobile view it seems to be OK until you press it and really see the date/time since last seen
Re: Highlight when sensor not sent for x minutes
Posted: Sunday 03 January 2016 21:10
by malarcy
The red tag on the UI is coded into domoticz and has fixed values (not sure what they are but I think orange after x and read after x+some).
The issue with mysensors (and others perhaps) - is that if nothing changes (a switch that is on stays on, or a temp that is "21" stays at "21") then NOTHING at the domoticz end gets updated - the status stays the same, the last seen time doesn't change (it seems last seen is really last updated). Also, if you have delayed off set - it will turn off the set time after the 1st on - the timer doesn't reset when you send it another "on" command.
Highlight when sensor not sent for x minutes
Posted: Wednesday 06 January 2016 15:24
by Flopp
I get the red color when no data has been received by Domoticz.
But last updated is updating even if I sent same value again. I am sending temp/press and volt.
It is the code in the arduino that doesn't send if the value is same, to save power