Hi
So it turns out that the Alarm Memory at Partition level is not so much a “memory” as an active switch.
The channel is ON while the alarm is triggered and goes back to OFF as soon as the alarm is cancelled. Different to the Zone level which is always ON after an alarm event - till the next event clears and updates to last event.
I am using the following rule to keep track of the activations:
rule "Partition 1 Alarm Timestamp"
when
Item Partition1_AlarmMemory changed to ON
then
postUpdate(Partition1_Last_Alarm, new DateTimeType())
logInfo("", "Partition 1 Alarm Timestamp " + Partition1_Last_Alarm.state )
end
And display in the Sitemap as:
Default item=Partition1_Last_Alarm label="Partition1_Last_Alarm [%1$td %1$tb %1$tl:%1$tM %1$tp]"
I guess I could display alarms in the last X hours etc and use Groups as well as “visibility” to only show partitions with alarms in that time period? Any suggestions on how to do this more elegantly? (limit coding knowledge).
Mark