@@ -170,6 +170,7 @@ class DeviceMetrics(google.protobuf.message.Message):
170170 VOLTAGE_FIELD_NUMBER : builtins .int
171171 CHANNEL_UTILIZATION_FIELD_NUMBER : builtins .int
172172 AIR_UTIL_TX_FIELD_NUMBER : builtins .int
173+ UPTIME_SECONDS_FIELD_NUMBER : builtins .int
173174 battery_level : builtins .int
174175 """
175176 0-100 (>100 means powered)
@@ -186,15 +187,20 @@ class DeviceMetrics(google.protobuf.message.Message):
186187 """
187188 Percent of airtime for transmission used within the last hour.
188189 """
190+ uptime_seconds : builtins .int
191+ """
192+ How long the device has been running since the last reboot (in seconds)
193+ """
189194 def __init__ (
190195 self ,
191196 * ,
192197 battery_level : builtins .int = ...,
193198 voltage : builtins .float = ...,
194199 channel_utilization : builtins .float = ...,
195200 air_util_tx : builtins .float = ...,
201+ uptime_seconds : builtins .int = ...,
196202 ) -> None : ...
197- def ClearField (self , field_name : typing_extensions .Literal ["air_util_tx" , b"air_util_tx" , "battery_level" , b"battery_level" , "channel_utilization" , b"channel_utilization" , "voltage" , b"voltage" ]) -> None : ...
203+ def ClearField (self , field_name : typing_extensions .Literal ["air_util_tx" , b"air_util_tx" , "battery_level" , b"battery_level" , "channel_utilization" , b"channel_utilization" , "uptime_seconds" , b"uptime_seconds" , " voltage" , b"voltage" ]) -> None : ...
198204
199205global___DeviceMetrics = DeviceMetrics
200206
@@ -212,6 +218,7 @@ class EnvironmentMetrics(google.protobuf.message.Message):
212218 GAS_RESISTANCE_FIELD_NUMBER : builtins .int
213219 VOLTAGE_FIELD_NUMBER : builtins .int
214220 CURRENT_FIELD_NUMBER : builtins .int
221+ IAQ_FIELD_NUMBER : builtins .int
215222 temperature : builtins .float
216223 """
217224 Temperature measured
@@ -236,6 +243,11 @@ class EnvironmentMetrics(google.protobuf.message.Message):
236243 """
237244 Current measured (To be depreciated in favor of PowerMetrics in Meshtastic 3.x)
238245 """
246+ iaq : builtins .int
247+ """
248+ relative scale IAQ value as measured by Bosch BME680 . value 0-500.
249+ Belongs to Air Quality but is not particle but VOC measurement. Other VOC values can also be put in here.
250+ """
239251 def __init__ (
240252 self ,
241253 * ,
@@ -245,8 +257,9 @@ class EnvironmentMetrics(google.protobuf.message.Message):
245257 gas_resistance : builtins .float = ...,
246258 voltage : builtins .float = ...,
247259 current : builtins .float = ...,
260+ iaq : builtins .int = ...,
248261 ) -> None : ...
249- def ClearField (self , field_name : typing_extensions .Literal ["barometric_pressure" , b"barometric_pressure" , "current" , b"current" , "gas_resistance" , b"gas_resistance" , "relative_humidity" , b"relative_humidity" , "temperature" , b"temperature" , "voltage" , b"voltage" ]) -> None : ...
262+ def ClearField (self , field_name : typing_extensions .Literal ["barometric_pressure" , b"barometric_pressure" , "current" , b"current" , "gas_resistance" , b"gas_resistance" , "iaq" , b"iaq" , " relative_humidity" , b"relative_humidity" , "temperature" , b"temperature" , "voltage" , b"voltage" ]) -> None : ...
250263
251264global___EnvironmentMetrics = EnvironmentMetrics
252265
0 commit comments