iModernize - The Profound Logic Software Blog

How I Controlled My Tesla Model 3 with Node.js

Posted by Alex Roytman on Mar 15, 2018 9:37:13 AM

1078702682_4826469825001_1604CRO-Tesla-Model-3-Announcement-StillB.jpgRecently I purchased the brand new Model 3 from Tesla. This fully electric vehicle is smaller and more affordable than Tesla's original Model S. But - being the techie that I am - I was REALLY drawn not only to the fully electric motor, but the advanced software capabilities that Tesla has in their vehicles. In fact, I'd go so far as to say that the Tesla cars are more software than car!

Just some of the advanced features include:

  • Automatic driving
  • Automatic parking (both in a parking spot and parallel parking)
  • Unique user identification
  • Continuous internet  connection
  • Remote control through mobile app

Inspired by the amazing software development that Tesla has put into the Model 3, I decided to do something a little crazy. I wondered, "Could I create a Node.js browser interface to control my Model 3?"

The answer was a resounding, "Yes!"

You can see the result in the following video: 

 

 

In the video, you'll see how I used my company's new Node.js-based product - Profound.js - to control the Tesla Model 3. This was relatively easy to do because the Tesla Model 3's remote control app uses REST API and JSON to communicate with the car. 

The interface I created was built using the Profound.js Visual Design tool and Node.js. This allows me to see the battery gauge, measure the inside and outside temperature of the car, find the location via Google Maps, honk the horn, flash the lights, lock and unlock the car, and open the charge port and trunk - all from my Profound.js application! 

Tesla3Interface2.png

Watch the video to learn more

Topics: Node.js, IBM i Modernization, AS 400, iSeries, Tesla, Model 3, Profound Logic, AS_400, IBM i, Profound.js

Subscribe to Blog Updates

...and get The 2017 State of IBM i Modernization White Paper FREE!

cover page.png

Recent Posts