Closed krook closed 2 years ago
Will use the OpenEEW dashboard code as the starting point.
@mrodrise to add sample location JSON coming from the IoT service.
{
"acrolein": 0.0,
"benzene": 0.0,
"carbon_monoxide": 1.51,
"device_battery_level": "0",
"device_id": "Prometeo-C4:4F:33:65:B0:E1",
"device_timestamp": "2021-09-22 18:43",
"firefighter_id": "4fba5769-8f95-495a-ad39-0ff834cbc6cc",
"formaldehyde": 0.0,
"humidity": 64.3,
"latitude": 41.3694346,
"longitude": 2.0838689,
"nitrogen_dioxide": 0.0,
"temperature": 27.4
}
In the next milestone, we are adding GPS capabilities to the mobile app, so we need to update the dashboard to reflect the location.
There's potentially a reusable Mapbox component in the OpenEEW dashboard.