Now, my next project is to add an actuator to the valve to my pool waterfall that I want to control through automation.
This is the valve I intend to buy: actuator and I’ve seen on youtube how to set it to turn 90°, so I’m one step forward.
I also understood from a bunch of internet searches that I will need a 2 channel relay to make the valve turn in either direction - something like this: 2 channel relay board
That’s about as far as I got with this…
How would the 3 wires (from the valve) connect into this board?
And what would the ESPHome configuration look like to do the switching?
I am unable to get to the valve link but the relay board basically has 2 single pole (k1 and k2) double throw contacts. I am going to make an assumption here since I have not seen the valve wiring. The three wires are likely.
Clockwise, or maybe open
Counter Clockwise, or maybe close
Power common
It is very likely I got the descriptions wrong but it should be helpful anyway.
In my example I would connect #3 to your power supply negative, common, or neutral.
I would then connect your power supply hot, or positive to the center screw terminal on your relay board.
Connect your valve close #2 to the normally closed screw terminal on the relay board shown on the right of the center screw.
Connect your valve open #1 to the normally opened screw terminal on the relay board shown on the left of the center screw.
Therefore when the relay is energized “on” you will have power flow from the center terminal to the left terminal and the valve will open, when the relay is de-energized “off” you will have power flow from the center terminal to the right terminal and the valve will close.
Thanks for the pointers, pcwii!
I corrected the link to the actuator.
I think I understand what you’re saying and it makes sense!
I just need to then figure out the code / config in ESPhome - any suggestions / ideas for that?
I think you’d probably set up 2 x gpio switches and then either interlock them, or set up a 3rd template switch which merges and interlocks them using the on/off actions.
This said it may depend on the wiring others have suggested (ie if interlocking is done at hardware level, then possibly no need for multiple switches?)
Your schematic looks pretty good.
One word of caution would be your transformer is showing a 240 vac input. I am not sure of your location but the valve specifications in the link you provided is 60 Hz. Not sure the impact if you are on a 50Hz system.
Hi all - thanks to your help, I was able to complete this piece of work - needed some extra time to move the ESP board & kit into a larger enclosure.
If anybody wonders what it looks like, see here: