BME280 communication failed

This happened to me, and from another post I changed the address from x77 to x76 and now it shows the data

Well, a box of sensors that I previously considered useless are suddenly not, so, that’s good.

1 Like

Interesting… according to BME280 PCB pictures there are 4 resistors onboard, so there should be 10k pullup (down?) resistor already there for all 4 inputs (SCL SDA, CSB,SDO)… So, i guess either it’s missing or is 10k too high value…?

I feel like the issue is probably more to do with the quality of the resistors themselves. If a big enough batch were manufactured with this issue, I can totally see a scenario where someone pushed them through a website or wherever, in order to avoid the hit. That might look like a weird anomaly where some people have to connect to 5v to make it work, but no one cares because the fix does, in fact, work.

I have zero evidence to support this theory.

Hi there,

It seems like others have encountered the same problem — it appears that our friends in China have mislabeled the BMP280 as a BME280. I had some in stock and, upon inspecting the sensor, I assumed it was the ‘E’ variant. However, after reviewing my order history, I realized I had actually ordered the ‘P’ version.

I found an image online to easily check which version you have.

2 Likes

It happened to me once, too… I did make a complain to a seller, but i didn’t request money back, since price was BMP’s, not BME’s, so i assumed from beginning that it’s a mistake. I just tried my luck.
The problem is that Chinese people don’t mark text at back side, which says: BME/P280 (and has two squares for marking a model).
But so far i never received BME in above shape. Such a shape was always BMP i my purchases. BME’s are somewhat bigger.
Also: red text for BMP is wrong: BMP has temperature AND pressure, It just lacks humidity. Basically, you can’t measure pressure without temperature, since it’s needed for proper calculation. Thus, an error on ESPHome’s web page for relative pressure - temperature is included in a formula, but it shouldn’t be, since BMP/E already sends correct absolute pressure (temp is already taken into account). I did write back then and warned about it, but nothing happened…

1 Like

I have the right side one (BMP 280), was giving similar errors " Communication with BMP280 failed!". I have tried all the possibilities. Using new cables, changing the SDA and SCL connections, changing the address from 0x76 to 0x77. etc.

Below given code finally working on esp8266 D1 mini.

  1. The code mentioned by imbehind. I could see there is a mention of i2c_id: bus_a. I didn’t try removing that to confirm whether that’s optional but logically its calling the i2c from the sensor section.
  2. Connecting CSB to 3v via dupoint cable.
  3. Re-soldering the headers (I have received the BMP280 unit and the headers separate). There might be some cold joints though it was looking neat concave filling.

Below given is working fine for me. I could confirm the temperature reported is similar to Sonoff Zigbee based Temperature sensor readings.

i2c:
  sda: D2
  scl: D1
  scan: True
  id: bus_a

sensor:
  - platform: bmp280
    i2c_id: bus_a
    temperature:
      name: "BMP280 Temperature"
      id: bmp280_temperature
      oversampling: 16x
      filters:
      - offset: -1.6
    pressure:
      name: "BMP280 Pressure"
      id: bmp280_pressure
      oversampling: 16x
      filters:
      - offset: 14.3
    address: 0x76
    update_interval: 60s

Below given is the log I have received while the unit was booting.

[19:37:56][C][i2c.arduino:054]:   SDA Pin: GPIO4
[19:37:56][C][i2c.arduino:055]:   SCL Pin: GPIO5
[19:37:56][C][i2c.arduino:056]:   Frequency: 50000 Hz
[19:37:56][C][i2c.arduino:059]:   Recovery: bus successfully recovered
[19:37:56][I][i2c.arduino:069]: Results from i2c bus scan:
[19:37:56][I][i2c.arduino:075]: Found i2c device at address 0x76
[19:37:56][C][bmp280.sensor:124]: BMP280:
[19:37:56][C][bmp280.sensor:125]:   Address: 0x76
[19:37:56][C][bmp280.sensor:137]:   IIR Filter: OFF
[19:37:56][C][bmp280.sensor:138]:   Update Interval: 60.0s
[19:37:56][C][bmp280.sensor:140]:   Temperature 'BMP280 Temperature'
[19:37:56][C][bmp280.sensor:140]:     Device Class: 'temperature'
[19:37:56][C][bmp280.sensor:140]:     State Class: 'measurement'
[19:37:56][C][bmp280.sensor:140]:     Unit of Measurement: '°C'
[19:37:56][C][bmp280.sensor:140]:     Accuracy Decimals: 1
[19:37:56][C][bmp280.sensor:141]:     Oversampling: 16x

[19:38:27][D][bmp280.sensor:175]: Got temperature=27.0°C pressure=919.9hPa
[19:38:27][D][sensor:093]: 'BMP280 Temperature': Sending state 25.41000 °C with 1 decimals of accuracy
[19:38:27][D][sensor:093]: 'BMP280 Pressure': Sending state 934.16571 hPa with 1 decimals of accuracy

I had this same problem with the 4 pin version. Check out how to make sure you got the right BME280. I wanted the Temp/Pressure/humidity but looks like I got the BMP280 sent to me.

I changed the code to only show temp and pressure and it worked. The issue however is that I wanted humidity as well.

In ESPHOME, there has been a change I saw. I tried to change the node with the BME280 on it and it would no longer compile, took me a while till I found the reason for this.

Used to be; - platform: bme280
but that has changed to →

  - platform: bmp280_i2c

Maybe and hopefully it helps knowing that you can also add the suffix “spi” for the other way to connect a bme280 depending on your situation.

3 Likes

My 1st time post. I think I attached the .yaml file, and pasted part of the log…

I recently did the update ESPHome 2024.2.0 a few days ago to my outside sensor.
I’m using a ESP8266 D1 mini. It had worked flawlessly for months.
My It wouldn’t compile until I got the _i2c added (bme_i2c).
It compiles but I get an errors with the i2c scan telling me -
Recovery: failed, SDA is held low on the bus
I tried to change the platform to bmp280_i2c as you suggested but won’t compile saying -
Platform not found: ‘sensor.bmp280_i2c’.
Any help appreciated!

[07:49:46][C][i2c.arduino:053]: I2C Bus:
[07:49:46][C][i2c.arduino:054]: SDA Pin: GPIO4
[07:49:46][C][i2c.arduino:055]: SCL Pin: GPIO5
[07:49:46][C][i2c.arduino:056]: Frequency: 50000 Hz
[07:49:46][C][i2c.arduino:065]: Recovery: failed, SDA is held low on the bus
[07:49:46][I][i2c.arduino:069]: Results from i2c bus scan:
[07:49:46][E][i2c.arduino:077]: Unknown error at address 0x08
[07:49:46][E][i2c.arduino:077]: Unknown error at address 0x09
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x0A
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x0B
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x0C
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x0D
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x0E
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x0F
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x10
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x11
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x12
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x13
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x14
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x15
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x16
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x17
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x18
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x19
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x1A
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x1B
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x1C
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x1D
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x1E
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x1F
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x20
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x21
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x22
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x23
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x24
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x25
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x26
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x27
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x28
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x29
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x2A
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x2B
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x2C
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x2D
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x2E
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x2F
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x30
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x31
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x32
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x33
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x34
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x35
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x36
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x37
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x38
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x39
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x3A
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x3B
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x3C
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x3D
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x3E
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x3F
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x40
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x41
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x42
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x43
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x44
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x45
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x46
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x47
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x48
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x49
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x4A
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x4B
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x4C
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x4D
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x4E
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x4F
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x50
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x51
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x52
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x53
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x54
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x55
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x56
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x57
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x58
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x59
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x5A
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x5B
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x5C
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x5D
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x5E
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x5F
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x60
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x61
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x62
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x63
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x64
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x65
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x66
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x67
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x68
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x69
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x6A
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x6B
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x6C
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x6D
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x6E
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x6F
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x70
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x71
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x72
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x73
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x74
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x75
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x76
[07:49:47][E][i2c.arduino:077]: Unknown error at address 0x77
[07:49:47][C][bme280_i2c.sensor:025]: Address: 0x76
[07:49:47][C][bme280.sensor:182]: BME280:
[07:49:47][E][bme280.sensor:185]: Communication with BME280 failed!
[07:49:47][C][bme280.sensor:194]: IIR Filter: OFF
[07:49:47][C][bme280.sensor:195]: Update Interval: 10.0s
[07:49:47][C][bme280.sensor:197]: Temperature ‘Temp’
[07:49:47][C][bme280.sensor:197]: Device Class: ‘temperature’
[07:49:47][C][bme280.sensor:197]: State Class: ‘measurement’
[07:49:47][C][bme280.sensor:197]: Unit of Measurement: ‘°C’
[07:49:47][C][bme280.sensor:197]: Accuracy Decimals: 1
[07:49:47][C][bme280.sensor:198]: Oversampling: 16x
[07:49:47][C][bme280.sensor:199]: Pressure ‘Pressure’
[07:49:47][C][bme280.sensor:199]: Device Class: ‘pressure’
[07:49:47][C][bme280.sensor:199]: State Class: ‘measurement’
[07:49:47][C][bme280.sensor:199]: Unit of Measurement: ‘hPa’
[07:49:47][C][bme280.sensor:199]: Accuracy Decimals: 1
[07:49:47][C][bme280.sensor:200]: Oversampling: 16x
[07:49:47][C][bme280.sensor:201]: Humidity ‘Humidity’
[07:49:47][C][bme280.sensor:201]: Device Class: ‘humidity’
[07:49:47][C][bme280.sensor:201]: State Class: ‘measurement’
[07:49:47][C][bme280.sensor:201]: Unit of Measurement: ‘%’
[07:49:47][C][bme280.sensor:201]: Accuracy Decimals: 1
[07:49:47][C][bme280.sensor:202]: Oversampling: 16x
[07:49:47][C][captive_portal:088]: Captive Portal:

