We are gathering data through I2C protocol from the sensors at 10hz and storing it on a PostgreSQL database on the raspberry pi provided with each machine, visualization is supposed to happen on a Grafana dashboard hosted locally on the pi and visualized on portable devices through wifi. Unfortunately, I can’t seem to surpass the 1hz refresh mark, there’s also trouble in visualizing the dashboard from my smartphone. I am not sure if it is right to persevere with Grafana as we should probably build some kind of realtime visualization tool.
I once believed Grafana was the best tool for the job as we could’ve sent alerts to doctors through a variety of sources, and that has to stay (push alerts are, by the way redundant, as there are actual hardware beepers already in place in the electronics to be released soon). .
Here’s a work in progress image of the dashboard. These metrics Volume, Pressure, and Flowrate are the ones that are usually shown on ICU monitors, last 30s are shown in the screenshot.
This is just a work in progress, we will also need other metrics, some of them derived from the ones above, some other more technical and related to machine functioning. General patient data (name, age, time in ICU) must be shown as well, there is going to be a bunch of ventilators so doctors need to know which one’s which. There’s a need to provide a dialog box to set some thresholds for alerts, maybe a wizard to detect Plateau pressure,
I’m now working on a wireframe mockup for the interface as well, I’ll be clearer in the next hours.
NOTICE: the data points shown in the image above were generated through a python script.
EDIT: tons of edits