Skip to content

PR merge conflicts fixes for: feat(sensors): add BSEC2 support for BME680 IAQ and improve altitude correction#2297

Open
eelco2k wants to merge 1 commit intomeshcore-dev:devfrom
eelco2k:clean-heltec-pr
Open

PR merge conflicts fixes for: feat(sensors): add BSEC2 support for BME680 IAQ and improve altitude correction#2297
eelco2k wants to merge 1 commit intomeshcore-dev:devfrom
eelco2k:clean-heltec-pr

Conversation

@eelco2k
Copy link
Copy Markdown

@eelco2k eelco2k commented Apr 12, 2026

PR merge conflicts fixes for #1361

feat(sensors): add BSEC2 support for BME680 IAQ and improve altitude correction

  • Add BSEC2 library integration for BME680 Indoor Air Quality (IAQ) measurements
  • Implement geoidal separation for more accurate altitude corrections
  • Add sensor reading caching to prevent excessive polling of BME680
  • Sync advertised location from preferences to sensors for geoid correction fallback
  • Add board-specific power management support for Heltec V3
  • Enable altitude correction even when GPS doesn't have a fix

This enhances environment sensor capabilities by providing air quality metrics through the BSEC2 library and improves altitude accuracy using proper geoid height corrections. The fallback location mechanism ensures altitude corrections work reliably regardless of GPS fix status.

…anager improvements

- Add variants/heltec_tracker_v1_1/ with platformio.ini, target.cpp, target.h
- EnvironmentSensorManager: add BSEC2 support for BME680 IAQ
- EnvironmentSensorManager: improve GPS altitude with geoidal separation correction
- EnvironmentSensorManager: add chip ID verification for BME/BMP sensor disambiguation
- EnvironmentSensorManager: add PERSISTANT_GPS deferred power-on support (Heltec v3)
- EnvironmentSensorManager: fix unterminated #if ENV_INCLUDE_BME680 in begin()
- EnvironmentSensorManager: fix rtc_clock as param on MicroNMEALocationProvider
- Add BSEC2 IAQ config file for BME680 (3s/4d/3.3V)
- examples/simple_repeater: minor updates
- platformio.ini: add heltec_tracker_v1_1 environment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant