-
Notifications
You must be signed in to change notification settings - Fork 10
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
Aquapi bootilooping with factory image #68
Comments
OK, I was able to find some new information and potentially reproduce the issue. I started by downloading the most recent release on the github( aquapi-esp32.factory.bin) and flashing it. I join the AP, configure it to use my guest network, and let it connect. All looks good according to the logs: Then, I attempt to adopt it into ESPHome, which is where things go sideways. Immediately after esphome finishes uploading the api config, the bootloop begins occurring: Any ideas what might be causing this? Is anyone else able to reproduce? |
Hmm, try doing it with
https://github.com/TheRealFalseReality/aquapi/wiki/Substitutions |
You can also try adding packages, one at time. I have it all split up
This is just the packages that allow the ESP32 to boot properly, no other components activated. |
replace the existing |
Alright, that stops it from bootlooping, and it is able to show basic info in HA. Adding more yamls in reveals the issue may be the ota_https package. Here's my yaml: |
Ok, lemme know. The |
Yep, it appears to be the ota_https. Here's the yaml I'm running, with everything(I think) except ota_https, and it doesn't bootloop: |
Ok, and I think I read somewhere having duplicate |
shoot, just noticed the app_version: "2024.6.4". I'm using esphome 2024.6.6. might be important lol🤦♂️ |
no the |
try building it without the ota_httpa entirely, I created a branch that removes that, and only that. And I may move the AquaPi SnapCam to its own repository in the near future, keep a lootout.
|
That works! Thanks for making that build! |
OK, after running into the exact same issue with my other aquapi unrelated esphome devices, i found the issue. If it doesn't have internet, it will reboot after loading the ota, bootlooping it. This wasn't the case on previous versions, so I had them all on a cut off network. Throwing them on a vlan with internet let me use the normal version immediately. Any idea where I would report this further up the chain? Maybe the esphome github? |
Hmm, so you need internet otherwise the device just reboots? A little annoying. I do like the update sensor but maybe I will just keep a branch without |
It's incredibly annoying. After further testing, I can confirm that if they don't have internet access, installing anything with ota_https will result in that device looping until it gets access. Once it can boot with internet, it seem to be fine, even surviving power cycling after the initial install is done with internet. Thanks for helping me work through this! |
No worries! I recently tested the ota_http and it worked fine, but it completely reset the device 100% including wifi credentials., not the intended results I wanted. I removed the feature entirely for now and is active in the main branch. |
Describe the bug
After flashing a fresh image using the default yaml, the device reboots immediately upon finishing setup.
To Reproduce
Not sure if reproducible
Expected behavior
No bootloop obvs
Screenshots


logs (1).txt
Additional context
Tried with and without api: section commented out, it seems to be having some issue starting the api but otherwise I'm stumped
The text was updated successfully, but these errors were encountered: