Closed presslab-us closed 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.
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