pimoroni / bme680-python

Python library for the BME680 gas, temperature, humidity and pressure sensor.
https://shop.pimoroni.com/products/bme680
MIT License
260 stars 93 forks source link

Add support for IAQ, eCO2 and bVOCe #34

Closed R-K-H closed 3 years ago

R-K-H commented 3 years ago

You can see here that through the C library there are available sensor readings from the device.

https://github.com/alexh-name/bsec_bme680_linux

Upon reviewing the patch there seems to be sensor data through the use of the API (most likely proprietary calculations) as provided in https://www.bosch-sensortec.com/media/boschsensortec/downloads/bsec/bsec_1-4-8-0_generic_release.zip in the examples/bsec_iot_example.c

I'm not sure if it is able to be supported in this library by extending the function https://github.com/pimoroni/bme680-python/blob/da98fcacb4181d95ecc053434b4983046b1236df/library/bme680/__init__.py#L258

Thanks!

R-K-H commented 3 years ago

It looks like you need the C library libalgobsec from their driver to access these values (they are calculated from the sensor readings) therefore I'm closing the issue.