Idea post here
I would like to be able to limit the size (and increase the performance of) this query function when run in a gateway script by limiting the time range, the same way that we can with the system.alarm.queryJournal
function.
I have tried using the any_properties
keyword with the EventTime
key, but because the PyAlarmEvent treats this as a string, only the =
and !=
operators are allowed.
Ideally, I would like to be able to query results for ALL alarm states during a given time range, but only active alarms (for the edge case that an alarm stays active for hours/days at a time).