Use Clean Build Files and recompile.
This works for me on the latest ESPHome

i2c:
  sda: D2
  scl: D1
  scan: true
  id: bus_a
  
sensor:
  - platform: bme280_i2c
    temperature:
      name: "Teplota 1"
      id: teplota_1
      oversampling: 1x
    pressure:
      name: "Tlak 1"
      id: tlak_1
      filters:
        - calibrate_linear:
          # Map 0.0 (from sensor) to 0.0 (true value)
            - 0.0 -> 0.0
            - 972.4 -> 1017.4
    humidity:
      name: "Vlhkost 1"
      id: vlhkost_1
    address: 0x76
    update_interval: 60s

here is a snippet of my code:

i2c:
  sda: GPIO1
  scl: GPIO3
  scan: true
  id: bus_a

sensor:
  - platform: bme280_i2c
    i2c_id: bus_a
    address: 0x76
    temperature:
      name: "${dev_name}_Temperature"
      id: bme280_temperature
      oversampling: 16x
    pressure:
      name: "${dev_name}_Pressure"
      id: bme280_pressure
      oversampling: 16x
    humidity:
      name: "${dev_name}_Humidity"
      id: bme280_humidity
      oversampling: 16x
    update_interval: 120s

Thanks for the reply!
My original setup that was working, it had my esp8266 board as a esp01_1m.
Therefore just using 4 and 5 for the pins worked as shown here.
i2c:
sda: 4
scl: 5
scan: true
id: bus_a

Your code used D2 and D1, and it wouldn’t compile.
I changed the board to a d1_mini (which it probably should have been) and it compiled fine but still the same error.

Since my outdoor monitor is deployed, I setup another d1 mini on the bench and added a BME280 module and ina260 power monitor module that is also i2c. I2c worked and showed the ina260 data no problem. It says “BME280 has wrong chip ID! Is it a BME280”?
Strange things going on way above my head…

Below is my epshome config file and log file.
Config file******************************
esphome:
name: bmetest
friendly_name: BMETest

esp8266:
board: d1_mini

Enable logging

logger:

Enable Home Assistant API

api:
encryption:
key: “sqr8Ss+WbaYRDe9mPJTlLPT5uxQlYZ91cytGMM1KZKg=”

ota:
password: “72cc2be022c7ed570ef18262a3181a49”

wifi:
manual_ip:
# Set this to the IP of the ESP
static_ip: 192.168.1.31
# Set this to the IP address of the router. Often ends with .1
gateway: 192.168.1.1
# The subnet of the network. 255.255.255.0 works for most home networks.
subnet: 255.255.255.0
ssid: !secret wifi_ssid
password: !secret wifi_password

Enable fallback hotspot (captive portal) in case wifi connection fails

ap:
ssid: “Bmetest Fallback Hotspot”
password: “FvcACJUgA1Kk”
i2c:
sda: D2
scl: D1
scan: true
id: bus_a

sensor:

  • platform: bme280_i2c
    address: 0x76
    temperature:
    name: “Temp1”
    id: OutDoor_Temp1
    oversampling: 16x
    pressure:
    name: “Pressure1”
    id: OutDoor_Pressure1
    humidity:
    name: “Humidity1”
    id: OutDoor_Humidity1
    update_interval: 10s

  • platform: ina260
    address: 0x40
    current:
    name: “Current”
    power:
    name: “Power”
    bus_voltage:
    name: “Voltage”
    update_interval: 3s

captive_portal:

Log output********************************

INFO ESPHome 2024.2.0
INFO Reading configuration /config/esphome/bmetest.yaml…
INFO Generating C++ source…
INFO Compiling app…
Processing bmetest (board: d1_mini; framework: arduino; platform: platformio/[email protected])

HARDWARE: ESP8266 80MHz, 80KB RAM, 4MB Flash
Dependency Graph
|-- ESPAsyncTCP-esphome @ 2.0.0
|-- ESPAsyncWebServer-esphome @ 3.1.0
|-- DNSServer @ 1.1.1
|-- ESP8266WiFi @ 1.0
|-- ESP8266mDNS @ 1.2
|-- noise-c @ 0.1.4
|-- Wire @ 1.0
Compiling .pioenvs/bmetest/src/main.cpp.o
Linking .pioenvs/bmetest/firmware.elf
RAM: [==== ] 42.4% (used 34732 bytes from 81920 bytes)
Flash: [===== ] 48.1% (used 502293 bytes from 1044464 bytes)
Building .pioenvs/bmetest/firmware.bin
esp8266_copy_factory_bin([“.pioenvs/bmetest/firmware.bin”], [“.pioenvs/bmetest/firmware.elf”])
========================= [SUCCESS] Took 16.86 seconds =========================
INFO Successfully compiled program.
INFO Connecting to 192.168.1.31
INFO Uploading /data/build/bmetest/.pioenvs/bmetest/firmware.bin (506448 bytes)
INFO Compressed to 354766 bytes
Uploading: [============================================================] 100% Done…

INFO Upload took 4.03 seconds, waiting for result…
INFO OTA successful
INFO Successfully uploaded program.
INFO Starting log output from 192.168.1.31 using esphome API
INFO Successfully connected to bmetest @ 192.168.1.31 in 15.491s
INFO Successful handshake with bmetest @ 192.168.1.31 in 2.924s
[11:48:39][I][app:102]: ESPHome version 2024.2.0 compiled on Feb 25 2024, 11:48:02
[11:48:39][C][wifi:577]: WiFi:
[11:48:39][C][wifi:409]: Local MAC: 08:F9:E0:63:AC:4A
[11:48:39][C][wifi:414]: SSID: [redacted]
[11:48:39][C][wifi:415]: IP Address: 192.168.1.31
[11:48:39][C][wifi:416]: BSSID: [redacted]
[11:48:39][C][wifi:418]: Hostname: ‘bmetest’
[11:48:39][C][wifi:420]: Signal strength: -53 dB ▂▄▆█
[11:48:39][C][wifi:424]: Channel: 1
[11:48:39][C][wifi:425]: Subnet: 255.255.255.0
[11:48:39][C][wifi:426]: Gateway: 192.168.1.1
[11:48:39][C][wifi:427]: DNS1: 0.0.0.0
[11:48:39][C][wifi:428]: DNS2: 0.0.0.0
[11:48:39][C][logger:447]: Logger:
[11:48:39][C][logger:448]: Level: DEBUG
[11:48:39][C][logger:449]: Log Baud Rate: 115200
[11:48:39][C][logger:451]: Hardware UART: UART0
[11:48:39][C][i2c.arduino:053]: I2C Bus:
[11:48:39][C][i2c.arduino:054]: SDA Pin: GPIO4
[11:48:39][C][i2c.arduino:055]: SCL Pin: GPIO5
[11:48:39][C][i2c.arduino:056]: Frequency: 50000 Hz
[11:48:39][C][i2c.arduino:059]: Recovery: bus successfully recovered
[11:48:39][I][i2c.arduino:069]: Results from i2c bus scan:
[11:48:39][I][i2c.arduino:075]: Found i2c device at address 0x40
[11:48:39][I][i2c.arduino:075]: Found i2c device at address 0x76
[11:48:39][C][bme280_i2c.sensor:025]: Address: 0x76
[11:48:39][C][bme280.sensor:182]: BME280:
[11:48:39][E][bme280.sensor:188]: BME280 has wrong chip ID! Is it a BME280?
[11:48:39][C][bme280.sensor:194]: IIR Filter: OFF
[11:48:39][C][bme280.sensor:195]: Update Interval: 10.0s
[11:48:39][C][bme280.sensor:197]: Temperature ‘Temp1’
[11:48:39][C][bme280.sensor:197]: Device Class: ‘temperature’
[11:48:39][C][bme280.sensor:197]: State Class: ‘measurement’
[11:48:39][C][bme280.sensor:197]: Unit of Measurement: ‘°C’
[11:48:39][C][bme280.sensor:197]: Accuracy Decimals: 1
[11:48:39][C][bme280.sensor:198]: Oversampling: 16x
[11:48:39][C][bme280.sensor:199]: Pressure ‘Pressure1’
[11:48:39][C][bme280.sensor:199]: Device Class: ‘pressure’
[11:48:39][C][bme280.sensor:199]: State Class: ‘measurement’
[11:48:39][C][bme280.sensor:199]: Unit of Measurement: ‘hPa’
[11:48:39][C][bme280.sensor:199]: Accuracy Decimals: 1
[11:48:39][C][bme280.sensor:200]: Oversampling: 16x
[11:48:39][C][bme280.sensor:201]: Humidity ‘Humidity1’
[11:48:39][C][bme280.sensor:201]: Device Class: ‘humidity’
[11:48:39][C][bme280.sensor:201]: State Class: ‘measurement’
[11:48:39][C][bme280.sensor:201]: Unit of Measurement: ‘%’
[11:48:39][C][bme280.sensor:201]: Accuracy Decimals: 1
[11:48:39][C][bme280.sensor:202]: Oversampling: 16x
[11:48:39][C][ina260:066]: INA260:
[11:48:39][C][ina260:067]: Address: 0x40
[11:48:39][C][ina260:068]: Update Interval: 3.0s
[11:48:39][C][ina260:070]: Manufacture ID: 0x5449
[11:48:39][C][ina260:071]: Device ID: 0x2270
[11:48:39][C][ina260:073]: Bus Voltage ‘Voltage’
[11:48:39][C][ina260:073]: Device Class: ‘voltage’
[11:48:39][C][ina260:073]: State Class: ‘measurement’
[11:48:39][C][ina260:073]: Unit of Measurement: ‘V’
[11:48:39][C][ina260:073]: Accuracy Decimals: 2
[11:48:39][C][ina260:074]: Current ‘Current’
[11:48:39][C][ina260:074]: Device Class: ‘current’
[11:48:39][C][ina260:074]: State Class: ‘measurement’
[11:48:39][C][ina260:074]: Unit of Measurement: ‘A’
[11:48:39][C][ina260:074]: Accuracy Decimals: 3
[11:48:39][C][ina260:075]: Power ‘Power’
[11:48:39][C][ina260:075]: Device Class: ‘power’
[11:48:39][C][ina260:075]: State Class: ‘measurement’
[11:48:39][C][ina260:075]: Unit of Measurement: ‘W’
[11:48:39][C][ina260:075]: Accuracy Decimals: 2
[11:48:39][C][captive_portal:088]: Captive Portal:
[11:48:39][C][mdns:115]: mDNS:
[11:48:39][C][mdns:116]: Hostname: bmetest
[11:48:39][C][ota:096]: Over-The-Air Updates:
[11:48:39][C][ota:097]: Address: 192.168.1.31:8266
[11:48:39][C][ota:100]: Using Password.
[11:48:39][C][ota:103]: OTA version: 2.
[11:48:39][C][api:139]: API Server:
[11:48:39][C][api:140]: Address: 192.168.1.31:6053
[11:48:39][C][api:142]: Using noise encryption: YES
[11:48:41][D][sensor:093]: ‘Voltage’: Sending state 0.00000 V with 2 decimals of accuracy
[11:48:41][D][sensor:093]: ‘Current’: Sending state 0.00000 A with 3 decimals of accuracy
[11:48:41][D][sensor:093]: ‘Power’: Sending state 0.00000 W with 2 decimals of accuracy
[11:48:44][D][sensor:093]: ‘Voltage’: Sending state 0.00000 V with 2 decimals of accuracy
[11:48:44][D][sensor:093]: ‘Current’: Sending state -0.00125 A with 3 decimals of accuracy
[11:48:44][D][sensor:093]: ‘Power’: Sending state 0.00000 W with 2 decimals of accuracy
[11:48:47][D][sensor:093]: ‘Voltage’: Sending state 0.00125 V with 2 decimals of accuracy
[11:48:47][D][sensor:093]: ‘Current’: Sending state -0.00125 A with 3 decimals of accuracy
[11:48:47][D][sensor:093]: ‘Power’: Sending state 0.00000 W with 2 decimals of accuracy
[11:48:50][D][sensor:093]: ‘Voltage’: Sending state 0.00000 V with 2 decimals of accuracy
[11:48:50][D][sensor:093]: ‘Current’: Sending state 0.00000 A with 3 decimals of accuracy
[11:48:50][D][sensor:093]: ‘Power’: Sending state 0.00000 W with 2 decimals of accuracy
[11:48:53][D][sensor:093]: ‘Voltage’: Sending state 0.00125 V with 2 decimals of accuracy
[11:48:53][D][sensor:093]: ‘Current’: Sending state -0.00125 A with 3 decimals of accuracy
[11:48:53][D][sensor:093]: ‘Power’: Sending state 0.00000 W with 2 decimals of accuracy
[11:48:56][D][sensor:093]: ‘Voltage’: Sending state 0.00000 V with 2 decimals of accuracy
[11:48:56][D][sensor:093]: ‘Current’: Sending state 0.00000 A with 3 decimals of accuracy
[11:48:56][D][sensor:093]: ‘Power’: Sending state 0.00000 W with 2 decimals of accuracy
[11:48:59][D][sensor:093]: ‘Voltage’: Sending state 0.00000 V with 2 decimals of accuracy
[11:48:59][D][sensor:093]: ‘Current’: Sending state -0.00125 A with 3 decimals of accuracy

And it can not be a BMP280 by accident?

I had to use those GPIO’s for those were the only ones left in this device.

Thanks
They are definitely BME280’s. I HAVE made that mistake;-)
I did some more work and found that for me it seems to be eps8266 related.
The update 2024.0.0 that started the problem works just fine with esp32 boards.
Both an esp32dev and an esp32-c3-devkitm-1 took the update and run a BME280 no problem.
Also update 2024.0.1 came out yesterday, but it didn’t help my problem.

In my last test that I posted the log, I did not run it long enough to see an error in reading the BME280. Here is the line: Probably kind of important…

[16:47:11][W][bme280.sensor:228]: Error reading registers.

The BME280’s are from Aliexpress and have been flawless for a long time…

BTW
Do you know if this is the best place to discuss this problem so that the issuers of the updates are aware?

Thanks again for your help!

Just updated my Home assistant to:
Core 2024.2.5
Supervisor 2024.02.0
Operating System 12.0
ESPhome Firmware: 2024.2.1
I then re-installed config file to my esp8266 d1_mini by Espressif and it began reading the BME280 again…finally :wink:

Way above my head, but thankfully NOT above many others!

Thanks to ALL!
Bill_H

Hi there,

I have the same problem and I can’t get it working… :frowning:

My Home Assistant is up to date

  • Core 2024.7.2
  • Supervisor 2024.06.2
  • Operating System 12.4
  • Frontend 20240710.0

