Skip to content
A MagicMirror widget showing the status of my Tesla
JavaScript CSS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci fixed readme and added more Jun 20, 2019
docs/images
.eslintrc import code Jun 20, 2019
.gitignore import code Jun 20, 2019
.npmrc import code Jun 20, 2019
.prettierrc import code Jun 20, 2019
LICENSE import code Jun 20, 2019
MMM-TeslaStatus.css fixed readme and added more Jun 20, 2019
MMM-TeslaStatus.js fixed readme and added more Jun 20, 2019
README.md fixed readme and added more Jun 20, 2019
node_helper.js import code Jun 20, 2019
package.json updated the package name Jun 20, 2019

README.md

MMM-TeslaStatus

A MagicMirror's Module to show my Tesla status using Firebase Realtime Database

The project consumes data posted by https://github.com/aduyng/tesla-client which pushes tesla status to a firebase.

CircleCI

Screenshots

status

Installation

1. Setup the MagicMirror module

cd ~/MagicMirror/modules
git clone https://github.com/aduyng/MMM-TeslaStatus.git
cd MMM-TeslaStatus
npm install --production

2. Setup Firebase Realtime Database

You will need a realtime database for Smartthings to push the device status to. Follow this tutorial, https://firebase.google.com/docs/web/setup, to setup a Firebase project and a realtime database.

Take note of the project configuration especially the realtime database URL.

Configuration

  {
			module: "MMM-TeslaStatus",
			position: "top_right",
			config: {
				firebaseDatabaseRootRef: '/vehicles/<vehicleId>', // the path of the realtime database to listen to
				firebaseConfig : {
					apiKey: "<the api key>",
					databaseURL: "<the realtime database URL>",
					projectId: "<the project id>",
					appId: "<the appId - optional>"
				}
			}
  }
You can’t perform that action at this time.