Mains 220–230 V can kill. Work with the power off, use certified isolated modules in an enclosure, fuse the line, and ask a qualified electrician if you are not sure.
Cheap electricity is a schedule, not a feeling
Where your tariff has a cheaper night zone, the best time to heat water is then. Check your operator’s current zones, since they differ and change. The ESP32 knows the time from NTP, reads the tank temperature, and switches the heater through a solid-state relay only inside the cheap window.
Details that make it safe and pleasant
Keep the heater’s own thermostat and thermal fuse in the circuit. The controller sets when it may run, not how hot it may get.
Strap the probe to the tank surface with insulation; it lags the water, so set the target a bit conservatively.
Once a week heat to about 60 °C to limit bacteria such as Legionella in the tank.
With a solar array you can allow heating on surplus power: read the grid exchange with a meter and open the window when the surplus exceeds the heater power.
If the ESP32 stops, the heater must be off, not on.
Other countries: order these parts on AliExpress with the links below.
Some links are affiliate links: we may earn a commission at no extra cost to you.
Related ideas
⛔ High risk
Mains 220–230 V can kill. Work with the power off, use certified isolated modules in an enclosure, fuse the line, and ask a qualified electrician if you are not sure.
Mains 220–230 V can kill. Work with the power off, use certified isolated modules in an enclosure, fuse the line, and ask a qualified electrician if you are not sure.
Comments
No comments yet. Share your experience or ask a question.