Coder Social home page Coder Social logo

chrizzz90 / mmm-bmwconnected Goto Github PK

View Code? Open in Web Editor NEW

This project forked from philmavedzenge/mmm-bmwconnected

0.0 0.0 0.0 146 KB

Magic Mirror Module to display data from BMW Connected drive for your car.

License: MIT License

CSS 4.51% JavaScript 95.49%

mmm-bmwconnected's Introduction

MMM-BMWConnected

Magic Mirror Module to display data from BMW Connected drive for your car.

Screenshot

The module displays icons to show lock, fuel, door, windows and sunroof status, range, and total kms driven. It also shows the time the Connected Drive API last received data from the car.

Installation

Clone this repository in your modules folder, and install dependencies:

cd ~/MagicMirror/modules 
git clone https://github.com/philmavedzenge/MMM-BMWConnected.git
cd MMM-BMWConnected
npm install 

Configuration

Go to the MagicMirror/config directory and edit the config.js file. Add the module to your modules array in your config.js.

You'll need your BMW Connected Drive email and password.

Enter these details in the config.js for your MagicMirror installation:

{
    module: "MMM-BMWConnected",
    header: 'BMW Connected',
    position: "bottom_right",
    config: {
        email: "yourBMWConnectEmail",
        password: "StrongPassword",
    apiBase: "www.bmw-connecteddrive.co.za", //this works for me in South Africa not sure what other regions would be
        distance: "km",
        refresh: 15,
        vehicleAngle: 10,
    country: "South Africa", //Type exactly as it appears on https://www.bmw-connecteddrive.com/
    region: "REST_OF_WORLD" //Choose one : NORTH_AMERICA,CHINA,REST_OF_WORLD
    }
},

Module configuration

The module has a few configuration options:

Option Description
email Your username or email for the BMW Connected Drive platform.

Default: undefined
password Your password for the BMW Connected Drive platform.

Default: undefined
apiBase apiBase url for your country.

Default: www.bmw-connecteddrive.co.za
country Your BMWConnect registration country.

Check: https://www.bmw-connecteddrive.com/
refresh How often to refresh the data in minutes.

Default: 15
vehicleAngle The initial angle of rotation for the car image.

Default: 300
Between 0 and 350 in increments of 10.
distance The unit of distance used for mileage and range.

Default: miles
Can be: miles or km.

Notes

If possible the module will pull an image of your car from BMW's API. I only have one BMW, so can't test the placement/graphics of other vehicles. I'd love to see what it looks like if you try it.

No Data?

Contact me and i will try to help as best as i can. PLease note that i'm not the original developer of this module. I have just forked it and made a few changes.

Help

I have not tested for other regions except for REST_OF_WORLD, if you can, please test and let me know.

Thanks

Hat tip to Howard Durdle for the original code.

mmm-bmwconnected's People

Contributors

hdurdle avatar philmavedzenge avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.