Last Updated on August 1, 2023 by pg@petergamma.org
A challenge which we have since several years, is to join sensor data from optical heart rate monitors and EEG data into a single database.
For optical heart rate monitors, the example with the Apple watch uses the Apple Health auto export app, which makes things easier:
For EEG, OpenBCI has a large community. Many OpenBCI users use OpenBCI GUI as their software platform. But if we are looking for a real-time EEG data stream to a database, we suggest to use Brainflow for OpenBCI,
here in the example of the Cyton board:
https://brainflow.readthedocs.io/en/stable/SupportedBoards.html#cyton
There are Python and MNE Python code examples available in BrainFlow:
https://brainflow.readthedocs.io/en/stable/Examples.html
From there, it should be not too difficult for advanced coders to connect the code for instance to Home Assistant, as discussed previously for the example of the Apple watch and the Polar H10 chest strap. The advantage to choose Home Assistant for the Apple watch, the Polar H10 and OpenBCI is to have sensor data from all devices in a singe multi-sensor InfluxDB.
We ususally don t code, as you can see on our GITHUB page:
And we do not know if the path described here works. What we describe here, is certainly sophisticated and something for advanced coders. But if we are on a long-term project and our goal is an affordable multi-sensor database device, we think Home Assistant is a good starting point for starting to do some experiments. As we said, these are sophisticated software projects for advanced users. But if you are one of those, developers welcome to make a video, a student project or scientists write a paper about this topic.
Comments are closed.