#One of my EP1s has started boot looping

18 messages · Page 1 of 1 (latest)

paper tinsel
#

One of the EP1s is boot looping right as it gets to the wifi connection portion of the startup sequence. If I connect it to USB it will load the binary just fine and start up, and I see some of the sensor inputs show up in the console log, but not long after it displays the message for attempting to connect to wifi it disconnects and starts the whole process over again.
If i remove the wifi component (and the associated components that require it like ota, safe boot, etc), then after compiling/uploading it runs without issue. Something about the wifi component is making it boot loop.

It doesn't appear to be an issue with the config though, because I flashed a different EP1 with the exact same config and it operates normally. Something about this particular EP1 is causing it to boot loop once it hits the wifi connection step of the startup sequence. What can I do to debug this?

jagged spindle
#

What changed since it started doing this?

#

Got the full logs of it doing a couple retries?

paper tinsel
#

I'll do a reload of the firmware and upload the logs it spits out right after startup.
I unplugged it from the usb power cable and plugged it in again, all i remember doing before it started looping.
It does this on every startup now regardless if powered from a power brick or via a computer USB port.

I can't get logs of several tries in the same file (at least i don't think i can) because since it reboots it drops the serial connection. I can send multiple files of different attempts though.

jagged spindle
#

Rebooting won't cause the serial to drop since it's hardware not software

paper tinsel
#

So something is causing the hardware to crash when the WiFi component boots? Didn't have time to run it tonight but i will tomorrow.

jagged spindle
paper tinsel
magic roseBOT
jagged spindle
#

Would suggest removing the esp32_improv line from the config as a starter

vital gust
#

i am also noticing one of my ep1s rebooting often, the only change in my system is upgrade to HA 2023.5. I find it flashing randomly 2/3 times a day might be more that i did not notice.

jagged spindle
#

Startup logs in particular would be good thanks

vital gust
#

not sure where to find the logs

#

where do i share the data, PM or here?

#

is the encryption key something i should hide?

jagged spindle
#

You can remove the key yes and if you have WiFi details in there then hide them (if it says secret rather than the password it's fine)