How igorpl/eucwatch works
eucWatch is smartwatch firmware for monitoring and interacting with electric unicycles (EUCs), alongside web loaders for installing the firmware. The user-facing flow is watch input and runtime navigation to a face, with the main face rendering watch status and notifications; the firmware also includes EUC-specific dashboards and protocol modules. The README documents manual P8 script installation and separate web loaders for P8/P22-family watches, DK08, and DSD6. Several branches are represented by their directory because their implementations were not excerpted.
Main entry points: P8 P8 firmware · handler.js P8 handler · main.js Main face · puck.js Web loader
Components 18
Installation
- Web loader
Loader/puck.js - Loader tools
Loader/core/lib
Watch runtime
- P8 firmware
P8 - DK08 firmware
DK08 - DSD6 firmware
DSD6 - V2 firmware
v2 - Main face
P8/main/main.js - Espruino storage
EUC features
- EUC protocols
P8/euc - Dashboards
P8/dashKingsong - Wheel scan
P8/w_scan/w_scan.js
Watch interaction
- P8 handler
P8/handler/handler.js - Settings
P8/settings/settings.js - Touch and sensors
Integrations
- Notifications
P8/handler/handler.js - GadgetBridge
P8/m_gb/m_gb.js - EUC emulation
P8/euc/emuZ.js
Other components
- Watch owner
Connections 14
- Watch owner → Web loader: installs firmware
README.md - Web loader → Loader tools: uses tools
- Watch owner → P8 firmware: uses watch
- P8 handler → Espruino storage: loads app
P8/handler/handler.js - P8 handler → Touch and sensors: reads input
- P8 handler → Main face: dispatches face
- Main face → Notifications: renders alerts
P8/main/main.js - Main face → EUC protocols: reads wheel state
P8/main/main.js - P8 handler → Settings: uses settings
- P8 firmware → EUC protocols: supports wheel protocols
- P8 firmware → Dashboards: provides dashboards
- P8 firmware → Wheel scan: provides scanning
- P8 firmware → GadgetBridge: supports notifications
- P8 firmware → EUC emulation: supports emulation