aficustree / homebridge-alarmdecoder-platform

Homebridge plugin for the AlarmDecoder interface for Honeywell and DSC Alarm Systems. Exposes the security system and all zones (via Contact Sensors and Motion Sensors) to Apple's Homekit. Control your alarm through Siri.
Apache License 2.0
18 stars 11 forks source link

useSwitches for any arbitrary commands #27

Open pabfou opened 3 years ago

pabfou commented 3 years ago

Was reading the documentation on the plugin configuration it states:

"The useSwitches provides 'switch' toggles that control the setting of the alarm in away/night/stay mode or to trigger a panic function (or really any arbitrary command)"

Is there any documentation of how to configure the useSwitches to trigger "any arbitrary command"?

Thanks,

aficustree commented 3 years ago

it provides a mechanism to add any arbitrary command. we'd need to define both in the Honeywell.js file. It shoudl be an easy fix. I probably won't be able to get to it for a couple weeks but if you're willing to test, I'd be happy to make a branch and blind code it.