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
17 stars 16 forks source link

Set up Web Dashboard for Lab Validation Testing #105

Closed keenanjohnson closed 1 year ago

keenanjohnson commented 1 year ago

We have a Frog Sensor that has been sent to a test lab partner for validation of the sensing accuracy.

To support this testing we need branch of the frog software that does not require GPS and has a polling every 2 sec that can be downloaded from the dashboard website.

keenanjohnson commented 1 year ago

@pascaljoly I'll be starting work on this here.

keenanjohnson commented 1 year ago

To achieve this, I plan on doing the following:

keenanjohnson commented 1 year ago

I created a new branch of the Frog software here: https://github.com/Ribbit-Network/ribbit-network-frog-sensor/tree/lab-testing/lab_testing/software

This branch now has a folder of software that publishes to the new influxDB bucket. I've switched the sensor at the lab to use this software.

image

Now all that is left is to remove the map on this branch of the dashboard and deploy it.

keenanjohnson commented 1 year ago

Ok @pascaljoly I believe this is now complete and ready for use!

I created a new branch of the web dashboard software (source code)

That site is now deployed here (sorry for the ugly URL)

I've made it so that the site doesn't do any data averaging and has an option for the maximum sensor sample rate (2 seconds).

Anything else you think we should add here?

image
pascaljoly commented 1 year ago

Thanks! does it require a specific update (reflash) on his sensor or is it done automatically?

keenanjohnson commented 1 year ago

I've already done that. This dashboard is specific to that particular sensor and the software now running on his sensor is also unique.

pascaljoly commented 1 year ago

got it! I've notified Sebastien about it. once he starts using it we can close the issue?

keenanjohnson commented 1 year ago

Sounds good!

spestana commented 1 year ago

Have you thought about providing a script to download data at regular intervals they can run as a cron job or something like that?

I've been using this to archive data myself

keenanjohnson commented 1 year ago

Not sure. @pascaljoly do you think that would be useful?