system.alarm.queryStatus and system.alarm.queryJournal

I don't think I am understand how the alarms should be queried. Should these two things have different values?

system.alarm.queryJournal(state=[0,2])
system.alarm.queryStatus (state=[0,2])

What are you actually trying to do? Start from that.

queryStatus queries the current live alarm state. queryJournal queries historical information about alarms, per whatever has been recorded in a particular alarm journal.

So queryStatus should list every alarm I have configured on the gateway and queryJournal should show the historical data for every alarm I have configured on the gateway??

queryStatus omits alarms that have not been active at all since the gateway started, IIRC.

1 Like