luisiam / homebridge-cmdswitch2

CMD Plugin for HomeBridge (API 2.0): https://github.com/nfarina/homebridge
Apache License 2.0
176 stars 29 forks source link

help with state_cmd #19

Open stich86 opened 7 years ago

stich86 commented 7 years ago

Hi,

i'm trying to use this plugin to enable/disable my alarm using an external script, but i've problem on state_cmd.. every status i put, accessory is always on :( which string I need to output (after doing my check on my shell script from alarms) to get the real current status?

Thanks!

luisiam commented 7 years ago

Please include your config.json and your external script.