Controlling a PUMP Schedule Programmatically - Smart Home & API / API - Rachio Community

Controlling a PUMP Schedule Programmatically

post by CCWD on Mar 16, 2024

Greetings,

GOAL

I want to use Rachio to control a PUMP that will run for a certain number of hours to refill a Tank each day. I wanted to do this programmatically without using the iPhone App to trigger the PUMP.

BACKGROUND

I volunteer for a small water district that mainly has one Tank and one Pump.

Each morning I receive the level of the Tank via Satellite to an email address. Based on the level of the Tank in the morning, I wanted to schedule a certain number of hours for the PUMP to run that day to make up for the consumption from the previous day.

PROCESS to VET

Below is the process I wanted to implement.

Perhaps the Tech guys at Rachio can vet the workflow.

  1. First create 10 Schedules where the PUMP will Run for 1 to 10 hours.

a. Schedule 1 - Pump Runs for 1 hour, say 10 AM to 11 AM

b. Schedule 2 - Pump runs for 2 hours, etc

c. Schedule 10 - Pump runs for 10 hours

  1. Get the Level of the Tank each morning via an email (say 9 AM)

  2. Compute the numbers of HOURS the pump should run based on it’s PUMP RATE (gallons per hour) and how many gallons to refill the TANK

  3. Switch to a Schedule where that many hours will RUN the PUMP

QUESTIONS

Thank you for your thoughts on this matter,

CCWD