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

Added cmd_timeout parameter (setting commands execution timeout value) #17

Closed neptunix closed 7 years ago

neptunix commented 7 years ago

I needed to change default execution timeout to create automation based on successful command execution (chaining 2 switches, that depend on each other)

So here is an update to support new parameter

neptunix commented 7 years ago

Thanks.

As far as you've changed ms to seconds, please update Readme accordingly (it states now that timeout is in ms)

luisiam commented 7 years ago

Thanks for the catch.