esphome / issues

Issue Tracker for ESPHome
https://esphome.io/
291 stars 36 forks source link

Setting up BME280 awkward #3843

Open swifty99 opened 1 year ago

swifty99 commented 1 year ago

The problem

Using the BME280 through I2C multiplexing is working. However there is probably something wrong with the setup sequence. While logging through serial the log gets spammed with:

...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
...

I cannot see an issue in the library itself, however multiplexing code might do something strange

Which version of ESPHome has the issue?

2022.9.4

What type of installation are you using?

Home Assistant Add-on

Which version of Home Assistant has the issue?

2022.11.3

What platform are you using?

ESP8266

Board

wemos D1

Component causing the issue

TCA9548A

Example YAML snippet

i2c:
  sda: D2
  scl: D1
  scan: true
  id: i2c_a

tca9548a:
  - address: 0x70
    id: multiplex0
    i2c_id: i2c_a
    channels:
      - bus_id: multiplex0channel0
        channel: 0
      - bus_id: multiplex0channel1
        channel: 1
      - bus_id: multiplex0channel2
        channel: 2

sensor:
  - platform: bme280
    address: 0x76
    i2c_id: multiplex0channel1
    update_interval: 1990ms  

    temperature:
      name: "bme mux1"
      filters:
        - or: 
          - delta: 0.2
          - throttle: 120sec

  - platform: bme280
    address: 0x76
    i2c_id: multiplex0channel2

    update_interval: 1990ms  

    temperature:
      name: "bme mux2"
      filters:
        - or: 
          - delta: 0.2
          - throttle: 120sec

Anything in the logs that might be useful for us?

No response

Additional information

the full serial trace:


rl l�r$�n�l�b|���rb�b�nnlnnbbp�$blrlp�n�l�bn�n��b��nn'l�l`�nn$`nr���nrr�`p�nr�bbn�nb��nn'l`�nn$`nr���nrl`r��nrl`����l`��n�`[I][logger:243]: Log initialized
[C][ota:465]: There have been 1 suspected unsuccessful boot attempts.
[I][app:029]: Running through setup()...
[I][i2c.arduino:161]: Performing I2C bus recovery
[C][tca9548a:023]: Setting up TCA9548A...
[D][tca9548a:030]: Channels currently open: 4
[C][ina3221:025]: Setting up INA3221...
[C][bme280.sensor:086]: Setting up BME280...
[E][component:112]: Component bme280.sensor was marked as failed.
[C][bme280.sensor:086]: Setting up BME280...
[C][wifi:037]: Setting up WiFi...
[D][wifi:384]: Starting scan...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[D][wifi:399]: Found networks:
[I][wifi:442]: - 'Bit_Pumpe' (78:8A:20:DA:9D:4E) [redacted]▂▄▆█
[D][wifi:444]:     Channel: 11
[D][wifi:445]:     RSSI: -59 dB
[I][wifi:442]: - 'Bit_Pumpe' (18:E8:29:E7:B6:45) [redacted]▂▄▆█
[D][wifi:444]:     Channel: 6
[D][wifi:445]:     RSSI: -71 dB
[D][wifi:447]: - 'Bit4Iot'[redacted] (7E:8A:20:DA:9D:4E) [redacted]▂▄▆█
[D][wifi:447]: - 'Bit4Me'[redacted] (82:8A:20:DA:9D:4E) [redacted]▂▄▆█
[D][wifi:447]: - ''[redacted] (2A:E8:29:E7:B6:45) [redacted]▂▄▆█
[D][wifi:447]: - ''[redacted] (86:8A:20:DA:9D:4E) [redacted]▂▄▆█
[D][wifi:447]: - 'Bit4Me'[redacted] (22:E8:29:E7:B6:45) [redacted]▂▄▆█
[D][wifi:447]: - 'Bit4Guest'[redacted] (26:E8:29:E7:B6:45) [redacted]▂▄▆█
[D][wifi:447]: - 'Suses_Netz_K3'[redacted] (7C:FF:4D:5E:AB:D4) [redacted]▂▄▆█
[D][wifi:447]: - 'Bit4Iot'[redacted] (1E:E8:29:E7:B6:45) [redacted]▂▄▆█
[D][wifi:447]: - 'MagentaWLAN-547M'[redacted] (C8:99:B2:1F:BE:0E) [redacted]▂▄▆█
[D][wifi:447]: - 'Vodafone Homespot'[redacted] (EE:A9:40:7F:88:B2) [redacted]▂▄▆█
[D][wifi:447]: - 'Vodafone-3A92'[redacted] (EC:A9:40:7F:88:F2) [redacted]▂▄▆█
[D][wifi:447]: - 'Vodafone Hotspot'[redacted] (EE:A9:40:7F:88:92) [redacted]▂▄▆█
[D][wifi:447]: - 'WLAN-EV73BZ'[redacted] (CC:A2:23:29:02:CF) [redacted]▂▄▆█
[D][wifi:447]: - 'DIRECT-JT-55PUS9109/12'[redacted] (5E:93:A2:99:75:27) [redacted]▂▄▆█
[D][wifi:447]: - ''[redacted] (FA:8F:CA:9C:62:85) [redacted]▂▄▆█
[D][wifi:447]: - 'mwLAN'[redacted] (F0:B0:14:1A:6B:C8) [redacted]▂▄▆█
[D][wifi:447]: - 'Vodafone-8014'[redacted] (A8:F5:DD:D4:B9:B7) [redacted]▂▄▆█
[I][wifi:255]: WiFi Connecting to 'Bit_Pumpe'...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[C][bme280.sensor:086]: Setting up BME280...
[I][wifi:516]: WiFi Connected!
[C][wifi:360]:   Local MAC: C8:C9:A3:5E:0F:B8
[C][wifi:361]:   SSID: 'Bit_Pumpe'[redacted]
[C][wifi:362]:   IP Address: 192.168.178.242
[C][wifi:363]:   BSSID: 78:8A:20:DA:9D:4E[redacted]
[C][wifi:365]:   Hostname: 'bad-infrarotheizung'
[C][wifi:367]:   Signal strength: -63 dB ▂▄▆█
[C][wifi:371]:   Channel: 11
[C][wifi:372]:   Subnet: 255.255.255.0
[C][wifi:373]:   Gateway: 192.168.178.1
[C][wifi:374]:   DNS1: 0.0.0.0
[C][wifi:375]:   DNS2: 0.0.0.0
[D][wifi:525]: Disabling AP...
[C][bme280.sensor:086]: Setting up BME280...
[C][ota:089]: Over-The-Air Updates:
[C][ota:090]:   Address: 192.168.178.242:8266
[C][ota:093]:   Using Password.
[C][api:025]: Setting up Home Assistant API server...
[I][app:062]: setup() finished successfully!
[D][sensor:126]: 'bad-infrarotheizung_WiFi_Signal': Sending state -65.00000 dBm with 0 decimals of accuracy
[D][sensor:126]: 'bad-infrarotheizung_WiFi_Signal': Sending state -65.00000 dBm with 0 decimals of accuracy
[I][app:102]: ESPHome version 2022.9.4 compiled on Nov 27 2022, 18:59:06
[C][wifi:502]: WiFi:
[C][wifi:360]:   Local MAC: C8:C9:A3:5E:0F:B8
[C][wifi:361]:   SSID: 'Bit_Pumpe'[redacted]
[C][wifi:362]:   IP Address: 192.168.178.242
[C][wifi:363]:   BSSID: 78:8A:20:DA:9D:4E[redacted]
[C][wifi:365]:   Hostname: 'bad-infrarotheizung'
[C][wifi:367]:   Signal strength: -66 dB ▂▄▆█
[C][wifi:371]:   Channel: 11
[C][wifi:372]:   Subnet: 255.255.255.0
[C][wifi:373]:   Gateway: 192.168.178.1
[C][wifi:374]:   DNS1: 0.0.0.0
[C][wifi:375]:   DNS2: 0.0.0.0
[C][logger:275]: Logger:
[C][logger:276]:   Level: DEBUG
[C][logger:277]:   Log Baud Rate: 115200
[C][logger:278]:   Hardware UART: UART0
[C][i2c.arduino:038]: I2C Bus:
[C][i2c.arduino:039]:   SDA Pin: GPIO4
[C][i2c.arduino:040]:   SCL Pin: GPIO5
[C][i2c.arduino:041]:   Frequency: 50000 Hz
[C][i2c.arduino:044]:   Recovery: bus successfully recovered
[I][i2c.arduino:054]: Results from i2c bus scan:
[I][i2c.arduino:060]: Found i2c device at address 0x70
[I][i2c.arduino:060]: Found i2c device at address 0x76
[D][sensor:126]: 'bme mux2': Sending state 21.24000 °C with 1 decimals of accuracy
[D][sensor:126]: 'bme mux2': Sending state 21.24000 °C with 1 decimals of accuracy
[C][tca9548a:033]: TCA9548A:
[C][tca9548a:034]:   Address: 0x70
[C][ina3221:060]: INA3221:
[C][ina3221:061]:   Address: 0x40
[C][ina3221:065]:   Update Interval: 0.5s
[C][ina3221:077]:   Current #3 'channel 3 currten'
[C][ina3221:077]:     Device Class: 'current'
[C][ina3221:077]:     State Class: 'measurement'
[C][ina3221:077]:     Unit of Measurement: 'A'
[C][ina3221:077]:     Accuracy Decimals: 2
[C][bme280.sensor:174]: BME280:
[C][bme280.sensor:175]:   Address: 0x76
[E][bme280.sensor:178]: Communication with BME280 failed!
[C][bme280.sensor:187]:   IIR Filter: OFF
[C][bme280.sensor:188]:   Update Interval: 2.0s
[C][bme280.sensor:190]:   Temperature 'bme mux1'
[C][bme280.sensor:190]:     Device Class: 'temperature'
[C][bme280.sensor:190]:     State Class: 'measurement'
[C][bme280.sensor:190]:     Unit of Measurement: '°C'
[C][bme280.sensor:190]:     Accuracy Decimals: 1
[C][bme280.sensor:191]:     Oversampling: 16x
[C][bme280.sensor:193]:     Oversampling: 16x
[C][bme280.sensor:195]:     Oversampling: 16x
[C][bme280.sensor:174]: BME280:
[C][bme280.sensor:175]:   Address: 0x76
[C][bme280.sensor:187]:   IIR Filter: OFF
[C][bme280.sensor:188]:   Update Interval: 2.0s
[C][bme280.sensor:190]:   Temperature 'bme mux2'
[C][bme280.sensor:190]:     Device Class: 'temperature'
[C][bme280.sensor:190]:     State Class: 'measurement'
[C][bme280.sensor:190]:     Unit of Measurement: '°C'
[C][bme280.sensor:190]:     Accuracy Decimals: 1
[C][bme280.sensor:191]:     Oversampling: 16x
[C][bme280.sensor:193]:     Oversampling: 16x
[C][bme280.sensor:195]:     Oversampling: 16x
swifty99 commented 1 year ago

just an update, this not related to multiplexing. bare ESP8266 node exhibits the same behaviour:

Hard resetting via RTS pin...
INFO Successfully uploaded program.
INFO Starting log output from /dev/ttyUSB0 with baud rate 115200
[15:24:37]\xf2nn'l`\x90nn$`nr\x8e\x92\x92nrl`r\x92\x92nrl`\x9c\x8c$bl`\xfc\x82n\x92`[I][logger:258]: Log initialized
[15:24:37][C][ota:469]: There have been 1 suspected unsuccessful boot attempts.
[15:24:37][I][app:029]: Running through setup()...
[15:24:37][I][i2c.arduino:175]: Performing I2C bus recovery
[15:24:37][D][text_sensor:067]: 'zz-test-i2s Mac Wifi Address': Sending state 'C8:C9:A3:5E:0F:B8'
[15:24:37][C][bme280.sensor:086]: Setting up BME280...
[15:24:37][C][wifi:037]: Setting up WiFi...
[15:24:37][C][wifi:038]:   Local MAC: C8:C9:A3:5E:0F:B8
[15:24:37][D][wifi:386]: Starting scan...
[15:24:37][D][sensor:126]: 'zz-test-i2s_Uptime': Sending state 0.00000 Tage with 0 decimals of accuracy
[15:24:37][C][bme280.sensor:086]: Setting up BME280...
[15:24:37][C][bme280.sensor:086]: Setting up BME280...
[15:24:37][C][bme280.sensor:086]: Setting up BME280...
[15:24:37][C][bme280.sensor:086]: Setting up BME280...
[15:24:37][C][bme280.sensor:086]: Setting up BME280...
[15:24:37][C][bme280.sensor:086]: Setting up BME280...
[15:24:37][C][bme280.sensor:086]: Setting up BME280...
[15:24:37][C][bme280.sensor:086]: Setting up BME280...
[15:24:37][C][bme280.sensor:086]: Setting up BME280...
[15:24:37][C][bme280.sensor:086]: Setting up BME280...
[15:24:37][C][bme280.sensor:086]: Setting up BME280...
[15:24:37][C][bme280.sensor:086]: Setting up BME280...
[15:24:37][C][bme280.sensor:086]: Setting up BME280...
[15:24:38][C][bme280.sensor:086]: Setting up BME280...
[15:24:38][C][bme280.sensor:086]: Setting up BME280...
[15:24:38][C][bme280.sensor:086]: Setting up BME280...
[15:24:38][C][bme280.sensor:086]: Setting up BME280...
[15:24:38][C][bme280.sensor:086]: Setting up BME280...
[15:24:38][C][bme280.sensor:086]: Setting up BME280...
[15:24:38][C][bme280.sensor:086]: Setting up BME280...
[15:24:38][C][bme280.sensor:086]: Setting up BME280...
[15:24:38][C][bme280.sensor:086]: Setting up BME280...
[15:24:38][C][bme280.sensor:086]: Setting up BME280...
[15:24:38][C][bme280.sensor:086]: Setting up BME280...
[15:24:38][C][bme280.sensor:086]: Setting up BME280...
[15:24:38][C][bme280.sensor:086]: Setting up BME280...
[15:24:38][C][bme280.sensor:086]: Setting up BME280...
[15:24:38][C][bme280.sensor:086]: Setting up BME280...
[15:24:38][C][bme280.sensor:086]: Setting up BME280...
[15:24:38][C][bme280.sensor:086]: Setting up BME280...
[15:24:38][C][bme280.sensor:086]: Setting up BME280...
[15:24:38][C][bme280.sensor:086]: Setting up BME280...
[15:24:38][C][bme280.sensor:086]: Setting up BME280...
[15:24:38][C][bme280.sensor:086]: Setting up BME280...
[15:24:38][C][bme280.sensor:086]: Setting up BME280...
[15:24:38][C][bme280.sensor:086]: Setting up BME280...
[15:24:38][C][bme280.sensor:086]: Setting up BME280...
[15:24:38][C][bme280.sensor:086]: Setting up BME280...
[15:24:38][C][bme280.sensor:086]: Setting up BME280...
[15:24:38][C][bme280.sensor:086]: Setting up BME280...
[15:24:39][C][bme280.sensor:086]: Setting up BME280...
[15:24:39][C][bme280.sensor:086]: Setting up BME280...
[15:24:39][C][bme280.sensor:086]: Setting up BME280...
[15:24:39][C][bme280.sensor:086]: Setting up BME280...
[15:24:39][C][bme280.sensor:086]: Setting up BME280...
[15:24:39][C][bme280.sensor:086]: Setting up BME280...
[15:24:39][C][bme280.sensor:086]: Setting up BME280...
[15:24:39][C][bme280.sensor:086]: Setting up BME280...
[15:24:39][C][bme280.sensor:086]: Setting up BME280...
[15:24:39][C][bme280.sensor:086]: Setting up BME280...
[15:24:39][C][bme280.sensor:086]: Setting up BME280...
[15:24:39][C][bme280.sensor:086]: Setting up BME280...
[15:24:39][C][bme280.sensor:086]: Setting up BME280...
[15:24:39][C][bme280.sensor:086]: Setting up BME280...
[15:24:39][C][bme280.sensor:086]: Setting up BME280...
[15:24:39][C][bme280.sensor:086]: Setting up BME280...
[15:24:39][C][bme280.sensor:086]: Setting up BME280...
[15:24:39][C][bme280.sensor:086]: Setting up BME280...
[15:24:39][C][bme280.sensor:086]: Setting up BME280...
[15:24:39][C][bme280.sensor:086]: Setting up BME280...
[15:24:39][C][bme280.sensor:086]: Setting up BME280...
[15:24:39][C][bme280.sensor:086]: Setting up BME280...
[15:24:39][C][bme280.sensor:086]: Setting up BME280...
[15:24:39][C][bme280.sensor:086]: Setting up BME280...
[15:24:39][C][bme280.sensor:086]: Setting up BME280...
[15:24:39][C][bme280.sensor:086]: Setting up BME280...
[15:24:39][C][bme280.sensor:086]: Setting up BME280...
[15:24:40][C][bme280.sensor:086]: Setting up BME280...
[15:24:40][C][bme280.sensor:086]: Setting up BME280...
[15:24:40][C][bme280.sensor:086]: Setting up BME280...
[15:24:40][C][bme280.sensor:086]: Setting up BME280...
[15:24:40][C][bme280.sensor:086]: Setting up BME280...
[15:24:40][C][bme280.sensor:086]: Setting up BME280...
[15:24:40][C][bme280.sensor:086]: Setting up BME280...
[15:24:40][C][bme280.sensor:086]: Setting up BME280...
[15:24:40][C][bme280.sensor:086]: Setting up BME280...
[15:24:40][C][bme280.sensor:086]: Setting up BME280...
[15:24:40][C][bme280.sensor:086]: Setting up BME280...
[15:24:40][C][bme280.sensor:086]: Setting up BME280...
[15:24:40][C][bme280.sensor:086]: Setting up BME280...
[15:24:40][C][bme280.sensor:086]: Setting up BME280...
[15:24:40][C][bme280.sensor:086]: Setting up BME280...
[15:24:40][C][bme280.sensor:086]: Setting up BME280...
[15:24:40][C][bme280.sensor:086]: Setting up BME280...
[15:24:40][C][bme280.sensor:086]: Setting up BME280...
[15:24:40][C][bme280.sensor:086]: Setting up BME280...
[15:24:40][C][bme280.sensor:086]: Setting up BME280...
[15:24:40][C][bme280.sensor:086]: Setting up BME280...
[15:24:40][C][bme280.sensor:086]: Setting up BME280...
[15:24:40][C][bme280.sensor:086]: Setting up BME280...
[15:24:40][C][bme280.sensor:086]: Setting up BME280...
[15:24:40][C][bme280.sensor:086]: Setting up BME280...
[15:24:40][C][bme280.sensor:086]: Setting up BME280...
[15:24:40][C][bme280.sensor:086]: Setting up BME280...
[15:24:41][C][bme280.sensor:086]: Setting up BME280...
[15:24:41][C][bme280.sensor:086]: Setting up BME280...
[15:24:41][C][bme280.sensor:086]: Setting up BME280...
[15:24:41][C][bme280.sensor:086]: Setting up BME280...
[15:24:41][C][bme280.sensor:086]: Setting up BME280...
[15:24:41][C][bme280.sensor:086]: Setting up BME280...
[15:24:41][C][bme280.sensor:086]: Setting up BME280...
[15:24:41][C][bme280.sensor:086]: Setting up BME280...
[15:24:41][C][bme280.sensor:086]: Setting up BME280...
[15:24:41][C][bme280.sensor:086]: Setting up BME280...
[15:24:41][C][bme280.sensor:086]: Setting up BME280...
[15:24:41][C][bme280.sensor:086]: Setting up BME280...
[15:24:41][C][bme280.sensor:086]: Setting up BME280...
[15:24:41][C][bme280.sensor:086]: Setting up BME280...
[15:24:41][C][bme280.sensor:086]: Setting up BME280...
[15:24:41][C][bme280.sensor:086]: Setting up BME280...
[15:24:41][C][bme280.sensor:086]: Setting up BME280...
[15:24:41][C][bme280.sensor:086]: Setting up BME280...
[15:24:41][C][bme280.sensor:086]: Setting up BME280...
[15:24:41][C][bme280.sensor:086]: Setting up BME280...
[15:24:41][C][bme280.sensor:086]: Setting up BME280...
[15:24:41][C][bme280.sensor:086]: Setting up BME280...
[15:24:41][C][bme280.sensor:086]: Setting up BME280...
[15:24:41][C][bme280.sensor:086]: Setting up BME280...
[15:24:41][C][bme280.sensor:086]: Setting up BME280...
[15:24:41][C][bme280.sensor:086]: Setting up BME280...
[15:24:41][C][bme280.sensor:086]: Setting up BME280...
[15:24:42][C][bme280.sensor:086]: Setting up BME280...
[15:24:42][C][bme280.sensor:086]: Setting up BME280...
[15:24:42][C][bme280.sensor:086]: Setting up BME280...
[15:24:42][C][bme280.sensor:086]: Setting up BME280...
[15:24:42][C][bme280.sensor:086]: Setting up BME280...
[15:24:42][C][bme280.sensor:086]: Setting up BME280...
[15:24:42][C][bme280.sensor:086]: Setting up BME280...
[15:24:42][C][bme280.sensor:086]: Setting up BME280...
[15:24:42][C][bme280.sensor:086]: Setting up BME280...
[15:24:42][C][bme280.sensor:086]: Setting up BME280...
[15:24:42][C][bme280.sensor:086]: Setting up BME280...
[15:24:42][C][bme280.sensor:086]: Setting up BME280...
[15:24:42][C][bme280.sensor:086]: Setting up BME280...
[15:24:42][C][bme280.sensor:086]: Setting up BME280...
[15:24:42][C][bme280.sensor:086]: Setting up BME280...
[15:24:42][C][bme280.sensor:086]: Setting up BME280...
[15:24:42][C][bme280.sensor:086]: Setting up BME280...
[15:24:42][C][bme280.sensor:086]: Setting up BME280...
[15:24:42][C][bme280.sensor:086]: Setting up BME280...
[15:24:42][C][bme280.sensor:086]: Setting up BME280...
[15:24:42][C][bme280.sensor:086]: Setting up BME280...
[15:24:42][C][bme280.sensor:086]: Setting up BME280...
[15:24:42][C][bme280.sensor:086]: Setting up BME280...
[15:24:42][C][bme280.sensor:086]: Setting up BME280...
[15:24:42][C][bme280.sensor:086]: Setting up BME280...
[15:24:42][C][bme280.sensor:086]: Setting up BME280...
[15:24:42][C][bme280.sensor:086]: Setting up BME280...
[15:24:43][C][bme280.sensor:086]: Setting up BME280...
[15:24:43][C][bme280.sensor:086]: Setting up BME280...
[15:24:43][C][bme280.sensor:086]: Setting up BME280...
[15:24:43][C][bme280.sensor:086]: Setting up BME280...
[15:24:43][C][bme280.sensor:086]: Setting up BME280...
[15:24:43][C][bme280.sensor:086]: Setting up BME280...
[15:24:43][C][bme280.sensor:086]: Setting up BME280...
[15:24:43][C][bme280.sensor:086]: Setting up BME280...
[15:24:43][C][bme280.sensor:086]: Setting up BME280...
[15:24:43][C][bme280.sensor:086]: Setting up BME280...
[15:24:43][C][bme280.sensor:086]: Setting up BME280...
[15:24:43][C][bme280.sensor:086]: Setting up BME280...
[15:24:43][C][bme280.sensor:086]: Setting up BME280...
[15:24:43][C][bme280.sensor:086]: Setting up BME280...
[15:24:43][C][bme280.sensor:086]: Setting up BME280...
[15:24:43][C][bme280.sensor:086]: Setting up BME280...
[15:24:43][C][bme280.sensor:086]: Setting up BME280...
[15:24:43][D][wifi:401]: Found networks:
[15:24:43][I][wifi:444]: - 'Bit_Pumpe' [redacted]▂▄▆█
[15:24:43][D][wifi:446]:     Channel: 6
[15:24:43][D][wifi:447]:     RSSI: -44 dB
[15:24:43][I][wifi:444]: - 'Bit_Pumpe' [redacted]▂▄▆█
[15:24:43][D][wifi:446]:     Channel: 11
[15:24:43][D][wifi:447]:     RSSI: -82 dB
[15:24:43][D][wifi:449]: - [redacted] [redacted]▂▄▆█
[15:24:43][D][wifi:449]: - [redacted] [redacted]▂▄▆█
[15:24:43][D][wifi:449]: - [redacted] [redacted]▂▄▆█
[15:24:43][D][wifi:449]: - [redacted] [redacted]▂▄▆█
[15:24:43][D][wifi:449]: - [redacted] [redacted]▂▄▆█
[15:24:43][D][wifi:449]: - [redacted] [redacted]▂▄▆█
[15:24:43][D][wifi:449]: - [redacted] [redacted]▂▄▆█
[15:24:43][D][wifi:449]: - [redacted] [redacted]▂▄▆█
[15:24:43][D][wifi:449]: - [redacted] [redacted]▂▄▆█
[15:24:43][D][wifi:449]: - [redacted] [redacted]▂▄▆█
[15:24:43][D][wifi:449]: - [redacted] [redacted]▂▄▆█
[15:24:43][D][wifi:449]: - [redacted] [redacted]▂▄▆█
[15:24:43][D][wifi:449]: - [redacted] [redacted]▂▄▆█
[15:24:43][D][wifi:449]: - [redacted] [redacted]▂▄▆█
[15:24:43][D][wifi:449]: - [redacted] [redacted]▂▄▆█
[15:24:43][D][wifi:449]: - [redacted] [redacted]▂▄▆█
[15:24:43][D][wifi:449]: - [redacted] [redacted]▂▄▆█
[15:24:43][I][wifi:257]: WiFi Connecting to 'Bit_Pumpe'...
[15:24:43][C][bme280.sensor:086]: Setting up BME280...
[15:24:43][C][bme280.sensor:086]: Setting up BME280...
[15:24:43][C][bme280.sensor:086]: Setting up BME280...
[15:24:43][C][bme280.sensor:086]: Setting up BME280...
[15:24:43][C][bme280.sensor:086]: Setting up BME280...
[15:24:44][C][bme280.sensor:086]: Setting up BME280...
[15:24:44][C][bme280.sensor:086]: Setting up BME280...
[15:24:44][C][bme280.sensor:086]: Setting up BME280...
[15:24:44][C][bme280.sensor:086]: Setting up BME280...
[15:24:44][C][bme280.sensor:086]: Setting up BME280...
[15:24:44][C][bme280.sensor:086]: Setting up BME280...
[15:24:45][C][bme280.sensor:086]: Setting up BME280...
[15:24:45][C][bme280.sensor:086]: Setting up BME280...
[15:24:45][C][bme280.sensor:086]: Setting up BME280...
[15:24:45][C][bme280.sensor:086]: Setting up BME280...
[15:24:45][I][wifi:518]: WiFi Connected!
[15:24:45][C][wifi:362]:   Local MAC: C8:C9:A3:5E:0F:B8
[15:24:45][C][wifi:363]:   SSID: [redacted]
[15:24:45][C][wifi:364]:   IP Address: 192.168.178.112
[15:24:45][C][wifi:365]:   BSSID: [redacted]
[15:24:45][C][wifi:367]:   Hostname: 'zz-test-i2s'
[15:24:45][C][wifi:369]:   Signal strength: -50 dB ▂▄▆█
[15:24:45][C][wifi:373]:   Channel: 6
[15:24:45][C][wifi:374]:   Subnet: 255.255.255.0
[15:24:45][C][wifi:375]:   Gateway: 192.168.178.1
[15:24:45][C][wifi:376]:   DNS1: 0.0.0.0
[15:24:45][C][wifi:377]:   DNS2: 0.0.0.0
[15:24:45][D][wifi:527]: Disabling AP...
[15:24:45][C][bme280.sensor:086]: Setting up BME280...
[15:24:45][C][ota:093]: Over-The-Air Updates:
[15:24:45][C][ota:094]:   Address: 192.168.178.112:8266
[15:24:45][C][api:025]: Setting up Home Assistant API server...
[15:24:45][I][app:062]: setup() finished successfully!
[15:24:45][D][sensor:126]: 'zz-test-i2s_WiFi_Signal': Sending state -50.00000 dBm with 0 decimals of accuracy
[15:24:45][D][sensor:126]: 'zz-test-i2s_WiFi_Signal': Sending state -50.00000 dBm with 0 decimals of accuracy
[15:24:45][D][text_sensor:067]: 'IP Address zz-test-i2s': Sending state '192.168.178.112'
[15:24:45][D][text_sensor:067]: 'zz-test-i2s Connected BSSID': Sending state '18:E8:29:E7:B6:45'
[15:24:45][D][text_sensor:067]: 'zz-test-i2s Connected SSID': Sending state 'Bit_Pumpe'
[15:24:45][I][app:102]: ESPHome version 2022.12.3 compiled on Jan  1 2023, 15:22:03
[15:24:45][C][wifi:504]: WiFi:
[15:24:45][C][wifi:362]:   Local MAC: C8:C9:A3:5E:0F:B8
[15:24:45][C][wifi:363]:   SSID: [redacted]
[15:24:45][C][wifi:364]:   IP Address: 192.168.178.112
[15:24:45][C][wifi:365]:   BSSID: [redacted]
[15:24:45][C][wifi:367]:   Hostname: 'zz-test-i2s'
[15:24:45][C][wifi:369]:   Signal strength: -50 dB ▂▄▆█
[15:24:45][C][wifi:373]:   Channel: 6
[15:24:45][C][wifi:374]:   Subnet: 255.255.255.0
[15:24:45][C][wifi:375]:   Gateway: 192.168.178.1
[15:24:45][C][wifi:376]:   DNS1: 0.0.0.0
[15:24:45][C][wifi:377]:   DNS2: 0.0.0.0
[15:24:45][D][sensor:126]: 'zz-test-i2s Druck': Sending state 979.97656 hPa with 3 decimals of accuracy
[15:24:45][C][logger:293]: Logger:
[15:24:45][C][logger:294]:   Level: DEBUG
[15:24:45][C][logger:295]:   Log Baud Rate: 115200
[15:24:45][C][logger:296]:   Hardware UART: UART0
[15:24:45][C][logger:298]:   Level for 'adc': ERROR
[15:24:45][C][i2c.arduino:052]: I2C Bus:
[15:24:45][C][i2c.arduino:053]:   SDA Pin: GPIO4
[15:24:45][C][i2c.arduino:054]:   SCL Pin: GPIO5
[15:24:45][C][i2c.arduino:055]:   Frequency: 50000 Hz
[15:24:45][C][i2c.arduino:058]:   Recovery: bus successfully recovered
[15:24:45][I][i2c.arduino:068]: Results from i2c bus scan:
[15:24:45][I][i2c.arduino:074]: Found i2c device at address 0x76
[15:24:45][C][uptime.sensor:031]: Uptime Sensor 'zz-test-i2s_Uptime'
[15:24:45][C][uptime.sensor:031]:   Device Class: 'duration'
[15:24:45][C][uptime.sensor:031]:   State Class: 'total_increasing'
[15:24:45][C][uptime.sensor:031]:   Unit of Measurement: 'Tage'
[15:24:45][C][uptime.sensor:031]:   Accuracy Decimals: 0
[15:24:45][C][uptime.sensor:031]:   Icon: 'mdi:timer-outline'
[15:24:45][C][wifi_info:013]: WifiInfo Mac Address 'zz-test-i2s Mac Wifi Address'
[15:24:45][C][bme280.sensor:174]: BME280:
[15:24:45][C][bme280.sensor:175]:   Address: 0x76
[15:24:45][C][bme280.sensor:187]:   IIR Filter: OFF
[15:24:45][C][bme280.sensor:188]:   Update Interval: 1.0s
[15:24:45][C][bme280.sensor:190]:   Temperature 'zz-test-i2s Temperatur'
[15:24:45][C][bme280.sensor:190]:     Device Class: 'temperature'
[15:24:45][C][bme280.sensor:190]:     State Class: 'measurement'
[15:24:45][C][bme280.sensor:190]:     Unit of Measurement: '°C'
[15:24:45][C][bme280.sensor:190]:     Accuracy Decimals: 1
[15:24:45][C][bme280.sensor:191]:     Oversampling: 4x
[15:24:45][C][bme280.sensor:192]:   Pressure 'zz-test-i2s Druck'
[15:24:45][C][bme280.sensor:192]:     Device Class: 'pressure'
[15:24:45][C][bme280.sensor:192]:     State Class: 'measurement'
[15:24:45][C][bme280.sensor:192]:     Unit of Measurement: 'hPa'
[15:24:45][C][bme280.sensor:192]:     Accuracy Decimals: 3
[15:24:45][C][bme280.sensor:193]:     Oversampling: 4x
[15:24:45][C][bme280.sensor:194]:   Humidity 'zz-test-i2s Feuchtigkeit'
[15:24:45][C][bme280.sensor:194]:     Device Class: 'humidity'
[15:24:45][C][bme280.sensor:194]:     State Class: 'measurement'
[15:24:45][C][bme280.sensor:194]:     Unit of Measurement: '%'
[15:24:45][C][bme280.sensor:194]:     Accuracy Decimals: 1
[15:24:45][C][bme280.sensor:195]:     Oversampling: 4x
[15:24:45][C][captive_portal:088]: Captive Portal:
[15:24:45][C][mdns:103]: mDNS:
[15:24:45][C][mdns:104]:   Hostname: zz-test-i2s
[15:24:45][C][ota:093]: Over-The-Air Updates:
[15:24:45][C][ota:094]:   Address: 192.168.178.112:8266
[15:24:45][C][api:138]: API Server:
[15:24:45][C][api:139]:   Address: 192.168.178.112:6053
[15:24:45][C][api:143]:   Using noise encryption: NO
[15:24:45][C][wifi_info:009]: WifiInfo IPAddress 'IP Address zz-test-i2s'
[15:24:45][C][wifi_info:011]: WifiInfo SSID 'zz-test-i2s Connected SSID'
[15:24:45][C][wifi_info:012]: WifiInfo BSSID 'zz-test-i2s Connected BSSID'
[15:24:45][C][wifi_signal.sensor:009]: WiFi Signal 'zz-test-i2s_WiFi_Signal'
[15:24:45][C][wifi_signal.sensor:009]:   Device Class: 'signal_strength'
[15:24:45][C][wifi_signal.sensor:009]:   State Class: 'measurement'
[15:24:45][C][wifi_signal.sensor:009]:   Unit of Measurement: 'dBm'
[15:24:45][C][wifi_signal.sensor:009]:   Accuracy Decimals: 0
[15:26:46][D][sensor:126]: 'zz-test-i2s Temperatur': Sending state 18.68000 °C with 1 decimals of accuracy
[15:26:46][D][sensor:126]: 'zz-test-i2s Feuchtigkeit': Sending state 54.32520 % with 1 decimals of accuracy
rix84 commented 1 year ago

Any idea about that ? I have the same behavior now (without multiplexing) but I have two devices on the same I2C. Can be related ??? At least looks like the sensor is working fine. Thanks

karolkrzempek commented 1 year ago

Hi! Did you find a solution to this problem? I am having the same issues with my ESP + BME280. TY.

rix84 commented 1 year ago

Hi, Look like the problem disappear by himself with an ESPHome Update or because I change something. Sorry I don't have more info. (At least it's not a blocking issue, sensor is working fine)