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
519 stars 104 forks source link

Support individual sensor calibrations for every input #10

Closed presslab-us closed 4 years ago

presslab-us commented 4 years ago

Adds configurable current and power multiplification factors Auto detects add-on boards Optimize EEPROM storage to accommodate new features Fixes MQTT id so it is unique Fix crash and reboot due to HTTPClient Add watchdog to loop task

presslab-us commented 4 years ago

As mentioned in https://github.com/CircuitSetup/Expandable-6-Channel-ESP32-Energy-Meter/issues/5, the watchdog can time out if sending a WiFi packet takes over 5 seconds.

To fix this the timeout in WiFiClient should be made configurable, or the 5 second timeout should be increased. Unfortunately it is very difficult to increase the 5 second timeout because it is compiled into the arduino-esp32 sdk.

Another option is to disable the loop task watchdog altogether, but this could allow a lock up situation due to https://github.com/CircuitSetup/Expandable-6-Channel-ESP32-Energy-Meter/issues/7.