Skip to content
This repository has been archived by the owner on Mar 5, 2024. It is now read-only.

Possibly accepting a return value? #17

Open
CarterBrehm opened this issue Apr 5, 2017 · 2 comments
Open

Possibly accepting a return value? #17

CarterBrehm opened this issue Apr 5, 2017 · 2 comments

Comments

@CarterBrehm
Copy link

If this is still being maintained, would it be possible to accept a return value, and set the state of the switch on that? With the IFTTT maker channel sending a response when an event is triggered, this would be very useful.

@greensouth
Copy link

Yeah! + 1 to this.

I have a plugin somewhere that uses an URL to retrieve the status of an accessory. Just a HTTP call which just returns a file with "1" or "0" inside.

We could easily create a webhook at IFTTT, that could maintain a file with the status.

@deanlyoung
Copy link

I recommend homebridge-cmdswitch2 and its optional state_cmd.

https://github.com/luisiam/homebridge-cmdswitch2

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants