p2-3d
December 8, 2024, 8:47pm
1
I am using the Adafruit ESP32-S2 Feather with integrated MBE280 sensor to measure pressure and temperature.
Everything works fine with ESPHome 2024.8.1.
But when I tried to update to 2024.10.? I would get no data back. The device is still on-line and I can control the on board GPIO LED, but there is apparently no I2C data.
I restored the 2024.8.1 and tried again with 2024.11.3. The same problem, no sensor data.
Any suggestions?
Here is my configuration:
esphome:
name: feather-bme280
friendly_name: Feather_BME280
platformio_options:
board_build.variant: um_feathers2
esp32:
board: featheresp32-s2
variant: esp32s2
framework:
type: esp-idf
version: recommended
# Enable logging
# Enable Home Assistant API
ota:
wifi:
captive_portal:
switch:
- platform: gpio
id: power_on
restore_mode: ALWAYS_ON
pin: 7
setup_priority: 801
- platform: gpio
pin: 13
name: "LED"
i2c:
sda: GPIO3
scl: GPIO4
# scan: true
id: stemma
frequency: 200kHz
setup_priority: 700
sensor:
- platform: uptime
update_interval: 10s
id: up
- platform: bme280_i2c
i2c_id: stemma
temperature:
name: "BME280 Temperature"
id: bme280_temperature
oversampling: 16x
filters:
- offset: -6.2
- sliding_window_moving_average:
window_size: 12
send_every: 6
pressure:
name: "BME280 Pressure"
id: bme280_pressure
oversampling: 16x
unit_of_measurement: "hPa"
accuracy_decimals: 1
filters:
- offset: 26.7
- sliding_window_moving_average:
window_size: 6
send_every: 6
humidity:
name: "BME280 Humidity"
id: bme280_humidity
oversampling: 16x
filters:
- multiply: 1.19
- offset: 6.0
- sliding_window_moving_average:
window_size: 6
send_every: 6
address: 0x77
update_interval: 60s
p2-3d
December 10, 2024, 7:16pm
3
Are you asking for a log of programming or log of operation?
p2-3d
December 21, 2024, 8:16pm
4
I just tried with 12.2. Still no luck. The log seems too big to post, so here is the end:
RAM: [= ] 9.6% (used 31396 bytes from 327680 bytes)
Flash: [===== ] 50.6% (used 929182 bytes from 1835008 bytes)
Building .pioenvs/feather-bme280/firmware.bin
Creating esp32s2 image...
Successfully created esp32s2 image.
esp32_create_combined_bin([".pioenvs/feather-bme280/firmware.bin"], [".pioenvs/feather-bme280/firmware.elf"])
Wrote 0xf2f10 bytes to file /data/build/feather-bme280/.pioenvs/feather-bme280/firmware.factory.bin, ready to flash to offset 0x0
esp32_copy_ota_bin([".pioenvs/feather-bme280/firmware.bin"], [".pioenvs/feather-bme280/firmware.elf"])
======================== [SUCCESS] Took 393.97 seconds ========================
INFO Successfully compiled program.
INFO Connecting to 192.168.128.99 port 3232...
INFO Connected to 192.168.x.x
INFO Uploading /data/build/feather-bme280/.pioenvs/feather-bme280/firmware.bin (929552 bytes)
Uploading: [============================================================] 100% Done...
INFO Upload took 4.69 seconds, waiting for result...
INFO OTA successful
INFO Successfully uploaded program.
INFO Starting log output from 192.168.128.99 using esphome API
INFO Successfully connected to feather-bme280 @ 192.168.128.99 in 5.162s
INFO Successful handshake with feather-bme280 @ 192.168.128.99 in 0.079s
[14:05:11][I][app:100]: ESPHome version 2024.12.2 compiled on Dec 21 2024, 14:02:37
[14:05:11][C][wifi:600]: WiFi:
[14:05:11][C][wifi:428]: Local MAC:
[14:05:11][C][wifi:433]: SSID: [redacted]
[14:05:11][C][wifi:436]: IP Address: 192.168.x.x
[14:05:11][C][wifi:439]: BSSID: [redacted]
[14:05:11][C][wifi:441]: Hostname: 'feather-bme280'
[14:05:11][C][wifi:443]: Signal strength: -46 dB ▂▄▆█
[14:05:11][C][wifi:447]: Channel: 10
[14:05:11][C][wifi:448]: Subnet: 255.255.255.0
[14:05:11][C][wifi:449]: Gateway: 192.168.x.1
[14:05:11][C][wifi:450]: DNS1: 192.168.x.1
[14:05:11][C][wifi:451]: DNS2: 0.0.0.0
[14:05:11][C][logger:185]: Logger:
[14:05:11][C][logger:186]: Level: DEBUG
[14:05:11][C][logger:188]: Log Baud Rate: 115200
[14:05:11][C][logger:189]: Hardware UART: USB_CDC
[14:05:11][C][switch.gpio:068]: GPIO Switch 'power_on'
[14:05:11][C][switch.gpio:090]: Restore Mode: always ON
[14:05:11][C][switch.gpio:031]: Pin: GPIO7
[14:05:11][C][switch.gpio:068]: GPIO Switch 'LED'
[14:05:11][C][switch.gpio:090]: Restore Mode: always OFF
[14:05:11][C][switch.gpio:031]: Pin: GPIO13
[14:05:11][C][uptime.sensor:033]: Uptime Sensor 'up'
[14:05:11][C][uptime.sensor:033]: Device Class: 'duration'
[14:05:11][C][uptime.sensor:033]: State Class: 'total_increasing'
[14:05:11][C][uptime.sensor:033]: Unit of Measurement: 's'
[14:05:11][C][uptime.sensor:033]: Accuracy Decimals: 0
[14:05:11][C][uptime.sensor:033]: Icon: 'mdi:timer-outline'
[14:05:11][C][uptime.sensor:034]: Type: Seconds
[14:05:11][C][i2c.idf:075]: I2C Bus:
[14:05:11][C][i2c.idf:076]: SDA Pin: GPIO3
[14:05:11][C][i2c.idf:077]: SCL Pin: GPIO4
[14:05:11][C][i2c.idf:078]: Frequency: 200000 Hz
[14:05:11][C][i2c.idf:084]: Recovery: bus successfully recovered
[14:05:11][I][i2c.idf:094]: Results from i2c bus scan:
[14:05:11][I][i2c.idf:100]: Found i2c device at address 0x36
[14:05:11][I][i2c.idf:100]: Found i2c device at address 0x77
[14:05:11][C][bme280_i2c.sensor:025]: Address: 0x77
[14:05:11][C][bme280.sensor:182]: BME280:
[14:05:11][C][bme280.sensor:194]: IIR Filter: OFF
[14:05:11][C][bme280.sensor:195]: Update Interval: 60.0s
[14:05:11][C][bme280.sensor:197]: Temperature 'BME280 Temperature'
[14:05:11][C][bme280.sensor:197]: Device Class: 'temperature'
[14:05:11][C][bme280.sensor:197]: State Class: 'measurement'
[14:05:11][C][bme280.sensor:197]: Unit of Measurement: '°C'
[14:05:11][C][bme280.sensor:197]: Accuracy Decimals: 1
[14:05:11][C][bme280.sensor:198]: Oversampling: 16x
[14:05:11][C][bme280.sensor:199]: Pressure 'BME280 Pressure'
[14:05:11][C][bme280.sensor:199]: Device Class: 'pressure'
[14:05:11][C][bme280.sensor:199]: State Class: 'measurement'
[14:05:11][C][bme280.sensor:199]: Unit of Measurement: 'hPa'
[14:05:11][C][bme280.sensor:199]: Accuracy Decimals: 1
[14:05:11][C][bme280.sensor:200]: Oversampling: 16x
[14:05:11][C][bme280.sensor:201]: Humidity 'BME280 Humidity'
[14:05:11][C][bme280.sensor:201]: Device Class: 'humidity'
[14:05:11][C][bme280.sensor:201]: State Class: 'measurement'
[14:05:11][C][bme280.sensor:201]: Unit of Measurement: '%'
[14:05:11][C][bme280.sensor:201]: Accuracy Decimals: 1
[14:05:11][C][bme280.sensor:202]: Oversampling: 16x
[14:05:11][C][captive_portal:089]: Captive Portal:
[14:05:11][D][sensor:093]: 'up': Sending state 7.24300 s with 0 decimals of accuracy
[14:05:11][C][mdns:116]: mDNS:
[14:05:11][C][mdns:117]: Hostname: feather-bme280
[14:05:11][C][esphome.ota:073]: Over-The-Air updates:
[14:05:11][C][esphome.ota:074]: Address: feather-bme280.local:3232
[14:05:11][C][esphome.ota:075]: Version: 2
[14:05:11][C][esphome.ota:078]: Password configured
[14:05:11][C][safe_mode:018]: Safe Mode:
[14:05:11][C][safe_mode:019]: Boot considered successful after 60 seconds
[14:05:11][C][safe_mode:021]: Invoke after 10 boot attempts
[14:05:11][C][safe_mode:022]: Remain in safe mode for 300 seconds
[14:05:11][C][api:140]: API Server:
[14:05:11][C][api:141]: Address: feather-bme280.local:6053
[14:05:11][C][api:143]: Using noise encryption: YES
[14:05:11][D][api:103]: Accepted 192.168.128.81
[14:05:11][D][api.connection:1446]: Home Assistant 2024.12.5 (192.168.128.81): Connected successfully
[14:05:21][D][sensor:093]: 'up': Sending state 17.24400 s with 0 decimals of accuracy
[14:05:31][D][sensor:093]: 'up': Sending state 27.24600 s with 0 decimals of accuracy
[14:05:41][D][sensor:093]: 'up': Sending state 37.24600 s with 0 decimals of accuracy