Hello,
I have seen the LUUP code that will allow a user to save to a variable when a sensor was last tripped but I can not think of a way to display that to a user. Specifically I am using the Homewave app and was hoping to figure out a way to show a user when a sensor was last tripped even if it meant renaming the sensor (to the time it was tripped)or something of the like.
Any thoughts would be appreciated.
Code snippet:
lastTrip = luup.variable_get (SS_SID, “LastTrip”, deviceNo)