Displaying When Sensor Was Last Tripped

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)

Being late to the game with the DSC plugin, I’m coming across things that may help answer old questions :slight_smile:

For this one - http://forum.micasaverde.com/index.php/topic,26815.msg190765.html#msg190765

This is a must have add on for me.

And as for HomeWave - there is the 3 variable option where you can choose to show the LastTripped value .

You mean like this?