Ribbit-Network / ribbit-network-dashboard

The web dashboard for the world's largest crowdsourced network of open-source, low-cost, CO2 Gas Detection Sensors.
MIT License
18 stars 16 forks source link

Add sensor ID to dashboard #118

Open pascaljoly opened 1 year ago

pascaljoly commented 1 year ago

in locations where multiple sensors are deployed at the same spot (e.g. Zurich/ICOS), it is not possible to pinpoint which sensor is which from the map, unless the sensor ID is reported. This makes it very difficult for troubleshooting an issue. so the sensor ID should be an additional data field to the dashboard.

keenanjohnson commented 1 year ago

Good suggest @pascaljoly. I will try and add that now to help me with getting the 3 month data from Zurich.

keenanjohnson commented 10 months ago

The sensors have an ID that displays on their local web UI. See here or the screenshot here: https://ribbit-network.github.io/ribbit-network-frog-hardware/5-testing/5-sensor-testing/#testing-via-wifi

image

That ID is passed around in the web front end as "host" see here: https://github.com/Ribbit-Network/ribbit-network-dashboard/blob/d9ab27b584e12809bc0e0d4efc6efe312eb87928/db.py#L34

and should be pretty easy to extract out and display on the UI somewhere.

keenanjohnson commented 10 months ago

@xxdavexx23 would appreciate the help here if you are interested.

xxdavexx23 commented 10 months ago

Ok sure I'll take a look later but yeah you can assign it to me