homebridge-envisalink
homebridge-envisalink copied to clipboard
Expose "Obstruction Detected" as a Contact Sensor
In Apple Shortcuts, there is a way to poll the system by the State of the Alarm Accessorfy from this plugin with "IS obstructed" vs "Not obstructed" - these two basically indicate if there is a door or sensor "open".
Is there a way for this plugin to create a Switch that is on/off with these states ?
Should be possible, but I'm not sure how reliable it would be. There are lots of different states that the alarm can be in, and right now, I'm making the assumption that an obstruction is detected in the following cases:
case 'disarmed':
case 'notready':
case 'failedarm':
case 'useropen':
All other states (including ready
) assume obstruction detected = false. If this is something you'd like to test, I could probably get a beta version out. Let me know.