calibrated_result [DRAFT] [WIP]
Example calibrated_result
(content forged from multiple independent sources)
{
"error_code": 0,
"error_description": "Waiting init data",
"hd": [
{
"sensor_id": "FuelTank_Volume",
"timestamp": "2022-01-19T22:32:30.587Z",
"value": 3354.34
},
{
"sensor_id": "FuelTank_Height",
"timestamp": "2022-01-19T22:32:30.587Z",
"value": 1.44
},
{
"sensor_id": "FuelTank_Volume",
"timestamp": "2022-01-19T22:32:35.587Z",
"value": 3324.37
},
{
"sensor_id": "FuelTank_Height",
"timestamp": "2022-01-19T22:32:35.587Z",
"value": 1.43
}
],
"result_uid": "018a29d4-bb22-4914-a4bb-0157a90937d3",
"sensor_id": "WTSC_Keypad_DO_1_red_LED",
"timestamp": "2022-01-19T21:06:35.081Z",
"value": 1,
"tags": [
{
"name": "OrderID",
"value": "sensor_OrderID_value"
},
{
"name": "JobID",
"value": "sensor_JobID_value"
},
{
"name": "BatchID",
"value": "sensor_BatchID_value"
}
]
}
Field definition
Field name | Purpose | Optional | Default value |
---|---|---|---|
| Numeric representation of an error that occurred for this sensor. An | Yes |
|
| A textual description of that error encoded in | Yes |
|
| The list of | Yes |
|
| GUID to identify the origin of a | Yes |
|
| The | No | n./a. |
| May contain a list of strings this calibrated_result is tagged with. | Yes |
|
| Message timestamp in ISO8601 format (e.g. | No | n./a. |
| The measured value, already converted into a meaningful range of values. | No | n./a. |