Someone PM'd me and asked why I'm using redundant relays. It seems that context might be of benefit so here is a copy/paste of my response. Long story short, I have two enclosures and one houses the electronics while the other houses the power supplies. I want to toggle On/Off for two of the power supplies with as few wires running between the two boxes as possible. Please read further if interested.
I have a steel box mounted to my house's exterior. It's about 12"x6"x6" and it has a GFCI receptacle inside. It has housed my sprinkler controls and, more-recently, a 6-relay module that I have put inside with and ESP32 (with an antenna wire that extends out the PVC pipe alongside the exiting wires that lead to my sprinklers and landscaping lights). The sprinkler valves are covered by a large, hollow, fake rock. Everything works fine and is concealed well.
But I want to put some outdoor cameras in that vicinity and I cannot supply ethernet to that area (believe me, no way). My grandfather built this house himself and my dad and I cherish it as it is; no holes shall be cut into walls, etc. I'm using MoCA to supply wired ethernet to various rooms in the house. One such room is the kitchen, and the steel box is on the wall outside that kitchen. So here is my solution:
- MoCA to the kitchen, to a Unifi AP
- Unifi In-Wall AP in a large enclosure underneath that fake rock with the sprinkler valves
- ESP32 and 8-relay module in that same enclosure
- Peltier module mounted to the enclosure to keep it cool (ESP32 will have a temp sensor inside the enclosure and another inside the rock)
The AP in the kitchen will serve as a backbone to the AP in the plastic enclosure, so I can run PoE cameras over that dedicated backbone. The In-Wall AP that I'm putting in the plastic enclosure under the fake rock has two data ports, so I can connect two cameras to it.
The steel box is relatively small but the plastic enclosure that houses all of this stuff is nice and big, so it will house the electronics. The steel box, with the GFCI outlet, will house the power supplies (and convert them to DC before I send the electricity out to the plastic rock). Three power supplies:
- 55V for PoE Injector
- 12V for Peltier module
- 24VAC for sprinklers and landscaping lights
The 5V for the ESP32 will come from the PoE inside the plastic enclosure.
I have a 7x wire cable that I would like to make the most of, running between the steel box and the plastic enclosure. Now, those two relays in the junction box, which my thread is about... those are also (hopefully) going to fit inside the steel box so I can toggle the power to the 12V Peltier module when the weather is hot, and the 24VAC power supply to sprinklers and landscaping lights (so can turn off that transformer when sprinklers and lights are not in use). The PoE injector will always be powered on; no relay needed.
- 24VAC+ for sprinklers and landscaping lights (to 8-relay module #A #B #C #D #E)
- 24VAC- for sprinklers and landscaping lights
- PoE Injector 55V+ (it's like 1.6A so this wire is fine)
- PoE Injector 55V-
- 5V+ to Relay #1 #2
- GND+Trigger for Relay #1 (from Relay #G)
- GND+Trigger for Relay #2 (from Relay #H)
This leaves only the 12V power for the Peltier, which can reach 6A so I'm using some 14AWG wire that I already have.
I could use some more wire that I have lying around if I need another pair for the two relay triggers in the metal box, but I'm just aiming for efficiency.
In case you're interested, the PoE injector inside the plastic enclosure has four ports:
- Power to the Unifi In-Wall access point
- Power to the 5V splitter
- Camera #1
- Camera #2
The house's gutter has a down spout right next to the fake rock, and I've purchased some aluminum tube. I'm going to run the ethernet up the downspout of the gutter (I have some gaskets coming from AliExpress so I can put the aluminum tubes through the bottom of the downspout) so it's concealed inside metal throughout its run to the top of the house. My ethernet cable is heavy duty, outdoor cable.
Long story short, the ESP32, etc. don't fit inside the steel enclosure and I want to toggle AC power to the power supplies. So, I'm housing all the electronics elsewhere and sending On/Off signals to two of the power supplies inside the steel box ...and I'm aiming for efficiency. Yes, a couple more wires wouldn't be a burden if I need to separate GND and Trigger for the relays, but if I don't need to do that I'd rather not.