Elevate your enterprise data technology and strategy at Transform 2021.
While Tesla has not released a public API for developers to date, that does not stop one from hacking on the car anyway. Over the weekend I put together a working prototype with many of my favorite technologies, including: a drone, Golang, an Amazon Echo, AWS Lambda, and, of course, a Tesla Model S.
A fun weekend project for sure, but there are a lot of security issues to address before I leave this skill enabled on my Echo. Not the least of which is the fact my kids could have a lot of fun asking the Tesla to pull in and out of the garage repeatedly while I am fast asleep.
The day will come soon where I may also apply voice biometrics and computer vision to properly secure such a use case. Imagine the day I could ask Alexa from within my house to get my car ready. The car pulls out of the garage and adjusts its settings to my preferences based on the weather, opening my sunroof and windows on a nice sunny day. All the technologies are already here, it’s a matter of stringing them together just right.
The tech behind this is all based in the cloud. I am using the Amazon Echo’s Alexa Skills Kit to trigger on a keyword (‘ask KITT’) and send the resulting event to AWS Lambda. Lambda then executes my code (I built my Lambda function with Apex, which I highly recommend for anyone working with Lambda), where I use the Tesla Golang library I recently published. The Golang code on Lambda then calls the unofficial Tesla API, which in turns triggers the car to take action. In this case, to open the garage door via Homelink and drive on out using the summon capability. You may see the various code snippets needed to tie this together here. If you have a look, with the power of the cloud it is actually very little code. Amazing.
The conclusion here is that no cloud API is truly unpublished. Our friends at Tesla should work with the burgeoning developer community to open a fully supported and safe public API. The real power of any cloud-connected platform, whether it be an iPhone or an amazing electric vehicle, may only be fully realized by building and encouraging a vibrant developer ecosystem. Tesla has built the beginnings of an excellent platform, but it will take a concerted effort to attract developers to build the apps that even Elon Musk hasn’t dreamed of (yet).
Every single cloud connected platform must design for developers as first class users, just as they do for end users. Tesla and Elon, are you up for it?
[This story originally appeared on Jason Goecke’s Medium blog.]
Jason Goecke is general manager at cloud voice and messaging API company Tropo, owned by Cisco. The ideas in this post are his own and do not reflect the opinions of Tropo or Cisco.
VentureBeatVentureBeat's mission is to be a digital town square for technical decision-makers to gain knowledge about transformative technology and transact. Our site delivers essential information on data technologies and strategies to guide you as you lead your organizations. We invite you to become a member of our community, to access:
- up-to-date information on the subjects of interest to you
- our newsletters
- gated thought-leader content and discounted access to our prized events, such as Transform 2021: Learn More
- networking features, and more