this post was submitted on 04 Feb 2024
5 points (69.2% liked)
homeassistant
12066 readers
4 users here now
Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Make sure you’re not using any of the strapping pins for the interface with the AHT22 - take a look at https://esp32.com/viewtopic.php?t=5970 for a read. It basically means leaving GPIOs 12, 0, 2, 4, 15, 5 floating during boot or the esp will not boot correctly.
These pins control the boot process (like going to the boot loader instead of your code).
Patched, flashed, and didn't crash! That also explains why WLED project switched to pin 18 or whatever by default. This is a huge fix and I really appreciate it!
I think you nailed it. It explains both the issues flashing and booting. I'll have to muck about with other pins and see if that fixes it.