News for hackers. Stuff that matters.
Re:Ask HN: Is there any software you only made for your own ... by aperrien on Friday July 05, 2024 @01:04PM (#40884352)
What do you use for valve automation? Is it a commercial or custom part? I've been wanting to do the same myself, but I hear there's all sorts of quality issues with automatic valves.
Re:Ask HN: Is there any software you only made for your own ... by rowofpixels on Friday July 05, 2024 @01:58PM (#40884721)
I originally bought some solenoid valves to experiment with, but ended up simplifying my approach. I use a submersible pump that is plugged in to power. I can just automate turning on/off power to that outlet (I have two TP-link / Kasa HS300 strips). The nutrients / water are in a tank below the tray of plants, so when the power is "off", gravity brings the water back through the pump into the tank again.
Re:Ask HN: Is there any software you only made for your own ... by whitehexagon on Friday July 05, 2024 @02:26PM (#40884926)
What a clever and simple solution, I love it. I have been thinking about such a grow system for a long time for my chilli plants, and after having had a few split solenoid valves on a different irrigation project I was very hesitant. Thanks for the inspiration.
Re:Ask HN: Is there any software you only made for your own ... by jborden13 on Monday July 08, 2024 @04:51PM (#40909553)
It's a relatively common setup known as Ebb and Flow (Flood and Drain).
Re:Ask HN: Is there any software you only made for your own ... by throwup238 on Friday July 05, 2024 @01:42PM (#40884601)
Not OP but I use motorized ball valves from Amazon [1] which are hooked up to a four way water hose manifold to create four different zones. It's wired up to an ESP32 that controls them with relays via GPIO, using the ESPHome sprinkler controller module (which does pretty much everything OP's code does). I've never had a problem with them and the last time I even touched them was over a year ago. They're pricey but you can DIY them.

The usual sprinkler valves at hardware stores need quite a bit of water pressure to change state which is probably what most people have a problem with, especially if they're trying to feed them with the kind of pumps they get at hydroponic stores.

[1] https://www.amazon.com/Motorized-Stainless-Electrical-U-S-So...

Re:Ask HN: Is there any software you only made for your own ... by samtho on Friday July 05, 2024 @01:38PM (#40884571)
Not OP, but I made one of these for my partner and I’s bonsai garden.

I use standard 3/4” sprinkler valves from the big box stores, connected to a manifold via unions on each side. This enables me to swap if needed, but these are ruggedized and will last a while. They do take 12VAC, so you need a transformer and use relays to turn them on, but they work very well.