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

How can the heater be disabled? #38

Closed derekjc closed 3 years ago

derekjc commented 3 years ago

How do I use DISABLE_HEATER defined in constants.py? I'm not using the gas sensor and would like to turn the heater off.

Gadgetoid commented 3 years ago

As of v1.1.1:

bme680.set_gas_heater_status(bme680.GAS_HEAT_DISABLE)
1 == DISABLED
0 == ENABLED