bmwcd.js
v0.1.5
Published
BMW ConnectedDrive module for Node
Downloads
7
Readme
bmwcd.js
const bmwcd = require('bmwcd.js')
(async () => {
// ConnectedDrive account authentication
const account = await bmwcd.auth(username, password)
// Select vehicle by VIN and output status object
const vehicle = await account.vehicles('WBAXXXXXXX1234567')
console.log(await vehicle.status())
})()
Remote Services
Currently, not all of these Remote Services are fully functional. I'm working as fast as I can to fix that!
const bmwcd = require('bmwcd.js')
(async () => {
const account = await bmwcd.auth(username, password)
const vehicle = await account.vehicles('WBAXXXXXXX1234567')
// Lock / Unlock Doors
await vehicle.lock()
await vehicle.unlock()
// Remote Air Conditioning / Ventilation
await vehicle.climate()
// Flash Headlights
await vehicle.lights()
// Honk Horn
await vehicle.honk()
})()
Acknowledgements
I was mainly inspired by connected_drive.js, expanding it with many features similar to those in bimmerconnected (python). I also tried to follow similar naming conventions as bimmerconnected, for added compatibility. It's a lot heavier now, but it's getting close to being a completed prototype.