esphome / issues

Issue Tracker for ESPHome
https://esphome.io/
290 stars 34 forks source link

BME680 Reporting the wrong big value for Gas Resistance (and therefore all the other divided parameters ) #4407

Closed tactmaster closed 11 months ago

tactmaster commented 1 year ago

The problem

I have a BME680 on a sense board. https://www.kickstarter.com/projects/nexuselectronics/sense-an-open-source-environment-monitor.

The Gas resistance doesn't change it is always at 12887828.00000. It effects booth the bme680 and bme680_bsec competents

So I have tested the on a raspberry pi with the examples given adafruit lib (non BSEC lib). I have tried with the platform io using this example. It work fine. https://registry.platformio.org/libraries/boschsensortec/BSEC%20Software%20Library/examples/basic/basic.ino It uses BSEC code 1.8.1492.

From looking at the ada fruit code it would appears to be 2 variants of the the BME680

Which version of ESPHome has the issue?

2023.3.2

What type of installation are you using?

Home Assistant Add-on

Which version of Home Assistant has the issue?

2023.4.2

What platform are you using?

ESP32

Board

featheresp32, esp01_1m

Component causing the issue

bme680,bme680_sec

Example YAML snippet

esphome:
  name: sensor2
  friendly_name: sensor2

esp32:
  board: featheresp32
  framework:
    type: arduino

web_server:
  port: 80

i2c:

bme680_bsec:
    address: 0x77

sensor:
  - platform: bme680_bsec
    gas_resistance:
      name: "BME680 Gas Resistance"

Anything in the logs that might be useful for us?

No response

Additional information

I am trying to upgrade the from version BSEC version 1.6.1480 to 1.8.1492. However the structure has changed to the lib a little bit, I am not that experience with ESPHome code but i I would give it a go.

CarlosGS commented 1 year ago

Hi, you have a BME688, that's why the resistance value is different. Search for BME688 in ESPHome's feature requests, I think there is a custom component.

tactmaster commented 1 year ago

Yes you are right. Thanks Here: https://github.com/esphome/feature-requests/issues/2134 https://github.com/esphome/feature-requests/issues/1332

The PR is here https://github.com/esphome/esphome/pull/4585 It seems to work (i compile it from the dev environment and rebased it )

github-actions[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.