-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Boot loop #16
Comments
I've just tried using https://web.esphome.io/ to flash the default 'prepare for adoption' firmware on there as a test, and I get the same behavior with that (except it crashes while trying to setup BLE). So I suspect it's not possible for the ESP32 to power up when getting 3v on the UART pins, maybe it does need to be powered through the 5v header pin for a successful boot. |
Since today I am experiencing the same issue. My first Sonoff is not reachable since an update and is built in, so powered by 5v, I cant reach the log or api, but its connected to my wifi and I can ping it. My second one, which I prepared for testing has now the same issue but is connected via 3.3v on a testbench, both are stuck at the home assistant logo and flash from time to time, both don't show any IP address. is there something I can do to debug it further? |
Ah, that's interesting. So you're saying you have the same behavior on a unit that was working until recently ? That sounds like this issue should be opened on the esphome tracker instead of here, maybe the latest update broke something for that chip. I'll open up an issue there and reference this one. |
I found out what my problem was, its mentioned here. i was on the edge with my script size and this caused the behavior on my end. After cleaning up the config and removing unused entities both devices are working fine again. Sadly I don't think that applies to your minimal setup ;) |
Arf, good for you but bad for me. |
Yeah, on my testbench it works completely fine with 3.3V. It functions totally normal, I can do ota updates, TFT updates and interact with the screen. |
Figured it out now, it doesn't boot correctly when powered with the 3v header, and my serial adapter's 5v mode doesn't actually supply 5v, it's more like 4.9 which doesn't seem to be enough. I grabbed a breadboard power supply instead which seems to provide a cleaner 5v output, and with that on the 8 pin header it boots up just fine. What a waste of time because of a crappy serial adapter ! Now to figure out where to host the tft file in http, that's getting surprisingly hard to find |
Hi,
I copied your config and flashed it with one light only, but then when I power it with 5v the screen just flashes on and off randomly (staying on the Sonoff boot logo screen), wifi connects but the API port stays closed.
I then tried a minimal config, thinking maybe one of the sensors or services was causing the issue :
With that the logs on serial show a boot loop, with the below repeating endlessly :
That's when powering the esp32 itself with 3v on the UART pins, is that supposed to boot ? I can't get any logs when giving the whole board 5v through the bottom header of course so that's difficult to diagnose.
With that it doesn't seem to connect to the wifi at all anymore so I'm not sure it's the same issue as I started with.
Any help would be appreciated, I'm stuck.
One detail is in the videos I saw the bottom header has the 5v and GND pins labelled as such, whereas mine has 'TP7' and 'TP1' instead there. I'm assuming they're still the same pins and I've been using them as such (and presumably haven't fried anything since wifi did come up with the first config) but maybe I'm wrong.
The text was updated successfully, but these errors were encountered: