Free, Open Source tools to Alert Carers if someone suffers an Epileptic Seizure
This guide walks you through setting up OpenSeizureDetector using a PineTime smartwatch as the motion sensor. The PineTime is a low-cost, open-source wrist watch specifically supported for reliable tonic-clonic seizure detection.
You will need:
When you first install and launch OpenSeizureDetector, the setup wizard starts automatically.
The wizard guides you through:
Press Next to continue, or Skip to configure manually via Settings later.
On the Choose Data Source screen, select PineTime Watch (Recommended).
| Option | Description |
|---|---|
| Phone (Demo Mode) | Uses the phone accelerometer - for testing only, not real seizure detection |
| PineTime Watch (Recommended) | Low-cost wrist watch - reliable seizure detection |
| Garmin Watch | Garmin smart watch - also supports heart rate monitoring |
| Network (Remote Monitoring) | Receives alarms from another OSD device on your Wi-Fi |
Press Next to continue.
The PineTime configuration screen guides you through three sub-steps.
The PineTime Updater companion app is needed to flash the OpenSeizureDetector firmware onto your watch.
Tap Install PineTime Firmware to launch the PineTime Updater app.
Note: The updater will request Bluetooth permissions and a notification permission. Please grant both so the firmware transfer can complete.
The updater scans for nearby PineTime watches, transfers the custom OpenSeizureDetector firmware, then returns you to this screen automatically. The watch Bluetooth address is recorded automatically - no manual entry needed.
Tap Scan for PineTime Watch to search for your watch over Bluetooth. A list of nearby Bluetooth devices appears - select your PineTime.
Once selected, the screen shows the device name and MAC address in green, for example:
PineTime MAC: AB:CD:EF:12:34:56
If No device selected is shown in orange, go back and scan again.
Press Next when your watch appears in green.
Choose which seizure detection algorithms to enable. You can select more than one.
| Algorithm | Description |
|---|---|
| ML Algorithm (Recommended) | Machine Learning / AI detection. Good sensitivity with fewer false alarms. Improves over time via community data sharing. |
| Heart Rate Alerts | Detects abnormal heart rate. Currently requires a Garmin watch for reliable HR measurement. |
| OSD Algorithm | Original proven algorithm. Good for overnight use; may false-alarm on repetitive movements (brushing teeth, washing dishes etc.). |
| OSD with Flap Detection | Enhanced OSD that also detects arm flapping for maximum night-time tonic-clonic detection. |
At least one algorithm must be selected before Next is enabled.
Recommended choice for PineTime:
After pressing Next, a short confirmation dialog appears for each enabled algorithm:
The final screen confirms your configuration.
The summary shows:
Press Get Started to launch the main monitoring screen.
All settings can be changed at any time from the Settings menu - you do not need to re-run the wizard.
| Problem | Solution |
|---|---|
| Watch not found during scan | Ensure watch is charged, on wrist, and phone Bluetooth is enabled |
| Firmware update fails | Keep watch within 1 metre of phone during the update |
| App not connecting after setup | Force-stop the app and restart; or re-scan via Settings - Bluetooth |
| PineTime Updater not on Play Store | Check your regional store or see the OpenSeizureDetector GitHub releases page |
For more information visit openseizuredetector.org.uk