-
Notifications
You must be signed in to change notification settings - Fork 100
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
Alexa integration? #76
Comments
Sorry there's no API published, but if you look in https://github.com/rszimm/sprinklers_pi/tree/master/web you can figure out what json requests we make for various things (or use F12 developer tools in your browser and look at the json requests). For example, manual control is: http://[your sprinklers pi install]/bin/manual?zone=zf&state=on FYI after using manual control, scheduling is turned off, you can re-enable it with: http://[your sprinklers pi install]/bin/run?system=on All of this, of course, requires your sprinklers pi install to be accessible from the internet so you should also configure something to do at least http auth on it to prevent random people from watering your plants to death. |
is there any http url to use to get the status of the manual irrigation? |
You can access the json return data to view the state of each of the zones as well as the schedules: It also appears that issue #69 fixed the schedule being turned off after using manual control. But it is nice to know there is an API for turning the schedule off and back on as needed as well. |
I've been using sprinklers_pi for the whole season and have been happy with the results and control. THANK YOU! Any ideas how to connect to Alexa with a trigger or IFTTTT?
Could a email with a subject heading "start watering schedule" (or start "zone 1", "stop watering" etc.) trigger to start/stop?
or just a script?
The text was updated successfully, but these errors were encountered: