Skip to content

Back-end services to support storing and querying tesla ower API for display with tesla-dashboard

Notifications You must be signed in to change notification settings

jchull/tesla-dashboard-server

Repository files navigation

This is a work-in-progress! Security is not implemented for the API

What this project can currently do

  • Stores tesla auth token in mongodb, Tesla password never stored in DB
  • Polling service will poll Tesla API and insert vehicle data when car is charging or driving
  • Hardcoded stuff: 15 minutes session gap, if you stop charging for 15 minutes, new charge session is created, etc
  • Set up: it's really manual right now, but basically: Start a mongodb docker instance, put the connection string in config/.env (see config/sample.env for example) Then start the server, create a user using the REST API, then you can start polling. Take a look at the routes, the user route is simple, I prefer to finish the UI to allow creation of accounts, etc

docker run -d --privileged -v jenkins_home:/var/jenkins_home -p 8000:8080 -p 50000:50000 -v /var/run/docker.sock:/var/run/docker.sock -v /usr/bin/docker:/usr/bin/docker jenkins/jenkins:lts

About

Back-end services to support storing and querying tesla ower API for display with tesla-dashboard

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages