r/Esphome • u/InvaderGlorch • 12d ago
bme280 sensor stops updating
I have a pico running esphome that has an adc door sensor attached. I recently added a bme280 sensor to it as well and it works for a period and then stops updating. Looking at the logs remotely don't show any errors so I'm at a bit of a loss trying to troubleshoot. Free heap is ~132K so not likely an out of memory issue. Doing a reset through HA is enough to get the device reporting in again - so not even a hard power off. Its currently running the latest esphome version but I think it also happened on 2026.10 as well.
relevant config if it helps
i2c:
sda: GPIO8
scl: GPIO9
scan: true
sensor:
- platform: bmp280_i2c
temperature:
name: "Temperature"
oversampling: 16x
pressure:
name: "Pressure"
address: 0x77
update_interval: 30s
- platform: aht10
address: 0x38
variant: AHT20
humidity:
id: humidity
name: "Humidity"
update_interval: 30s
- platform: adc
id: fridge_door
pin: GPIO26
name: "Door Sensor"
update_interval: 1s
accuracy_decimals: 0
internal: True
2
u/Financial_Vast_6340 12d ago
Maybe lower the i2c frequency a bit to like 100 and enable very verbose?
1
u/wulff-tech 8d ago
I'd add an 'uptime' sensor and a 'wifi_signal' one so you can tell if the pico is actually dying or just the sensors. If uptime keeps going while the temperature sits there, its the i2c bus, one device holding SDA low will take the other one with it. If uptime stops as well then its the board or the wifi.
Your config also says 'bmp280_i2c', which is the temp and pressure chip with no humidity. If you bought it as a BME280 theres a good chance its a BMP280 with the wrong sticker on it (seems somewhat common apparently). Would explain why you needed the AHT20 as well.
If it is the bus, try commenting out the AHT20 for a day and see which one is the problem.