Coder Social home page Coder Social logo

mmm-tronity's Introduction

MMM-Tronity

Pull charging and range data from your EV via Tronity Platform.

Installation:

Run git clone https://github.com/robotfishe/MMM-Tronity.git
Run npm install

Configuration:

Add the following section to your config.js:

{
module: "MMM-Tronity",
position: "",
config: {
clientId: "",
clientSecret: "",
vehicleId: "",
mapboxApiKey: "",
}
},

You will need a Tronity account and a vehicle set up for API access via Tronity Platform. Input your client ID, client secret, and vehicle ID in the config lines. Fill in the "position" variable based on where you want the panel on your MagicMirror.

You will also need a Mapbox api (available at https://account.mapbox.com/auth/signup/) UNLESS you turn the maps feature off (see below).

Additional optional config variables are:
metricRange (default is TRUE): set this to false if you want your range displayed in miles.
updateInterval (default is 5 minutes): changes frequency of updates; expressed in milliseconds.
map (default is TRUE): set this to false if you don't want a map of your car's current location displayed.
mapboxStyle (default is "satellite-streets-v11"): use this to change the map style; see the options at https://docs.mapbox.com/api/maps/styles/

mmm-tronity's People

Contributors

robotfishe avatar

Stargazers

fewieden avatar Seongnoh Sean Yi avatar

Watchers

 avatar

mmm-tronity's Issues

Blowing up MagicMirror-out.log (+8GB in 48 hours)

MMM-Tronity is filling up MagicMirror-out.log with
[LOG] Socket notification received GET_CAR_DATA
[LOG] vehicle ID.....
[LOG] Vehicle data url https://api.tronity.tech....
[LOG] Sending GET request with auth token: .....................................................................
Creating more than 8 GB(!) data within 48 hours.

2 Vehicle dont work

Hi,

when i ad 2 vehicel with two times the modul it only show stats of one car.

best regards
Alwin

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.