Support & Docs

Get help with
PiEEG hardware & software

From electrode wiring to live WebSocket streams — complete coverage of PiEEG hardware, PiEEG Server software, and all integrations.

Quick Start Guide

Get streaming in under 5 minutes

Install & Launch
Shell
pip install pieeg-server
sudo reboot          # first time only, enables SPI
pieeg-server         # or: pieeg-server --mock (no hardware)
Stream via WebSocket
Python
import asyncio, json, websockets

async def main():
    async with websockets.connect(
            "ws://raspberrypi.local:1616") as ws:
        async for msg in ws:
            frame = json.loads(msg)
            print(frame["channels"])

asyncio.run(main())
Recording Analysis
Python
import pandas as pd
import matplotlib.pyplot as plt

df = pd.read_csv("pieeg_session.csv")
fig, axes = plt.subplots(4, 4, figsize=(16, 12),
                         sharex=True)
for i, ax in enumerate(axes.flat):
    ax.plot(df.iloc[:, i + 1], linewidth=0.3)
plt.tight_layout(); plt.show()

API Reference

Complete reference for the WebSocket data stream (port 1616) and data format. Plain JSON frames — works in any language with WebSocket support.

Can't find what you're looking for?

Ask the community on Discord or open an issue on GitHub. We're here to help.