My ESPHome is up to date
Current version: 2024.7.0

My hardware:
I am using an ESP-32 (Dev Kit C NodeMCU) and a BME280 as well as a DS18B20.

My goal:
I would like to measure the room temperature and humidity and determine the dew point from this. The DS18B20 is used to determine the flow temperature (cooling function).

This is my esp config file

esphome:
  name: esphome-dg-hk-n
  friendly_name: esphome_dg_hk-n

esp32:
  board: esp32dev
  framework:
    type: arduino

# Enable logging
logger:

# Enable Home Assistant API
api:
  encryption:
    key: ""

ota:
  - platform: esphome
    password: ""

wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password

  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "Esphome-Dg-Hk-N Fallback Hotspot"
    password: ""

captive_portal:


one_wire:
  - platform: gpio
    pin: GPIO14


i2c:
  sda: GPIO21
  scl: GPIO22
  scan: true
  id: bus_a


sensor:
  - platform: bme280_i2c
    i2c_id: bus_a
    address: 0x76
    temperature:
      name: "BME280 Temperature"
      id: "bme280_temperature"
      oversampling: 16x
    pressure:
      name: "BME280 Pressure"
      id: "bme280_pressure"
      oversampling: 16x
    humidity:
      name: "BME280 Humidity"
      id: "bme280_humidity"
      oversampling: 16x
    update_interval: 10s
  - platform: dallas_temp
    address: 0xd1accdf91d64ff28
    name: temperature
    update_interval: 60s

And I get these errors…

