Highlight when sensor not sent for x minutes

Use this forum to discuss possible implementation of a new feature before opening a ticket.
A developer shall edit the topic title with "[xxx]" where xxx is the id of the accompanying tracker id.
Duplicate posts about the same id. +1 posts are not allowed.

Moderators: leecollings, remb0

Post Reply
Flopp
Posts: 279
Joined: Sunday 03 January 2016 14:55
Target OS: -
Domoticz version:
Location: Sweden
Contact:

Highlight when sensor not sent for x minutes

Post 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.
Last edited by Flopp on Sunday 03 January 2016 20:12, edited 1 time in total.
malarcy
Posts: 50
Joined: Sunday 15 November 2015 13:36
Target OS: Linux
Domoticz version:
Contact:

Re: Highlight when sensor not sent for x minutes

Post 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.
Flopp
Posts: 279
Joined: Sunday 03 January 2016 14:55
Target OS: -
Domoticz version:
Location: Sweden
Contact:

Re: Highlight when sensor not sent for x minutes

Post 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
malarcy
Posts: 50
Joined: Sunday 15 November 2015 13:36
Target OS: Linux
Domoticz version:
Contact:

Re: Highlight when sensor not sent for x minutes

Post 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.
Flopp
Posts: 279
Joined: Sunday 03 January 2016 14:55
Target OS: -
Domoticz version:
Location: Sweden
Contact:

Highlight when sensor not sent for x minutes

Post 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
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest