Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Queuing Multiple Zones #3

Open
stephenwoodford opened this issue Feb 25, 2019 · 2 comments
Open

Support for Queuing Multiple Zones #3

stephenwoodford opened this issue Feb 25, 2019 · 2 comments

Comments

@stephenwoodford
Copy link

According to the official support article for the Rachio 3 with HomeKit support, it has the ability to "Queue up and run multiple zones". They also use the example "Hey Siri, Turn on the Backyard Sprinklers" which responds with "OK the backyard is queued up for watering."

https://support.rachio.com/hc/en-us/articles/115015979367

The way this plugin currently works with those Siri requests is by setting each zone in the request to "active" separately, causing each zone to turn on and off rapidly until the last zone stays on for the requested time.

The Rachio NPM library this plugin uses has a class called MultiZone, which I believe is what the Rachio API then uses to create a queue of zones to run instead of trying to start them all at the same time. I'm exploring how that could be integrated with this plugin and will report back with any findings.

@kcharwood
Copy link
Owner

Thanks for posting this...

Off the top of my head, this looks tricky. I think you would need to queue up incoming Set Active HK requests, queue them up, wait some small amount of time, and then decide to what api to use to start watering.

Interested to hear if you have any ideas.

@kcharwood
Copy link
Owner

Just saw your PR. Ignore my comment :)

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

No branches or pull requests

2 participants