0.1.5 • Published 4 years ago

bmwcd.js v0.1.5

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

bmwcd.js

npm install bmwcd.js MIT license

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.

RememberJimmy.com

0.1.5

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago