Node.js Tesla Car Controller

Alex (@alex)

50565

1

13

About This Space

Control your Tesla (any model) with this nifty app!


Last updated on May 6, 2020

Public Permissions:   View   Open/Fork   Run   Comment  

Controlling a Tesla with a NodeRun app

Hey NodeRunners,

So, here is the deal... I can't give you the credentials to my car. That might be a little dangerous! But if you have a Tesla of your own (or know someone that does), you can input your own credentials and control any Tesla car with this app.

Setting this up is a one time process:

  • Fork this space
  • Then visit: noderun.com/run/<your NodeRun profile name>/<your space name>/credentials?u=<your testlsa user>&p=<your tesla password>
  • If the login is successful, you will see your authtoken and vehicleID. Record them into the file my-tesla.json in your workspace.
  • Restart the server from the Server menu and Launch the app.

One more thing... if you see a 408 response when you run the app, your car needs to be woken up.

Enjoy!

Oh, and if you have questions or comments, feel free to comment on this space and I will do my best to reply!

Comments

Write Preview Markdown: bold italic code link
Post

5 years ago

Cool!

More Spaces By Alex (@alex)

Filters:

Popular Recent

Example of loading MongoDB data and showing it in a grid

35865

0

0

Eat other NodeRun players to win prizers

35483

4

3

React.js using Rich Display Components built in the Visual Designer

35089

0

1

Just testing some ajax calls

34933

0

1

Exploring Rich Display to build a shopping cart

34492

0

0

Static HTML Hello World App

34454

0

0

A demo of how to build Rich Displays in the Visual Designer that integrate with external CSS and JavaScript file

33937

0

0

Stateless demo app, where the mobile client or the browser would control the flow of the application

33587

0

0

This example consumes a list of countries from a GraphQL service

33376

0

0

33079

0

0

32935

0

0

ejs leading & trailing spaces

32764

0

1