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

Allow sample rate overrides for T/P/H sensors #41

Closed trvrnrth closed 3 years ago

trvrnrth commented 3 years ago

This allows for the common request of being able to run the gas-dependant sensors/calculations in ULP mode with more frequent LP temperature/pressure/humidity readings.

In that setup the heater only runs every 5 minutes reducing consumption but still allowing highly reactive T/P/H readings.

Other combinations are also possible but they'll not be so useful.

If no per-sensor overrides are given then they will run at the sample rate configured at platform level.

Also included in this PR are some tidy-ups to: