Good afternoon,
I’m wondering if there’s a way to query alarms using the system.alarm.queryStatus() function within a certain date-range. When I call it it looks like I’m only able to get alarm events from the past 8 hours or so.
Good afternoon,
I’m wondering if there’s a way to query alarms using the system.alarm.queryStatus() function within a certain date-range. When I call it it looks like I’m only able to get alarm events from the past 8 hours or so.
This function should return all current alarms for the given filters, it shouldn’t be limiting by date range.
https://docs.inductiveautomation.com/display/DOC79/system.alarm.queryStatus
Are you trying to query for current alarms (system.alarm.queryStatus
), or historic alarms (system.alarm.queryJournal
)?
https://docs.inductiveautomation.com/display/DOC79/system.alarm.queryJournal
Thanks for the tip! I am indeed querying for historic alarms. I was under the impression that queryStatus and queryJournal essentially returned the same things, just separated the Active/Acknowledged/Cleared events.