An ESP32 connected over wifi with a web interface and a connection to a MQTT to control the valves of two garden sprinklers.
The code is heavily borrowed from bugfx/ESP32-sprinkler-controller and is hopefully going to be extended over time. For now, I've done some smaller tweaks and added an esp-dash dashboard to trigger the valves directly via the ESP.
- Case (Ritter Feuchtraum Aufputz Kleinverteiler, 8 TE)
- Universal DIN rail mount for relay
- ESP32
- 2 channel relay board
There are two MQTT topics for each valve. The state topic is set by the ESP32 to report the status of the valve back to the server.
The ESP32 connects to a standard WPA2 wifi network. Network id and password are defined in a separate file that has to be included in the main sketch.