From 583784692c02b996bd89be3d7e9c3d305a67ba0a Mon Sep 17 00:00:00 2001 From: Riley Nielsen Date: Mon, 2 Sep 2024 11:19:52 -0700 Subject: [PATCH 1/2] Add CO2, SCD4X --- meshtastic/telemetry.proto | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/meshtastic/telemetry.proto b/meshtastic/telemetry.proto index d4e80a8..72bb418 100644 --- a/meshtastic/telemetry.proto +++ b/meshtastic/telemetry.proto @@ -128,6 +128,11 @@ message EnvironmentMetrics { * Wind lull in m/s */ optional float wind_lull = 17; + + /* + * CO2 measurement in ppm + */ + optional uint32 co2 = 18; } /* @@ -463,6 +468,11 @@ enum TelemetrySensorType { * Custom I2C sensor implementation based on https://github.com/meshtastic/i2c-sensor */ CUSTOM_SENSOR = 29; + + /* + * SCD40/SCD41 CO2, humidity, temperature sensor + */ + SCD4X = 30; } /* From 27072c08380e0555d44e979aded47acef49e92eb Mon Sep 17 00:00:00 2001 From: Riley Nielsen Date: Mon, 7 Oct 2024 17:43:15 -0700 Subject: [PATCH 2/2] Update telemetry.proto --- meshtastic/telemetry.proto | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/meshtastic/telemetry.proto b/meshtastic/telemetry.proto index c3b896b..5dd810b 100644 --- a/meshtastic/telemetry.proto +++ b/meshtastic/telemetry.proto @@ -228,6 +228,11 @@ message AirQualityMetrics { * 10.0um Particle Count */ optional uint32 particles_100um = 12; + + /* + * 10.0um Particle Count + */ + optional uint32 co2 = 13; } /* @@ -512,9 +517,14 @@ enum TelemetrySensorType { MAX30102 = 30; /* - * MLX90614 non-contact IR temperature sensor. + * MLX90614 non-contact IR temperature sensor */ MLX90614 = 31; + + /* + * SCD40/SCD41 CO2, humidity, temperature sensor + */ + SCD4X = 32; } /*