Close

Coding

A project log for RainBuddy

Turns your existing sprinkler controller into a Wifi connected controller that saves water when its going to rain.

alecAlec 06/12/2017 at 03:460 Comments

Completed writing of the core section of the code.

Includes functions for:

- State tracking
States for Rain delay, Winter delay, and User on / off.
The User state will override all others so that the User can simply turn off the device and let the sprinkler controller function normally, or turn it on manually to stop the sprinklers should they choose.

- External Functions for IFTTT (Designed to integrate to Weather Underground App)

- Internal Functions for turning relays on and off.

Hardware hookups:
The prototype system uses a relay which is connected as Normally Closed (this is not the most common way to hook up Relays). This is so that if the unit fails, it fails in way that the sprinklers would continue to function normally - you would just loose the extra features of the RainBuddy device.

Discussions