For a long time I’ve been gradually adding more and more devices into my ‘smart home’ setup, including my Tesla Model S. I recently acquired a Google Home, and immediately saw a need for connecting the two – who wouldn’t want to be able to talk to their car?! Sadly nothing was immediately available (although I hope an official offering will come in future), so TeslaVoice was born!

What can it do?

You can query a number of parameters available through the Tesla API, including:

  • Charge level
  • Charge port status
  • Charge limit
  • Range
  • Temperature
  • Door status (locked/unlocked)
  • Lights (flash)
  • Horn (honk)

The ones in italics can also be modified by voice as well!

How does it work?

The voice recognition is handled by the Google Home, which is then passed through to API.AI, which interprets what the user is intending to do, and parses variables from the speech accordingly. A webhook request is then made to a configurable endpoint – in this case to a Python web server which takes the request, gathers the appropriate information from the Tesla API, and returns the desired text to Google Home.

I do run into some problems when my Model S doesn’t respond within the 10 second timeout required, but usually after the first request this problem fixes itself.

I want it!

Unfortunately I can’t publish this properly through Google, as I don’t have permission to use the Tesla trademark – however it should be possible for you to host this on your own network and push a “test” version to Google Home. All the details for setting this up are described on the GitHub project page

I’m considering setting up a third-party service to get around this trademark restriction, so if you’re interested in this being a proper application rather than some hacked-together code then please leave a comment!

8 thoughts on “TeslaVoice

  1. Pingback: Tesla owner taps into Google Home to control their Model S using voice commands РEnjeux énergies et environnement

  2. Hi Matt Dyson,

    For me these voice control features you developed are very handy, but just the beginning. Let me explain.
    Although my left hand is quite ok, I’m born with a small handicap at my right hand. Therefore I cannot control my individual fingers in detail. Sadly I cannot play the piano by that.
    But when I buy my future Tesla model 3 in over a little year, I would like to have full control over the centerscreen by voice command. But then really, in stead of touching the screen, all buttons and commands in the software of the screen by speech / voice.
    So I would like to see this developed more and more.
    I am not a technical guy, so I cannot develope it further by myself. Maybe a bussiness opportunity for you here, cause I think there will be many more people who want this feature in their Tesla / other brand cars.
    Let me know if you have any questions or ideas.

    Thank you in advance,

    With kind regards,

    Peter Stringa

  3. Pingback: Tesla owner taps into Google Home to control their Model S using voice commands - Padtronics

  4. This is pretty cool. I’d like to see it properly in the Play Store. Good luck!
    Let me know if it gets put up there, I’ll write about it in my blog.

  5. Pingback: Tesla Model S owners can talk to their car through Google Home

  6. Pingback: Voice Control A Tesla Via Google Home - Video

  7. Would love this to be an app or function. Could you call it something that doesn’t interfere with the Tesla trademark. I have no idea. Will this work for the Model X?

Leave a Reply

Your email address will not be published. Required fields are marked *