Node.js Tesla Car Controller
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!
More Spaces By Alex (@alex)
This is a simple demo of Fibers! Fibers simplifies code by avoiding messy code known as "callback hell", "promises hell", or "async/await hell". Once Fibers is setup, you never have to think about callbacks or promises (they are handled automatically for you).
36597
0
0
This is a simple demo of Fibers! Fibers simplifies code by avoiding messy code known as "callback hell", "promises hell", or "async/await hell". Once Fibers is setup, you never have to think about callbacks or promises (they are handled automatically for you).
35177
0
0
52421
0
3
51776
0
2
Comments
Peter Boesman
5 years ago
Cool!