We looked around for IoT platforms that can be used along with the HealthyPi, of which there are several. We finally settled on using Initial State because of its ease-of-use and support for streaming libraries on various platforms, including Python on the Raspberry Pi. It’s also very flexible and looks nice.
Initial State allows you to send data to the server using HTTP request using REST APIs.
This effectively turns your HealthyPi into a continuous, remote, and always-connected vital sign monitoring system. We made a video about this new functionality to show you what value it adds to the HealthyPi.
*How it works*
ECG, respiration, PPG and temperature data is collected by HealthyPi-v3 connected to a Raspberry Pi 3 and a Battery HAT, without the need for a display. The heart-rate, respiration-rate and SpO2 computation is done on the HealthyPi board itself. In this mode, only the computed values are sent to the Raspberry Pi, as opposed to the continuous waveform mode when using the stand-alone display.
Initial State provides a basic Python streamer library which can be easily installed using pip. The Python script for reading the data from the Pi's UART, parsing the output, and sending the data to the server will be available on our GitHub repo soon. All it takes is a few lines of code to read the data and send it over.
You can even share the data with others easily by sharing only the public URL. Check out our live shared dashboard. We will try to keep this connected to a HealthyPi whenever we can.