Passing along in case this helps anyone else. I just installed a Qolsys IQ4 panel (purchased via Surety) and was having some issues properly triggering events in Hubitat when the alarm was tripped.
After looking at my Hubitat logs, when the alarm was tripped on my panel, the Alarm_Mode_Partition_0
attribute was reporting an enum value that I was not expecting: ALARM_
I'm not sure why it is reporting this way, as I was expecting it to report ALARM_POLICE
. I am self-monitoring the panel, so maybe that is part of the reason, I'm not sure. Essentially, it seems that the panel is not reporting the payload.alarm_type
back to Hubitat, causing it not to properly append 'POLICE' to ALARM_
Either way, to get around this, I modified the driver to include an additional enum value for the Alarm_Mode_Partition_0
attribute, and I can now properly trigger events in Hubitat based on the new ALARM_
enum value I added. While I unfortunately cannot differentiate based on POLICE, FIRE, etc. with this method, it is at least usable for the time being.
Portion of the drive I modified for clarity (Line: 43):
attribute 'Alarm_Mode_Partition_0', 'enum', ['DISARM', 'ENTRY_DELAY', 'EXIT_DELAY', 'ARM_STAY', 'ARM_AWAY', 'ALARM_POLICE', 'ALARM_FIRE', 'ALARM_AUXILIARY', 'ALARM_']
If anyone has any idea why I seem to be missing the proper payload.alarm_type
, it would be much appreciated!