Skip to content
1 change: 0 additions & 1 deletion meshtastic/telemetry.options
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
*EnvironmentMetrics.iaq int_size:16
*EnvironmentMetrics.wind_direction int_size:16
*EnvironmentMetrics.soil_moisture int_size:8
*EnvironmentMetrics.one_wire_temperature max_count:8

*LocalStats.num_online_nodes int_size:16
*LocalStats.num_total_nodes int_size:16
Expand Down
128 changes: 102 additions & 26 deletions meshtastic/telemetry.proto
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
syntax = "proto3";

package meshtastic;
Expand Down Expand Up @@ -155,9 +155,85 @@
optional float soil_temperature = 22;

/*
* One-wire temperature (*C)
* Multi-channel ADC Voltage Channel 0 (V)
*/
repeated float one_wire_temperature = 23;
optional float adc_voltage_ch0 = 23;

Check failure on line 160 in meshtastic/telemetry.proto

View workflow job for this annotation

GitHub Actions / build

Field "23" on message "EnvironmentMetrics" changed name from "one_wire_temperature" to "adc_voltage_ch0".

Check failure on line 160 in meshtastic/telemetry.proto

View workflow job for this annotation

GitHub Actions / build

Field "23" with name "adc_voltage_ch0" on message "EnvironmentMetrics" changed option "json_name" from "oneWireTemperature" to "adcVoltageCh0".

Check failure on line 160 in meshtastic/telemetry.proto

View workflow job for this annotation

GitHub Actions / build

Field "23" with name "adc_voltage_ch0" on message "EnvironmentMetrics" changed cardinality from "repeated" to "optional with explicit presence".

/*
* Multi-channel ADC Voltage Channel 1 (V)
*/
optional float adc_voltage_ch1 = 24;

/*
* Multi-channel ADC Voltage Channel 2 (V)
*/
optional float adc_voltage_ch2 = 25;

/*
* Multi-channel ADC Voltage Channel 3 (V)
*/
optional float adc_voltage_ch3 = 26;

/*
* Multi-channel ADC Voltage Channel 4 (V)
*/
optional float adc_voltage_ch4 = 27;

/*
* Multi-channel ADC Voltage Channel 5 (V)
*/
optional float adc_voltage_ch5 = 28;

/*
* Multi-channel ADC Voltage Channel 6 (V)
*/
optional float adc_voltage_ch6 = 29;

/*
* Multi-channel ADC Voltage Channel 7 (V)
*/
optional float adc_voltage_ch7 = 30;

/*
* Multi-channel One-Wire Temperature Channel 0 (*C)
*/
optional float one_wire_temperature_ch0 = 31;

/*
* Multi-channel One-Wire Temperature Channel 1 (*C)
*/
optional float one_wire_temperature_ch1 = 32;

/*
* Multi-channel One-Wire Temperature Channel 2 (*C)
*/
optional float one_wire_temperature_ch2 = 33;

/*
* Multi-channel One-Wire Temperature Channel 3 (*C)
*/
optional float one_wire_temperature_ch3 = 34;

/*
* Multi-channel One-Wire Temperature Channel 4 (*C)
*/
optional float one_wire_temperature_ch4 = 35;

/*
* Multi-channel One-Wire Temperature Channel 5 (*C)
*/
optional float one_wire_temperature_ch5 = 36;

/*
* Multi-channel One-Wire Temperature Channel 6 (*C)
*/
optional float one_wire_temperature_ch6 = 37;

/*
* Multi-channel One-Wire Temperature Channel 7 (*C)
*/
optional float one_wire_temperature_ch7 = 38;

}

/*
Expand Down Expand Up @@ -195,54 +271,54 @@
optional float ch3_current = 6;

/*
* Voltage (Ch4)
* Voltage (Ch4) - TODO Remove
*/
optional float ch4_voltage = 7;
optional float ch4_voltage = 7 [deprecated = true];

/*
* Current (Ch4)
* Current (Ch4) - TODO Remove
*/
optional float ch4_current = 8;
optional float ch4_current = 8 [deprecated = true];

/*
* Voltage (Ch5)
* Voltage (Ch5) - TODO Remove
*/
optional float ch5_voltage = 9;
optional float ch5_voltage = 9 [deprecated = true];

/*
* Current (Ch5)
* Current (Ch5) - TODO Remove
*/
optional float ch5_current = 10;
optional float ch5_current = 10 [deprecated = true];

/*
* Voltage (Ch6)
* Voltage (Ch6) - TODO Remove
*/
optional float ch6_voltage = 11;
optional float ch6_voltage = 11 [deprecated = true];

/*
* Current (Ch6)
* Current (Ch6) - TODO Remove
*/
optional float ch6_current = 12;
optional float ch6_current = 12 [deprecated = true];

/*
* Voltage (Ch7)
* Voltage (Ch7) - TODO Remove
*/
optional float ch7_voltage = 13;
optional float ch7_voltage = 13 [deprecated = true];

/*
* Current (Ch7)
* Current (Ch7) - TODO Remove
*/
optional float ch7_current = 14;
optional float ch7_current = 14 [deprecated = true];

/*
* Voltage (Ch8)
* Voltage (Ch8) - TODO Remove
*/
optional float ch8_voltage = 15;
optional float ch8_voltage = 15 [deprecated = true];

/*
* Current (Ch8)
* Current (Ch8) - TODO Remove
*/
optional float ch8_current = 16;
optional float ch8_current = 16 [deprecated = true];
}

/*
Expand Down Expand Up @@ -660,7 +736,7 @@
/*
* TODO - REMOVE High accuracy temperature and humidity
*/
SHTC3 = 7;
SHTC3 = 7 [deprecated = true];

/*
* High accuracy pressure
Expand All @@ -685,7 +761,7 @@
/*
* TODO - REMOVE High accuracy temperature and humidity
*/
SHT31 = 12;
SHT31 = 12 [deprecated = true];

/*
* PM2.5 air quality sensor
Expand All @@ -710,7 +786,7 @@
/*
* TODO - REMOVE Sensirion High accuracy temperature and humidity
*/
SHT4X = 17;
SHT4X = 17 [deprecated = true];

/*
* VEML7700 high accuracy ambient light(Lux) digital 16-bit resolution sensor.
Expand Down Expand Up @@ -860,7 +936,7 @@
/*
* TODO - REMOVE STH21 Temperature and R. Humidity sensor
*/
SHT21 = 47;
SHT21 = 47 [deprecated = true];

/*
* Sensirion STC31 CO2 sensor
Expand Down
Loading