{"id":13830614,"url":"https://github.com/aduyng/MMM-TeslaStatus","last_synced_at":"2025-07-09T12:30:41.526Z","repository":{"id":140786522,"uuid":"192848320","full_name":"aduyng/MMM-TeslaStatus","owner":"aduyng","description":"A MagicMirror widget showing the status of my Tesla","archived":false,"fork":false,"pushed_at":"2019-06-20T05:12:38.000Z","size":80,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-08-04T10:03:29.931Z","etag":null,"topics":["firebase","firebase-database","magicmirror2","nodejs"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aduyng.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2019-06-20T04:27:28.000Z","updated_at":"2019-06-27T05:54:43.000Z","dependencies_parsed_at":"2024-01-15T17:39:12.211Z","dependency_job_id":null,"html_url":"https://github.com/aduyng/MMM-TeslaStatus","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aduyng%2FMMM-TeslaStatus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aduyng%2FMMM-TeslaStatus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aduyng%2FMMM-TeslaStatus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aduyng%2FMMM-TeslaStatus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aduyng","download_url":"https://codeload.github.com/aduyng/MMM-TeslaStatus/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225539460,"owners_count":17485337,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["firebase","firebase-database","magicmirror2","nodejs"],"created_at":"2024-08-04T10:01:03.093Z","updated_at":"2024-11-20T11:31:03.678Z","avatar_url":"https://github.com/aduyng.png","language":"JavaScript","funding_links":[],"categories":["Hardware"],"sub_categories":[],"readme":"# MMM-TeslaStatus\nA [MagicMirror](https://github.com/MichMich/MagicMirror)'s Module to show my Tesla status using [Firebase Realtime Database](https://firebase.google.com/docs/database)\n\nThe project consumes data posted by [https://github.com/aduyng/tesla-client](https://github.com/aduyng/tesla-client) which pushes tesla status to a firebase.\n\n[![CircleCI](https://circleci.com/gh/aduyng/MMM-TeslaStatus/tree/master.svg?style=svg)](https://circleci.com/gh/aduyng/MMM-TeslaStatus/tree/master)\n\n## Screenshots\n![status](./docs/images/tesla.png)\n\n## Installation\n### 1. Setup the MagicMirror module\n```bash\ncd ~/MagicMirror/modules\ngit clone https://github.com/aduyng/MMM-TeslaStatus.git\ncd MMM-TeslaStatus\nnpm install --production\n```\n### 2. Setup Firebase Realtime Database\nYou 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.\n\nTake note of the project configuration especially the realtime database URL.\n\n## Configuration\n```javascript\n  {\n\t\t\tmodule: \"MMM-TeslaStatus\",\n\t\t\tposition: \"top_right\",\n\t\t\tconfig: {\n\t\t\t\tfirebaseDatabaseRootRef: '/vehicles/\u003cvehicleId\u003e', // the path of the realtime database to listen to\n\t\t\t\tfirebaseConfig : {\n\t\t\t\t\tapiKey: \"\u003cthe api key\u003e\",\n\t\t\t\t\tdatabaseURL: \"\u003cthe realtime database URL\u003e\",\n\t\t\t\t\tprojectId: \"\u003cthe project id\u003e\",\n\t\t\t\t\tappId: \"\u003cthe appId - optional\u003e\"\n\t\t\t\t}\n\t\t\t}\n  }\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faduyng%2FMMM-TeslaStatus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faduyng%2FMMM-TeslaStatus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faduyng%2FMMM-TeslaStatus/lists"}