Plugin for the Tesla Model S Electric car?

Anyone else considering a plugin for the Tesla Model S? My car will be delivered in march 2014, and you can remotely control some stuff of the car (heating, location detection, etc). Would be very cool to be able to access this through the Vera.

Info: http://docs.timdorr.apiary.io

The API looks pretty clean. Most of the work would be in writing the HTTP layer, capturing the login cookie and then remembering to send it with future requests.

That said, I won’t be writing it because they don’t sell Tesla cars here. Also you probably cannot lend me yours for development and testing. So you’ve got from now till March to learn Lua, socket programming and HTTP. Should be easy.

From a security perspective, keeping the login cookie safe from being exposed on Vera will be tricky. I don’t see any way to invalidate a cookie in the API so there’s the risk of session hijacking. All traffic is at least over HTTPS so the risk of replay attacks is minimal.