MoofyLib is a fully-featured experimental TypeScript library for interacting with all current models of VanMoof bikes—including Smartbike, SmartSX, Electrified SX 2, 3, 4, 5, and 6. The library aims to provide all features available in the official VanMoof app... and even more!
- ELock Controls – Secure, unlock, and manage bike e-locks easily
- Motor Controls – Fine-tune motor output and interaction
- Speed Limit – Set or read speed restrictions and profiles
- Firmware Updates – Check, trigger, or automate firmware updates
- Movement & Maintenance – Track movement, mileage, and run maintenance commands
- Log Reading – Access diagnostic and activity logs for your bike
- Lights Controls – Control lighting systems (front, rear, ambiance, etc.)
- Battery Reading – Get detailed telemetry and status for battery levels, health, and stats
- And More! – Explore the full range of documented and supplementary VanMoof features from both bike firmware and the app ecosystem
MoofyLib supports:
- VanMoof Smartbike
- VanMoof SmartSX
- Vanmoof Electrified S, X
- VanMoof Electrified S2, X2
- VanMoof Electrified S3, X3
- VanMoof Electrified S4, X4
- VanMoof Electrified S5, X5
- VanMoof Electrified S6, X6
Warning
This library is experimental. Features and API stability are not guaranteed and may change at any time. Function availability is NOT assured on all models or firmware versions. Please use with caution.
- Written entirely in TypeScript
- Designed for modern JavaScript/TypeScript environments (Node.js, browsers, apps)
- Tested with Jest testing framework
npm install moofylib
# or
yarn add moofylibComming SoonThis project is in experimental stages. Contributions, issues, and suggestions are always welcome!
Made with ❤️ for the VanMoof community