diff --git a/meshtastic/admin.proto b/meshtastic/admin.proto index d622e0ebc..a479e22e7 100644 --- a/meshtastic/admin.proto +++ b/meshtastic/admin.proto @@ -651,6 +651,11 @@ message SensorConfig { * SEN5X PM Sensor configuration */ SEN5X_config sen5x_config = 2; + + /* + * SCD30 CO2 Sensor configuration + */ + SCD30_config scd30_config = 3; } message SCD4X_config { @@ -701,3 +706,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 498cecde8..c915737cd 100644 --- a/meshtastic/telemetry.proto +++ b/meshtastic/telemetry.proto @@ -791,6 +791,7 @@ enum TelemetrySensorType { * SEN5X PM SENSORS */ SEN5X = 43; + /* * TSL2561 light sensor */ @@ -800,7 +801,7 @@ enum TelemetrySensorType { * BH1750 light sensor */ BH1750 = 45; - + /* * HDC1080 Temperature and Humidity Sensor */ @@ -815,6 +816,11 @@ enum TelemetrySensorType { * Sensirion STC31 CO2 sensor */ STC31 = 48; + + /* + * SCD30 CO2, humidity, temperature sensor + */ + SCD30 = 49; } /*