Box/housing for electronics and project.

I'd Highly recommend separating the water control from the electronics by using a separate Nema 5 or better box for the control stuff and a semi open one for the watery end. The Box could face south (In the northern hemisphere) and have a solar panel as well But connect the control to the water with a "Sealtite" type of conduit and remember to leave a vent on the bottom. Use a small plug of more or less loose glass wool to keep out the crispy critters and you won't have many issues with condensation, Don't and your boards WILL get water damaged. All of my early ones suffered from that issue until I learned how to 'fix' it. what happens is the box heats up during the day and when it cools it will pull in the evening moisture laden air which condenses but somehow never escapes. Wasps, mud daubers and carpenter types like the boxes for nests too. I've been surprised a number of times... I hope this helps.

Bob