CircuitSetup / Expandable-6-Channel-ESP32-Energy-Meter

Hardware & Software documentation for the CircuitSetup Expandable 6 Channel ESP32 Energy Meter. Works with ESPHome and Home Assistant.
https://circuitsetup.us/product/expandable-6-channel-esp32-energy-meter/
MIT License
511 stars 102 forks source link

6Ch crash on brownout #135

Open yn1v opened 1 year ago

yn1v commented 1 year ago

I have consistently having crashes when a brownout occurs. Sometimes the voltage drops to the point where some devices shutdown like TVs or fans with ir remote controls. LED lamps shutdown and then come back. On these occacions the 6 channel board crashes and stops responding. I need to unplug the wall transformer to reboot the board. As the wall transformer provides the input to the voltage sensor makes impractical put a voltage regulator. I was thinking about a high-low voltage cut. The board has emonesp sending data to a emoncms local server. I also have a local server running homeassistant. It may be possible to setup a relay to reset the power when the emonesp stops sending data. Any suggestion?

CircuitSetup commented 1 year ago

Sorry I did not get back to you sooner.

I would highly recommend using ESPHome if you already have Home Assistant running. It's more integrated and will probably restart properly if there is a brownout.