Leaving...
Hard resetting via RTS pin...
INFO Successfully uploaded program.
INFO Starting log output from /dev/ttyUSB0 with baud rate 115200
[13:13:36]PI_FAST_FLASH_BOOT)
[13:13:36]configsip: 0, SPIWP:0xee
[13:13:36]clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
[13:13:36]mode:DIO, clock div:2
[13:13:36]load:0x3fff0030,len:1184
[13:13:36]load:0x40078000,len:13132
[13:13:36]load:0x40080400,len:3036
[13:13:36]entry 0x400805e4
[13:13:36][I][logger:156]: Log initialized
[13:13:36][C][safe_mode:079]: There have been 0 suspected unsuccessful boot attempts
[13:13:36][D][esp32.preferences:114]: Saving 1 preferences to flash...
[13:13:36][D][esp32.preferences:143]: Saving 1 preferences to flash: 0 cached, 1 written, 0 failed
[13:13:36][I][app:029]: Running through setup()...
[13:13:36][I][i2c.arduino:218]: Performing I2C bus recovery
[13:13:40][C][gpio.one_wire:011]: Setting up 1-wire bus...
[13:13:40][C][bme280.sensor:091]: Setting up BME280...
[13:13:40][E][component:119]: Component bme280_base was marked as failed.
[13:13:40][E][component:164]: Component bme280_base set Error flag: unspecified
[13:13:40][C][dallas.temp.sensor:081]: setting up Dallas temperature sensor...
[13:13:40][C][wifi:047]: Setting up WiFi...
[13:13:40][C][wifi:060]: Starting WiFi...
[13:13:40][C][wifi:061]:   Local MAC: D4:8A:FC:5F:DA:54
[13:13:40][D][wifi:481]: Starting scan...
[13:13:40][W][component:157]: Component wifi set Warning flag: scanning for networks
[13:13:41][D][dallas.temp.sensor:054]: 'temperature': Got Temperature=21.1°C
[13:13:41][D][sensor:094]: 'temperature': Sending state 21.12500 °C with 1 decimals of accuracy
[13:13:46][D][wifi:496]: Found networks:
[13:13:46][I][wifi:540]: - 'UnifiZims' [redacted]▂▄▆█
[13:13:46][D][wifi:541]:     Channel: 1
[13:13:46][D][wifi:542]:     RSSI: -69 dB
[13:13:46][I][wifi:540]: - 'UnifiZims' [redacted]▂▄▆█
[13:13:46][D][wifi:541]:     Channel: 11
[13:13:46][D][wifi:542]:     RSSI: -82 dB
[13:13:46][D][wifi:545]: - [redacted] [redacted]▂▄▆█
[13:13:46][D][wifi:545]: - [redacted] [redacted]▂▄▆█
[13:13:46][D][wifi:545]: - [redacted] [redacted]▂▄▆█
[13:13:46][D][wifi:545]: - [redacted] [redacted]▂▄▆█
[13:13:46][D][wifi:545]: - [redacted] [redacted]▂▄▆█
[13:13:46][D][wifi:545]: - [redacted] [redacted]▂▄▆█
[13:13:46][I][wifi:312]: WiFi Connecting to 'UnifiZims'...
[13:13:47][I][wifi:616]: WiFi Connected!
[13:13:47][C][wifi:427]:   Local MAC: D4:8A:FC:5F:DA:54
[13:13:47][C][wifi:432]:   SSID: [redacted]
[13:13:47][C][wifi:435]:   IP Address: 192.168.10.159
[13:13:47][C][wifi:439]:   BSSID: [redacted]
[13:13:47][C][wifi:440]:   Hostname: 'esphome-dg-hk-n'
[13:13:47][C][wifi:442]:   Signal strength: -71 dB ▂▄▆█
[13:13:47][C][wifi:446]:   Channel: 1
[13:13:47][C][wifi:447]:   Subnet: 255.255.255.0
[13:13:47][C][wifi:448]:   Gateway: 192.168.10.1
[13:13:47][C][wifi:449]:   DNS1: 192.168.10.1
[13:13:47][C][wifi:450]:   DNS2: 0.0.0.0
[13:13:47][D][wifi:625]: Disabling AP...
[13:13:47][C][api:025]: Setting up Home Assistant API server...
[13:13:47][I][app:062]: setup() finished successfully!
[13:13:47][W][component:170]: Component wifi cleared Warning flag
[13:13:47][W][component:157]: Component api set Warning flag: unspecified
[13:13:47][I][app:100]: ESPHome version 2024.7.0 compiled on Jul 17 2024, 13:13:04
[13:13:47][C][wifi:599]: WiFi:
[13:13:47][C][wifi:427]:   Local MAC: D4:8A:FC:5F:DA:54
[13:13:47][C][wifi:432]:   SSID: [redacted]
[13:13:47][C][wifi:435]:   IP Address: 192.168.10.159
[13:13:47][C][wifi:439]:   BSSID: [redacted]
[13:13:47][C][wifi:440]:   Hostname: 'esphome-dg-hk-n'
[13:13:47][C][wifi:442]:   Signal strength: -71 dB ▂▄▆█
[13:13:47][C][wifi:446]:   Channel: 1
[13:13:47][C][wifi:447]:   Subnet: 255.255.255.0
[13:13:47][C][wifi:448]:   Gateway: 192.168.10.1
[13:13:47][C][wifi:449]:   DNS1: 192.168.10.1
[13:13:47][C][wifi:450]:   DNS2: 0.0.0.0
[13:13:47][C][logger:185]: Logger:
[13:13:47][C][logger:186]:   Level: DEBUG
[13:13:47][C][logger:188]:   Log Baud Rate: 115200
[13:13:47][C][logger:189]:   Hardware UART: UART0
[13:13:47][C][i2c.arduino:071]: I2C Bus:
[13:13:47][C][i2c.arduino:072]:   SDA Pin: GPIO21
[13:13:47][C][i2c.arduino:073]:   SCL Pin: GPIO22
[13:13:47][C][i2c.arduino:074]:   Frequency: 50000 Hz
[13:13:47][C][i2c.arduino:086]:   Recovery: bus successfully recovered
[13:13:47][I][i2c.arduino:096]: Results from i2c bus scan:
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x08
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x09
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x0A
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x0B
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x0C
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x0D
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x0E
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x0F
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x10
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x11
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x12
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x13
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x14
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x15
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x16
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x17
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x18
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x19
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x1A
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x1B
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x1C
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x1D
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x1E
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x1F
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x20
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x21
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x22
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x23
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x24
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x25
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x26
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x27
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x28
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x29
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x2A
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x2B
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x2C
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x2D
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x2E
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x2F
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x30
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x31
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x32
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x33
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x34
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x35
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x36
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x37
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x38
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x39
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x3A
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x3B
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x3C
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x3D
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x3E
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x3F
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x40
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x41
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x42
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x43
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x44
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x45
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x46
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x47
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x48
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x49
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x4A
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x4B
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x4C
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x4D
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x4E
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x4F
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x50
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x51
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x52
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x53
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x54
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x55
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x56
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x57
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x58
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x59
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x5A
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x5B
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x5C
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x5D
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x5E
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x5F
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x60
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x61
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x62
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x63
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x64
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x65
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x66
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x67
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x68
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x69
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x6A
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x6B
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x6C
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x6D
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x6E
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x6F
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x70
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x71
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x72
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x73
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x74
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x75
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x76
[13:13:47][E][i2c.arduino:104]: Unknown error at address 0x77
[13:13:47][D][api:102]: Accepted 192.168.10.171
[13:13:47][W][component:170]: Component api cleared Warning flag
[13:13:47][W][component:237]: Component api took a long time for an operation (51 ms).
[13:13:47][W][component:238]: Components should block for at most 30 ms.
[13:13:47][C][gpio.one_wire:020]: GPIO 1-wire bus:
[13:13:47][C][gpio.one_wire:021]:   Pin: GPIO14
[13:13:47][C][gpio.one_wire:080]:   Found devices:
[13:13:47][C][gpio.one_wire:082]:     0xd1accdf91d64ff28 (DS18B20)
[13:13:47][D][api.connection:1375]: Home Assistant 2024.7.2 (192.168.10.171): Connected successfully
[13:13:47][C][bme280_i2c.sensor:025]:   Address: 0x76
[13:13:47][C][bme280.sensor:182]: BME280:
[13:13:47][E][bme280.sensor:185]: Communication with BME280 failed!
[13:13:47][C][bme280.sensor:194]:   IIR Filter: OFF
[13:13:47][C][bme280.sensor:195]:   Update Interval: 10.0s
[13:13:47][C][bme280.sensor:197]:   Temperature 'BME280 Temperature'
[13:13:47][C][bme280.sensor:197]:     Device Class: 'temperature'
[13:13:47][C][bme280.sensor:197]:     State Class: 'measurement'
[13:13:47][C][bme280.sensor:197]:     Unit of Measurement: '°C'
[13:13:48][C][bme280.sensor:197]:     Accuracy Decimals: 1
[13:13:48][C][bme280.sensor:198]:     Oversampling: 16x
[13:13:48][C][bme280.sensor:199]:   Pressure 'BME280 Pressure'
[13:13:48][C][bme280.sensor:199]:     Device Class: 'pressure'
[13:13:48][C][bme280.sensor:199]:     State Class: 'measurement'
[13:13:48][C][bme280.sensor:199]:     Unit of Measurement: 'hPa'
[13:13:48][C][bme280.sensor:199]:     Accuracy Decimals: 1
[13:13:48][C][bme280.sensor:200]:     Oversampling: 16x
[13:13:48][C][bme280.sensor:201]:   Humidity 'BME280 Humidity'
[13:13:48][C][bme280.sensor:201]:     Device Class: 'humidity'
[13:13:48][C][bme280.sensor:201]:     State Class: 'measurement'
[13:13:48][C][bme280.sensor:201]:     Unit of Measurement: '%'
[13:13:48][C][bme280.sensor:201]:     Accuracy Decimals: 1
[13:13:48][C][bme280.sensor:202]:     Oversampling: 16x
[13:13:48][E][component:082]:   Component bme280_base is marked FAILED
[13:13:48][C][dallas.temp.sensor:029]: Dallas Temperature Sensor:
[13:13:48][C][dallas.temp.sensor:034]:   Address: 0xd1accdf91d64ff28 (DS18B20)
[13:13:48][C][dallas.temp.sensor:035]:   Resolution: 12 bits
[13:13:48][C][dallas.temp.sensor:036]:   Update Interval: 60.0s
[13:13:48][C][captive_portal:088]: Captive Portal:
[13:13:48][C][mdns:116]: mDNS:
[13:13:48][C][mdns:117]:   Hostname: esphome-dg-hk-n
[13:13:48][C][esphome.ota:073]: Over-The-Air updates:
[13:13:48][C][esphome.ota:074]:   Address: esphome-dg-hk-n.local:3232
[13:13:48][C][esphome.ota:075]:   Version: 2
[13:13:48][C][esphome.ota:078]:   Password configured
[13:13:48][C][safe_mode:018]: Safe Mode:
[13:13:48][C][safe_mode:020]:   Boot considered successful after 60 seconds
[13:13:48][C][safe_mode:021]:   Invoke after 10 boot attempts
[13:13:48][C][safe_mode:023]:   Remain in safe mode for 300 seconds
[13:13:48][C][api:139]: API Server:
[13:13:48][C][api:140]:   Address: esphome-dg-hk-n.local:6053
[13:13:48][C][api:142]:   Using noise encryption: YES
[13:14:15][D][dallas.temp.sensor:054]: 'temperature': Got Temperature=21.1°C
[13:14:15][D][sensor:094]: 'temperature': Sending state 21.12500 °C with 1 decimals of accuracy
[13:14:36][I][safe_mode:041]: Boot seems successful; resetting boot loop counter
[13:14:36][D][esp32.preferences:114]: Saving 1 preferences to flash...
[13:14:36][D][esp32.preferences:143]: Saving 1 preferences to flash: 0 cached, 1 written, 0 failed
❓

Do any of you have any advice?

I just use platform BMP 280 without the I2C


Hi,

thank you for your advice :+1: I can not install the code without I2C. Are you using BMP or BME?

I have finally found the solution. The jumper cables (I had previously tried different manufacturers) were not sitting correctly. After I soldered the cables on, it finally works.