Investigate reset issue on ESP8266


I have issue with device which loses connection with homeassistance.

The device in use was bought at AliExpress few years ago and is CH340G NodeMcu V3 Lua. I defined the board as nodemcuv2 (ESP8266)
The disconnect happens every once in a while (might be weeks, might be 24 hours)
When the disconnection happens, there is no wifi AP on the device and the on board led (which should have been blinking in this stage as ‘status_led’) is off.
using the reset on board reset button solves the issue.
Any ideas on how to debug it?


Leave the ESPhome log running and hope to capture something.

You can keep the log running in the esphome container (if that is what you are running).

Thanks, will do and update