collect uptime telemetry added in meshtastic v2.3.5
This commit is contained in:
@ -520,6 +520,7 @@ client.on("message", async (topic, message) => {
|
||||
data.voltage = telemetry.deviceMetrics.voltage !== 0 ? telemetry.deviceMetrics.voltage : null;
|
||||
data.channel_utilization = telemetry.deviceMetrics.channelUtilization !== 0 ? telemetry.deviceMetrics.channelUtilization : null;
|
||||
data.air_util_tx = telemetry.deviceMetrics.airUtilTx !== 0 ? telemetry.deviceMetrics.airUtilTx : null;
|
||||
data.uptime_seconds = telemetry.deviceMetrics.uptimeSeconds !== 0 ? telemetry.deviceMetrics.uptimeSeconds : null;
|
||||
|
||||
// create device metric
|
||||
try {
|
||||
|
Reference in New Issue
Block a user