mirror of
https://github.com/zjs81/meshcore-open.git
synced 2026-07-02 23:10:55 +10:00
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:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user