I am using the API to create a super simple client to help me when I change my watering schedules. I have a flow sensor attached that seems to be working OK and I am trying to retrieve the calibrated gallons/hour for each zone.
However, I can’t see that data in the json object that I get for the zone.
The info appears when you view the zone through the web app, so I imagine it is available, but perhaps not exposed through the rest api.
Is there any way to retrieve the calibrated gph for each zone?
I would also like this for Home Assistant integration.
Home Assistant already has an integration for Rachio that can retrieve all the other information from the sprinkler controller. I would like to be able to get the total water consumed so far, too.
Home Assistant has a panel that can show the home’s water usage. I have a Phyn Plus to track the water in my home. That device is placed after the pressure regulating valve, as recommended by Phyn Plus. The sprinklers are on a branch of the water line that is before the PRV because sprinklers need higher water pressure. This is a common way to set up a home.
Because of this, the Phyn Plus does not include the water usage of the sprinklers. If the API of the Rachio exposed the water usage, it would let me measure that branch of the water, too. In addition to the benefit of Rachio water monitoring.
It would be best to report both total water usage so far per zone (in liters or gallons) and also current usage (in gallons/minute, for example).
@ eyal0 Based on what you are saying, I am going to use a simple electrical analogy (hopefully). You have a main line equivalent to a main in an electrical circuit box. Your sprinklers are branched before the PRV on its own loop assuming you have a back-flow preventer equivalent to a main electrical going to a kitchen circuit. You have a flow meter connected after the PRV equivalent to being a multimeter on a bedroom electrical circuit connected in series reading electricity flowing. You want to know how to get readings on your multimeter in the bedroom circuit in a way that you can read electricity flowing to the kitchen circuit.
Hopefully you are catching on to what is going on. The flow meter can’t read the sprinklers because they are on a different branch/loop.
To get usage on the sprinkler system, you can either put a flow valve on that loop or manually calculate usage by {runtime * (summation of nozzle flow rates per same units of runtime)}. Most nozzle flow rates are reported by nozzle manufacturers and given that pressures are known and stable.