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
 

I started mucking about with ESPHome yesterday and setup a WROOM with an AHT22 temp/humidity sensor. Running the wizard and adding the configs is easy-peasy. I started to have issues as soon as I wanted to flash.

  • If the AHT22 is plugged in, I cannot flash the device over USB.
  • I can check the serial logs once the device is flashed and then plug in the AHT22 once the device is booted and get readings, but
  • Once I unplug the ESP32 from the serial port and plug it into a power supply, I got nothing. No network activity at all.
  • Unplug the AHT22, plug into the power source, wait a few seconds, plug in the AHT22 has seemed to work correctly this morning and HA is pulling data but I tried that last night a few times and it didn't work -- so unsure why it's working this morning other than strange timing when I'm plugging the thing back in.

I am using the basic esp32dev firmware, which I am assuming works because it DOES work, eventually, but I'm not confident I'm using the right base but I cannot figure out which one to use.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 9 months ago

I have several chinese knockoff WROVER kits that boot to the bootloader when initially powered on. I need to press the BOOT button to get them to load the code in firmware. I was able to bypass this behavior by bridging pin 0 to VCC with a 100uF capacitor. There might also be a software setting, but I haven't really poked at it.

The Freenove branded one doesn't do this, though. It boots straight to the firmware.

Not sure if the WROOM kits have the same behavior, but try bumping your BOOT button and see if that wakes up.