Skip to content

Pull charging and range data from your EV via Tronity Platform

License

Notifications You must be signed in to change notification settings

robotfishe/MMM-Tronity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/

About

Pull charging and range data from your EV via Tronity Platform

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published