My use case is I have a wildfire approaching my home in 2 - 3 days. I have a Rachio setup and controllable via the app. I have 8 sprinkler valve controllers up and working. I need to write a script that will cycle continuously through the 8 zones and run them for 2 mins then repeat the cycle. I have some basic API questions as I get stated:
How do I find the unique zone IDs for each of zones? Seems like all the API calls need an auth token which I have plus the Device/Zone IDs
Does anyone have example of doing these API calls via PowerShell? Or another way on Windows?
Does anyonehave some simple examples of anything like this?
Thx, IFTT doesn’t let me get granular enough and I’d also need to set up hundreds of calendar events. With the API I just need to know how to determine my Zone IDs then write a script to loop through them.
Fingers crossed your network connectivity (internet) will not go down because these will only allow you to schedule up to one cycle at a time.
Look for “example usage” which starts with “curl”. curl is a program allowing network interaction and can be downloaded for windows here: https://curl.haxx.se/download.html which will allow you to use api via cli / powershell / batch file.
Examples are actual curl commands which can be used as is (just with your info instead of examples) within the command line.
Thanks Gene, Where I am stuck is where do I find my devices unique ID? All the examples require that as a starting point. I don’t see such an ID in the app or on the device itself. Do you know where to find that? THx