I’m successfully using the Rachio API to pull information, but examination of the JSON data that comes back for a Zone does not seem to have a specific field that clearly tells me the most simple fact about the zone: Is it running right now?
I’ve been capturing the json text in both running and non-running states and diff’ing the text to try to figure this out. It appeared that while the zone is running, the lastWateredDuration field is not sent, and that after the zone stops running, it is sent. But I found that other zones that I’ve not run lately also do not send lastWateredDuration in the response, so I can’t simply test that field.
It’s frustrating to me that the json information I get from an incoming web hook callback for a ZONE contains different information than the information I get for a Zone either from reading the Person object or the Zone object.