WORK IN PROGRESS: doesn't work just yet
funky node.js app for communicating with a vanmoof bike by bluetooth.
it works by:
- using your vanmoof username and password to get an authentication token from the cloud
- using that token to get the cloud-held encryption key for your bike
- connects to your bike over bluetooth low energy
- authenticates your bluetooth device with the bike using a nonce challenge
- reading info and issuing commands securely, using the encryption key to encrype some payloads
this is very similar to what the vanmoof and moofer app does, but it's nice to have custom control over the ui for talking to the bike.
at the moment, only the x3 is known to be supported (because it's what i have).
you need a device with node.js installed and a bluetooth adapter compatible with noble.
first, set a username and password in .env
, then:
npm i
npm start