Skip to content

Instantly share code, notes, and snippets.

@cjavdev
Created March 25, 2025 22:02
Show Gist options
  • Save cjavdev/d8a69ebbfb4ddac88cc87722e1336285 to your computer and use it in GitHub Desktop.
Save cjavdev/d8a69ebbfb4ddac88cc87722e1336285 to your computer and use it in GitHub Desktop.
{
"data": [
{
"readingId": "fuelLevel",
"entityId": "123456",
"entityType": "sensor",
"value": {
"fuelLevelLiters": 47.0,
"fuelLevelGallons": 12.4161,
},
"happenedAtTime": "2024-08-12T14:32:17Z"
},
{
"readingId": "fuelLevel",
"entityId": "54321",
"entityType": "sensor",
"value": {
"type": "float",
"fuelLevelLiters": 77.0,
"fuelLevelGallons": 20.3412,
},
"happenedAtTime": "2024-03-27T05:58:43Z"
},
{
"readingId": "odometerECM",
"entityId": "123456",
"entityType": "asset",
"hasValue": false,
"value": null
},
{
"readingId": "odometerECM",
"entityId": "54321",
"entityType": "asset",
"value": {
"type": "integer",
"odometerECM": 77
},
"happenedAtTime": "2024-06-03T18:49:01Z"
},
{
"readingId": "fillLevelCriticality",
"entityId": "123456",
"entityType": "asset",
"value": {
"type": "integer",
"fillLevelCriticality": 0,
"symbol": "normal"
}
"happenedAtTime": "2024-06-03T18:49:01Z",
},
{
"readingId": "fillLevelCriticality",
"entityId": "54321",
"entityType": "asset",
"value": {
"type": "integer",
"fillLevelCriticality": 1,
"symbol": "criticallyHigh"
}
"happenedAtTime": "2024-06-03T18:49:01Z",
},
{
"readingId": "ambientTemperature",
"entityId": "32",
"entityType": "sensor",
"value": {
"type": "float",
"ambientTemperatureMilliC": 11057.0,
"ambientTemperatureC": 11.057,
"ambientTemperatureF": 51.8
}
"happenedAtTime": "2024-06-03T18:49:01Z",
}
],
"pagination": {
"endCursor": "...",
"hasNextPage": true
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment