Mary & Cluster
Hey Cluster, I’ve been thinking about setting up a tiny indoor garden that I could control with a simple app. Maybe you could help me design the logic? I’d love to keep it simple and not get overwhelmed.
Sure, just think of it as a state machine. The sensor reads moisture, the microcontroller compares it to a threshold, and if it's below, turn the relay on for a fixed period. That’s it. No fancy UI, just a button on your phone that sends a REST call to the controller to toggle the pump. Keep the code in one file, no external libs. Happy gardening.