Skip to content

Feat/add scd30#9609

Merged
thebentern merged 11 commits intomeshtastic:developfrom
fablabbcn:feat/add-scd30
Feb 16, 2026
Merged

Feat/add scd30#9609
thebentern merged 11 commits intomeshtastic:developfrom
fablabbcn:feat/add-scd30

Conversation

@oscgonfer
Copy link
Contributor

Yet another CO2 sensor from Sensirion. Needs meshtastic/protobufs#861

🤝 Attestations

  • I have tested that my proposed changes behave as described.
  • I have tested that my proposed changes do not cause any obvious regressions on the following devices:
    • Seeed Xiao S3

@oscgonfer oscgonfer marked this pull request as draft February 11, 2026 20:42
@github-actions github-actions bot added needs-review Needs human review hardware-support Hardware related: new devices or modules, problems specific to hardware labels Feb 11, 2026
@oscgonfer oscgonfer marked this pull request as ready for review February 12, 2026 14:35
@thebentern thebentern requested a review from Copilot February 12, 2026 14:49
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds support for the Sensirion SCD30 CO₂ sensor to the Air Quality Telemetry pipeline, including I2C auto-detection, integration into the telemetry sensor registry, and build-time dependency wiring.

Changes:

  • Introduce a new SCD30Sensor TelemetrySensor implementation (metrics + admin configuration hooks).
  • Add SCD30 discovery support to I2C scanning and register it in the Air Quality Telemetry module.
  • Add the Sensirion SCD30 PlatformIO library dependency; minor log/flow tweaks in existing Sensirion sensor code.

Reviewed changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
src/modules/Telemetry/Sensor/SEN5XSensor.cpp Adjusts idle/state-save control flow for SEN5X VOC state handling.
src/modules/Telemetry/Sensor/SCD4XSensor.cpp Log message cleanups and minor formatting changes.
src/modules/Telemetry/Sensor/SCD30Sensor.h Declares the new SCD30 telemetry sensor class.
src/modules/Telemetry/Sensor/SCD30Sensor.cpp Implements SCD30 initialization, measurements, and admin-config handlers.
src/modules/Telemetry/AirQualityTelemetry.cpp Wires SCD30 into the air quality sensor scan/add sequence.
src/detect/ScanI2CTwoWire.cpp Adds SCD30 address detection to the I2C scanner.
src/detect/ScanI2C.h Adds SCD30 to the DeviceType enum.
src/configuration.h Defines the SCD30 I2C address constant.
platformio.ini Adds the Sensirion I2C SCD30 library to relevant environments.

@caveman99
Copy link
Member

@oscgonfer i pulled the protobuf into develop. can you have a look at the findings of copilot?

@caveman99 caveman99 added triaged Reviewed by the team, has enough information and ready to work on now. and removed needs-review Needs human review labels Feb 12, 2026
@oscgonfer
Copy link
Contributor Author

@caveman99 all done

@thebentern thebentern merged commit 57268bf into meshtastic:develop Feb 16, 2026
77 checks passed
@thebentern thebentern deleted the feat/add-scd30 branch February 16, 2026 11:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

hardware-support Hardware related: new devices or modules, problems specific to hardware triaged Reviewed by the team, has enough information and ready to work on now.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants