New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BME280 #22
Comments
Hmmm, that's no good :( I will receive my own BME280 in 2-3 weeks and I will try to debug the issue then. In the meantime and if you have time, could you enable |
With a different sensor it works fine. As a reference, the extended log: [C][sensor.bme280:095]: Setting up BME280...
[C][sensor.bme280:096]: Address: 0x76
[VV][i2c:076]: Beginning Transmission to 0x76:
[VV][i2c:109]: Writing 0b11010000 (0xD0)
[VV][i2c:081]: Transmission ended. Status code: 0x00
[VV][i2c:103]: Requesting 1 bytes from 0x76:
[VV][i2c:133]: Received 0b01100000 (0x60)
[VV][i2c:076]: Beginning Transmission to 0x76:
[VV][i2c:109]: Writing 0b10001000 (0x88)
[VV][i2c:081]: Transmission ended. Status code: 0x00
[VV][i2c:103]: Requesting 2 bytes from 0x76:
[VV][i2c:133]: Received 0b01010101 (0x55)
[VV][i2c:133]: Received 0b01101110 (0x6E)
[VV][i2c:076]: Beginning Transmission to 0x76:
[VV][i2c:109]: Writing 0b10001010 (0x8A)
[VV][i2c:081]: Transmission ended. Status code: 0x00
[VV][i2c:103]: Requesting 2 bytes from 0x76:
[VV][i2c:133]: Received 0b11111101 (0xFD)
[VV][i2c:133]: Received 0b01100110 (0x66)
[VV][i2c:076]: Beginning Transmission to 0x76:
[VV][i2c:109]: Writing 0b10001100 (0x8C)
[VV][i2c:081]: Transmission ended. Status code: 0x00
[VV][i2c:103]: Requesting 2 bytes from 0x76:
[VV][i2c:133]: Received 0b00110010 (0x32)
[VV][i2c:133]: Received 0b00000000 (0x00)
[VV][i2c:076]: Beginning Transmission to 0x76:
[VV][i2c:109]: Writing 0b10001110 (0x8E)
[VV][i2c:081]: Transmission ended. Status code: 0x00
[VV][i2c:103]: Requesting 2 bytes from 0x76:
[VV][i2c:133]: Received 0b00000111 (0x07)
[VV][i2c:133]: Received 0b10010001 (0x91)
[VV][i2c:076]: Beginning Transmission to 0x76:
[VV][i2c:109]: Writing 0b10010000 (0x90)
[VV][i2c:081]: Transmission ended. Status code: 0x00
[VV][i2c:103]: Requesting 2 bytes from 0x76:
[VV][i2c:133]: Received 0b00000110 (0x06)
[VV][i2c:133]: Received 0b11010110 (0xD6)
[VV][i2c:076]: Beginning Transmission to 0x76:
[VV][i2c:109]: Writing 0b10010010 (0x92)
[VV][i2c:081]: Transmission ended. Status code: 0x00
[VV][i2c:103]: Requesting 2 bytes from 0x76:
[VV][i2c:133]: Received 0b11010000 (0xD0)
[VV][i2c:133]: Received 0b00001011 (0x0B)
[VV][i2c:076]: Beginning Transmission to 0x76:
[VV][i2c:109]: Writing 0b10010100 (0x94)
[VV][i2c:081]: Transmission ended. Status code: 0x00
[VV][i2c:103]: Requesting 2 bytes from 0x76:
[VV][i2c:133]: Received 0b01100100 (0x64)
[VV][i2c:133]: Received 0b00100011 (0x23)
[VV][i2c:076]: Beginning Transmission to 0x76:
[VV][i2c:109]: Writing 0b10010110 (0x96)
[VV][i2c:081]: Transmission ended. Status code: 0x00
[VV][i2c:103]: Requesting 2 bytes from 0x76:
[VV][i2c:133]: Received 0b11010000 (0xD0)
[VV][i2c:133]: Received 0b11111111 (0xFF)
[VV][i2c:076]: Beginning Transmission to 0x76:
[VV][i2c:109]: Writing 0b10011000 (0x98)
[VV][i2c:081]: Transmission ended. Status code: 0x00
[VV][i2c:103]: Requesting 2 bytes from 0x76:
[VV][i2c:133]: Received 0b11111001 (0xF9)
[VV][i2c:133]: Received 0b11111111 (0xFF)
[VV][i2c:076]: Beginning Transmission to 0x76:
[VV][i2c:109]: Writing 0b10011010 (0x9A)
[VV][i2c:081]: Transmission ended. Status code: 0x00
[VV][i2c:103]: Requesting 2 bytes from 0x76:
[VV][i2c:133]: Received 0b10101100 (0xAC)
[VV][i2c:133]: Received 0b00100110 (0x26)
[VV][i2c:076]: Beginning Transmission to 0x76:
[VV][i2c:109]: Writing 0b10011100 (0x9C)
[VV][i2c:081]: Transmission ended. Status code: 0x00
[VV][i2c:103]: Requesting 2 bytes from 0x76:
[VV][i2c:133]: Received 0b00001010 (0x0A)
[VV][i2c:133]: Received 0b11011000 (0xD8)
[VV][i2c:076]: Beginning Transmission to 0x76:
[VV][i2c:109]: Writing 0b10011110 (0x9E)
[VV][i2c:081]: Transmission ended. Status code: 0x00
[VV][i2c:103]: Requesting 2 bytes from 0x76:
[VV][i2c:133]: Received 0b10111101 (0xBD)
[VV][i2c:133]: Received 0b00010000 (0x10)
[VV][i2c:076]: Beginning Transmission to 0x76:
[VV][i2c:109]: Writing 0b10100001 (0xA1)
[VV][i2c:081]: Transmission ended. Status code: 0x00
[VV][i2c:103]: Requesting 1 bytes from 0x76:
[VV][i2c:133]: Received 0b01001011 (0x4B)
[VV][i2c:076]: Beginning Transmission to 0x76:
[VV][i2c:109]: Writing 0b11100001 (0xE1)
[VV][i2c:081]: Transmission ended. Status code: 0x00
[VV][i2c:103]: Requesting 2 bytes from 0x76:
[VV][i2c:133]: Received 0b01101011 (0x6B)
[VV][i2c:133]: Received 0b00000001 (0x01)
[VV][i2c:076]: Beginning Transmission to 0x76:
[VV][i2c:109]: Writing 0b11100011 (0xE3)
[VV][i2c:081]: Transmission ended. Status code: 0x00
[VV][i2c:103]: Requesting 1 bytes from 0x76:
[VV][i2c:133]: Received 0b00000000 (0x00)
[VV][i2c:076]: Beginning Transmission to 0x76:
[VV][i2c:109]: Writing 0b11100100 (0xE4)
[VV][i2c:081]: Transmission ended. Status code: 0x00
[VV][i2c:103]: Requesting 1 bytes from 0x76:
[VV][i2c:133]: Received 0b00010011 (0x13)
[VV][i2c:076]: Beginning Transmission to 0x76:
[VV][i2c:109]: Writing 0b11100101 (0xE5)
[VV][i2c:081]: Transmission ended. Status code: 0x00
[VV][i2c:103]: Requesting 1 bytes from 0x76:
[VV][i2c:133]: Received 0b00101110 (0x2E)
[VV][i2c:076]: Beginning Transmission to 0x76:
[VV][i2c:109]: Writing 0b11100110 (0xE6)
[VV][i2c:081]: Transmission ended. Status code: 0x00
[VV][i2c:103]: Requesting 1 bytes from 0x76:
[VV][i2c:133]: Received 0b00000011 (0x03)
[VV][i2c:076]: Beginning Transmission to 0x76:
[VV][i2c:109]: Writing 0b11100101 (0xE5)
[VV][i2c:081]: Transmission ended. Status code: 0x00
[VV][i2c:103]: Requesting 1 bytes from 0x76:
[VV][i2c:133]: Received 0b00101110 (0x2E)
[VV][i2c:076]: Beginning Transmission to 0x76:
[VV][i2c:109]: Writing 0b11100111 (0xE7)
[VV][i2c:081]: Transmission ended. Status code: 0x00
[VV][i2c:103]: Requesting 1 bytes from 0x76:
[VV][i2c:133]: Received 0b00011110 (0x1E)
[C][sensor.bme280:126]: Temperature Oversampling: 16x
[C][sensor.bme280:127]: Pressure Oversampling: 16x
[C][sensor.bme280:128]: Humidity Oversampling: 16x
[C][sensor.bme280:129]: IIR Filter: OFF
[VV][i2c:076]: Beginning Transmission to 0x76:
[VV][i2c:109]: Writing 0b11110010 (0xF2)
[VV][i2c:081]: Transmission ended. Status code: 0x00
[VV][i2c:103]: Requesting 1 bytes from 0x76:
[VV][i2c:133]: Received 0b00000000 (0x00)
[VV][i2c:076]: Beginning Transmission to 0x76:
[VV][i2c:109]: Writing 0b11110010 (0xF2)
[VV][i2c:109]: Writing 0b00000101 (0x05)
[VV][i2c:081]: Transmission ended. Status code: 0x00
[VV][i2c:076]: Beginning Transmission to 0x76:
[VV][i2c:109]: Writing 0b11110101 (0xF5)
[VV][i2c:081]: Transmission ended. Status code: 0x00
[VV][i2c:103]: Requesting 1 bytes from 0x76:
[VV][i2c:133]: Received 0b00000000 (0x00)
[VV][i2c:076]: Beginning Transmission to 0x76:
[VV][i2c:109]: Writing 0b11110101 (0xF5)
[VV][i2c:109]: Writing 0b00000000 (0x00)
[VV][i2c:081]: Transmission ended. Status code: 0x00
[C][component:178]: Update interval: 15000ms
[V][component:035]: set_interval(name='update', interval=15000, offset=5022)
[...]
[I][application:065]: Running through first loop()
[I][i2c:051]: Scanning i2c bus for active devices...
[I][i2c:057]: Found i2c device at address 0x76
[VV][component:107]: Running interval '':0 with interval=10000 last_execution=4294958417 (now=5181)
[VV][component:107]: Running interval 'update':0 with interval=15000 last_execution=4294951984 (now=5182)
[V][sensor.bme280:154]: Sending conversion request...
[VV][i2c:076]: Beginning Transmission to 0x76:
[VV][i2c:109]: Writing 0b11110100 (0xF4)
[VV][i2c:109]: Writing 0b10110101 (0xB5)
[VV][i2c:081]: Transmission ended. Status code: 0x00
[V][component:054]: set_timeout(name='data', timeout=113)
[...]
[I][application:076]: First loop finished successfully!
[VV][component:107]: Running timeout 'data':1 with interval=113 last_execution=5225 (now=5415)
[VV][i2c:076]: Beginning Transmission to 0x76:
[VV][i2c:109]: Writing 0b11111010 (0xFA)
[VV][i2c:081]: Transmission ended. Status code: 0x00
[VV][i2c:103]: Requesting 3 bytes from 0x76:
[VV][i2c:133]: Received 0b10000011 (0x83)
[VV][i2c:133]: Received 0b10100011 (0xA3)
[VV][i2c:133]: Received 0b01110000 (0x70)
[VV][i2c:076]: Beginning Transmission to 0x76:
[VV][i2c:109]: Writing 0b11110111 (0xF7)
[VV][i2c:081]: Transmission ended. Status code: 0x00
[VV][i2c:103]: Requesting 3 bytes from 0x76:
[VV][i2c:133]: Received 0b01010010 (0x52)
[VV][i2c:133]: Received 0b11101110 (0xEE)
[VV][i2c:133]: Received 0b10110000 (0xB0)
[VV][i2c:076]: Beginning Transmission to 0x76:
[VV][i2c:109]: Writing 0b11111101 (0xFD)
[VV][i2c:081]: Transmission ended. Status code: 0x00
[VV][i2c:103]: Requesting 2 bytes from 0x76:
[VV][i2c:133]: Received 0b01110011 (0x73)
[VV][i2c:133]: Received 0b01000001 (0x41)
[D][sensor.bme280:177]: Got temperature=27.4°C pressure=952.0hPa humidity=50.7
[V][sensor.sensor:022]: 'Temperature': Received new value 27.430000
[D][sensor.mqtt:038]: 'Temperature': Pushing out value 27.430000 with accuracy 1
[V][mqtt.client:193]: Publish(topic='simple_ambient_sensor/sensor/temperature/state' payload='27.4' retain=1)
[V][sensor.sensor:022]: 'Pressure': Received new value 951.996155
[D][sensor.mqtt:038]: 'Pressure': Pushing out value 951.996155 with accuracy 1
[V][mqtt.client:193]: Publish(topic='simple_ambient_sensor/sensor/pressure/state' payload='952.0' retain=1)
[V][sensor.sensor:022]: 'Humidity': Received new value 50.656250
[D][sensor.mqtt:038]: 'Humidity': Pushing out value 50.656250 with accuracy 1
[V][mqtt.client:193]: Publish(topic='simple_ambient_sensor/sensor/humidity/state' payload='50.7' retain=1)
[VV][component:107]: Running defer '':1 with interval=0 last_execution=0 (now=5618)
[VV][component:107]: Running defer '':2 with interval=0 last_execution=0 (now=5621)
[VV][component:107]: Running defer '':3 with interval=0 last_execution=0 (now=5626)
[VV][component:107]: Running interval '':0 with interval=10000 last_execution=1121 (now=11122)
[VV][component:107]: Running interval 'update':0 with interval=15000 last_execution=4294966984 (now=14692) |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Using a BME280 with the following configuration is not able to retrieve the humidity.
Debug:
Sorry, I have only one of those sensors at hand at the moment.
The text was updated successfully, but these errors were encountered: