Openhab and Tesla API

  • SUPPORT THE SITE AND ENJOY A PREMIUM EXPERIENCE!
    Welcome to Tesla Owners Online, four years young! For a low subscription fee, you will receive access to an ad-free version of TOO. We now offer yearly memberships! You can subscribe via this direct link:
    https://teslaownersonline.com/account/upgrades

    SUBSCRIBE TO OUR YOUTUBE CHANNEL!
    Did you know we have a YouTube channel that's all about Tesla? Lots of Tesla information, fun, vlogs, product reviews, and a weekly Tesla Owners Online Podcast as well!

Thalass

Active member
Joined
Apr 10, 2016
Messages
51
Location
Ontario, Canada
#1
So I've been into home automation for a while, but not having wads of cash to throw at shiny toys all the time progress has been slow. I've had Openhab running on a Raspberry Pi2, showing some weather info and controlling an ESP8266 arduino device and that's about it. But today I updated to Openhab2 and while scrolling through the list of bindings (addons) I came across this Tesla binding.

It uses the API from the mobile app to see information and control some aspects of the car. This obviously does present some security concerns, but the source code is there to be inspected at least.

The thing I'm most interested in is the climate control and charging options. I can have a rule set up to start charging after off-peak rates start, and to warm up the car (and battery) before my usual departure times - but only if the weather (another binding) is cold enough.


Now I just need the car... >.>
 

Jamaicaman

Active member
Joined
May 29, 2016
Messages
27
Location
Livonia, Michigan
Country
Country
#2
That is so sweet! I too enjoy home automation. I managed to program my watch to remotely start our Volts with a slight modification of code using 'Tasker" and Onstar. Should be great fun once we have a Model 3 in our hands!