I'd like to have some values on a local display appear or not based upon a condition. So say I have a remote unit with a global sync variable which I'm showing on a hall unit with an attached display along with some local data values. When the remote unit goes down, the global variable stays unchanged but can't be trusted as a valid value. I'm working on a way to detect the remote unit is down within ESP Easy and would like to show the status or suppress the line in the display showing the related data if so. I'm using stable R1.20 on all my units currently. I will have Domoticz up and running to collect sensor data but would prefer to keep the solution within ESP Easy if possible rather than sending the data to Domoticz (or another agent) and then building the display strings there to send back to the display.
So say I have a 1306 OLED with the current values displayed (Hall unit has the display and that data is local, others global):
Code: Select all
Loc Temp %RH
Hall 77 55
Gar 88 76
Cpla 80 65
Code: Select all
Loc Temp %RH
Hall 77 55
Gar 88 76
Cpla OFFLINE
Code: Select all
Loc Temp %RH
Hall 77 55
Gar 88 76
Is this possible?