diff --git a/meshtastic/admin.proto b/meshtastic/admin.proto index ed373a5..0fbfbe3 100644 --- a/meshtastic/admin.proto +++ b/meshtastic/admin.proto @@ -656,6 +656,11 @@ message SensorConfig { * SEN5X PM Sensor configuration */ SEN5X_config sen5x_config = 2; + + /* + * SCD30 CO2 Sensor configuration + */ + SCD30_config scd30_config = 3; } message SCD4X_config { @@ -706,3 +711,35 @@ message SEN5X_config { */ optional bool set_one_shot_mode = 2; } + +message SCD30_config { + /* + * Set Automatic self-calibration enabled + */ + optional bool set_asc = 1; + + /* + * Recalibration target CO2 concentration in ppm (FRC or ASC) + */ + optional uint32 set_target_co2_conc = 2; + + /* + * Reference temperature in degC + */ + optional float set_temperature = 3; + + /* + * Altitude of sensor in meters above sea level. 0 - 3000m (overrides ambient pressure) + */ + optional uint32 set_altitude = 4; + + /* + * Power mode for sensor (true for low power, false for normal) + */ + optional uint32 set_measurement_interval = 5; + + /* + * Perform a factory reset of the sensor + */ + optional bool soft_reset = 6; +} diff --git a/meshtastic/telemetry.proto b/meshtastic/telemetry.proto index b5e418e..8889718 100644 --- a/meshtastic/telemetry.proto +++ b/meshtastic/telemetry.proto @@ -836,6 +836,7 @@ enum TelemetrySensorType { * SEN5X PM SENSORS */ SEN5X = 43; + /* * TSL2561 light sensor */ @@ -845,7 +846,7 @@ enum TelemetrySensorType { * BH1750 light sensor */ BH1750 = 45; - + /* * HDC1080 Temperature and Humidity Sensor */ @@ -860,6 +861,11 @@ enum TelemetrySensorType { * Sensirion STC31 CO2 sensor */ STC31 = 48; + + /* + * SCD30 CO2, humidity, temperature sensor + */ + SCD30 = 49; } /*