trvrnrth / esphome-bsec-bme680

ESPHome component for the Bosch BME680 sensor via BSEC providing temperature, humidity, pressure and indoor air quality measurements.
85 stars 17 forks source link

Remove usage of Bsec helper class #31

Closed trvrnrth closed 3 years ago

trvrnrth commented 3 years ago

This removes usage of the Bosch provided Bsec helper class and instead interfaces more directly with the underlying library. Most importantly this allows removal of the forced delay within the component loop which was causing various problems within the ESPHome ecosystem.

Unfortunately due to the added timing complexities this does mean that I have removed support for reading from multiple sensors as it would take considerable extra effort to appropriately manage the bsec library state.