Telemetry: room-server request fix #2

The telemetry parser has been expanded and should now support significantly more metrics. It has been ported from the Python implementation of meshcore_py.
This commit is contained in:
HDDen
2026-05-19 23:16:37 +03:00
parent 425229fce8
commit 7a823654df
40 changed files with 3626 additions and 41 deletions
+112
View File
@@ -1663,6 +1663,118 @@
}
}
},
"telemetry_digitalInputLabel": "Digital Input",
"telemetry_digitalOutputLabel": "Digital Output",
"telemetry_analogInputLabel": "Analog Input",
"telemetry_analogOutputLabel": "Analog Output",
"telemetry_genericLabel": "Generic Sensor",
"telemetry_luminosityLabel": "Luminosity",
"telemetry_presenceLabel": "Presence",
"telemetry_humidityLabel": "Humidity",
"telemetry_accelerometerLabel": "Accelerometer",
"telemetry_pressureLabel": "Pressure",
"telemetry_altitudeLabel": "Altitude",
"telemetry_frequencyLabel": "Frequency",
"telemetry_percentageLabel": "Percentage",
"telemetry_concentrationLabel": "Concentration",
"telemetry_powerLabel": "Power",
"telemetry_distanceLabel": "Distance",
"telemetry_energyLabel": "Energy",
"telemetry_directionLabel": "Direction",
"telemetry_timeLabel": "Time",
"telemetry_gyrometerLabel": "Gyrometer",
"telemetry_colourLabel": "Colour",
"telemetry_gpsLabel": "GPS",
"telemetry_switchLabel": "Switch",
"telemetry_polylineLabel": "Polyline",
"telemetry_altitudeValue": "{meters} m",
"@telemetry_altitudeValue": {
"placeholders": {
"meters": {
"type": "String"
}
}
},
"telemetry_frequencyValue": "{hertz} Hz",
"@telemetry_frequencyValue": {
"placeholders": {
"hertz": {
"type": "String"
}
}
},
"telemetry_pressureValue": "{hpa} hPa",
"@telemetry_pressureValue": {
"placeholders": {
"hpa": {
"type": "String"
}
}
},
"telemetry_luminosityValue": "{lux} lx",
"@telemetry_luminosityValue": {
"placeholders": {
"lux": {
"type": "String"
}
}
},
"telemetry_powerValue": "{watts} W",
"@telemetry_powerValue": {
"placeholders": {
"watts": {
"type": "String"
}
}
},
"telemetry_distanceValue": "{meters} m",
"@telemetry_distanceValue": {
"placeholders": {
"meters": {
"type": "String"
}
}
},
"telemetry_energyValue": "{kilowattHours} kWh",
"@telemetry_energyValue": {
"placeholders": {
"kilowattHours": {
"type": "String"
}
}
},
"telemetry_directionValue": "{degrees}°",
"@telemetry_directionValue": {
"placeholders": {
"degrees": {
"type": "String"
}
}
},
"telemetry_concentrationValue": "{ppm} ppm",
"@telemetry_concentrationValue": {
"placeholders": {
"ppm": {
"type": "String"
}
}
},
"telemetry_percentageValue": "{percent}%",
"@telemetry_percentageValue": {
"placeholders": {
"percent": {
"type": "String"
}
}
},
"telemetry_analogValue": "{value}",
"@telemetry_analogValue": {
"placeholders": {
"value": {
"type": "String"
}
}
},
"telemetry_autoFetchQuantity": "Requests quantity",
"telemetry_error": "Unable to retrieve data",
"neighbors_receivedData": "Received Neighbors Data",