Peter Gamma (Physiologist & Director) Meditation Research Institute Switzerland (MRIS)

OpenBCI Wifi Shield allows to stream data over TCP or MQTT

Last Updated on June 20, 2021 by pg@petergamma.org

I could not find a direct path to stream sensor data from muse LSL to InfuxDB. In Python, there is support for LSL, MQTT, InfluxDB. These interfaces have yet to be coded.

The OpenBCI Wifi Shield has a HTTP web server. For developers looking to get data from OpenBCI with a WiFi Shield, these HTTP commands will allow you to stream data to your applications over TCP or MQTT.

https://docs.openbci.com/docs/05ThirdParty/03-WiFiShield/WiFiAPI

The steps for connecting to the Wifi Shield and streaming over MQTT:

  1. Find IP Address of Wifi Shield
  2. Set up MQTT broker
  3. Send POST /mqtt http request with broker address with optional username and password
  4. Send GET /stream/start or GET /stream/stop

https://docs.openbci.com/docs/05ThirdParty/03-WiFiShield/WiFiAPI