LSL and MQTT for the Muse Headband and OpenBCI?

The Muse headband is attractive for mobile EEG applications. Unfortunately, the Muse SDK is only available for research institutions, etc., but not for all people. And the LSL setup with the Muse SDK only works with Muse 1, and not Muse 2.:

https://github.com/sccn/labstreaminglayer/issues/30

There is the Muse LSL from Alexandre Barachand, PhD for the Muse 2:

https://github.com/alexandrebarachant/muse-lsl

The Rasperri PI is attractive as a mobile EEG data aquisition platform:

https://petergamma.org/category/rasperri-pi/

Flavio Frohlich, Associate Professor of Psychiatry, Cell Biology & Physiology, and Biomedical Engineering, Department of Psychiatry, Carolina Center for Neurostimulation UNC Hospitals – Chapel Hill reported issues with the Muse LSL and Rasperri PI 4:

https://github.com/alexandrebarachant/muse-lsl/issues/140

http://www.flaviofrohlich.org/thoughts/collecting-eeg-signals-with-a-raspberry-pi-and-a-muse-2-headset

The Muse Headband is the best selling EEG device worldwide, and it is affordable. It is a pity that there is no longer an official support from Interaxon for the Muse SDK, which can serve as a basis for LSL or MQTT for everyone. As far as I know, the Muse 2 headband should work now for mobile applications with LSL and the Rasperri PI 4, but I did not test it.

For a setup which can stream EEG sensor data into InfluxDB and visualize it in Grafana, MQTT is the easiest way, as far as I know.

For Arnaud Delormes, PhD. Neurofeedbacklab or BCILAB, LSL is required.

OpenBCI has a wifi shield which supports MQTT :

https://petergamma.org/blog/page/7/

OpenBCI has also Lab Streaming Layer support:

https://docs.openbci.com/docs/06Software/02-CompatibleThirdPartySoftware/LSL

So there is official LSL and MQTT support for OpenBCI, but not for the Muse Headband, which is a pity.

I think it should be possible to get LSL and MQTT to work also for the Muse Headband, but this needs some testing or coding, for instance in Python.

edited 20.6.2021

Muse LSL is confirmed working on Rasperri PI 3B:

https://github.com/alexandrebarachant/muse-lsl/issues/137

There is a LSL version of OpenBCI

https://www.crowdsupply.com/starcat/hackeeg/updates/hackeeg-32-channels-displaying-in-openbci

4.7.2021