Smart irrigation system

Keizer

Getting comfortable
Joined
Jan 3, 2023
Messages
176
Reaction score
429
Location
Wa
Has anyone built their own smart sprinkler controller for home assistant? I know you can purchase smart controllers that are drop in replacements but building one appeals to me. I'd really like to incorporate something into ESPHome on my home assistant setup. Has anyone done this?
 

The Automation Guy

Known around here
Joined
Feb 7, 2019
Messages
1,413
Reaction score
2,812
Location
USA
The advantage to using a "smart" controller is that it is still a stand alone controller. If something happens to your automation system, the sprinkler system should continue to function as expected. If you build your own "smart controller" then you want to make sure that whatever solution you build can work on it's own should home assistant go down.

That being said, if you use the correct ESPHome chip/device, it would work this way. Something with enough outputs paired with enough relays to control all of your individual sprinkler zones, along with enough programming power to set everything up on the chip itself. Having HS be able to monitor and even command the controller is great, but secondary to the controller being responsible for the operation of the sprinkler system.

A quick search found this: Sprinkler Controller and Sprinkler automation with ESPHome, a complete project
 

actran

Getting comfortable
Joined
May 8, 2016
Messages
806
Reaction score
732
Yes, ESP32 chip + some relays is the answer, in my case, to control other things around the house, not sprinklers. If you haven't worked on ESP32 before, it will be fun & educational.

The added benefit with DIY is that there are a ton of other sensors you can add like temperature, humidity, etc.. listed here ESPHome — ESPHome
 

Keizer

Getting comfortable
Joined
Jan 3, 2023
Messages
176
Reaction score
429
Location
Wa
Yes, ESP32 chip + some relays
Exactly what I was wanting to do. There are so many different ESP32 boards online to choose from. Are they all pretty much the same?
Here's a list of what I was thinking.




 
As an Amazon Associate IPCamTalk earns from qualifying purchases.

anotherone

Getting the hang of it
Joined
Mar 31, 2022
Messages
84
Reaction score
76
Location
seattle
I bought one of these for $89 and wrote some code to talk to it over a socket to turn relays on and off. Been working for 3 years now.
32 relay controller
 
As an Amazon Associate IPCamTalk earns from qualifying purchases.

Keizer

Getting comfortable
Joined
Jan 3, 2023
Messages
176
Reaction score
429
Location
Wa
Okay I got it all mocked up on my desk. I only added one entity (Zone 1) to the ESP32 so far. I can now click relay one manually. Fun stuff!!
 

Attachments

actran

Getting comfortable
Joined
May 8, 2016
Messages
806
Reaction score
732
@Keizer Yeah, it's addictive when you hear the relay noise.

Next thing you'll need is a 3D printer so you can custom print a case for your hardware.
 

BORIStheBLADE

Getting comfortable
Joined
Feb 14, 2016
Messages
740
Reaction score
2,070
Location
North Texas
I’ve read about this but don’t use one. I currently use a RainMachine controller

 

Keizer

Getting comfortable
Joined
Jan 3, 2023
Messages
176
Reaction score
429
Location
Wa
I’ve read about this but don’t use one. I currently use a RainMachine controller

I was playing around with open sprinkler on a Raspberry pi I had laying around. Although you can integrate open sprinkler into Home assistant via HACS, I wanted to use ESPHome and build my own dashboard.
 
Top