TMC is an independent, primarily volunteer organization that relies on ad revenue to cover its operating costs. Please consider whitelisting TMC on your ad blocker and becoming a Supporting Member. For more info: Support TMC

EV Car/My Tesla - An Alexa skill for Amazon Echo / Tesla integration

Discussion in 'Model S: User Interface' started by Gol4, Jan 24, 2017.

  1. sorka

    sorka Well-Known Member

    Joined:
    Feb 28, 2015
    Messages:
    7,402
    Location:
    Merced, CA
    Great and I just enabled the skill but haven't had a chance to try it since i did it away from home.

    So what's the plan now? Can we run a proxy on our own pcs at home so that tesla doesn't know it's AWS?
     
  2. Gol4

    Gol4 Member

    Joined:
    Nov 21, 2016
    Messages:
    222
    Location:
    San Jose, CA
    OK, I've created a proxy to bounce the tesla APIs off of another server I own. I've used it a bunch today and it seems to be working reliable albeit with a little more latency. You can go to the Alexa app and go through the account linking now. If you previously enabled the skill, it should just work.
     
  3. Gol4

    Gol4 Member

    Joined:
    Nov 21, 2016
    Messages:
    222
    Location:
    San Jose, CA
    FYI: Support for UK was added in this version so it should be available there too.
     
  4. Gol4

    Gol4 Member

    Joined:
    Nov 21, 2016
    Messages:
    222
    Location:
    San Jose, CA
    FYI: The API seems to be down right now. Even the official phone app from Tesla is not working.
     
    • Like x 1
  5. Gol4

    Gol4 Member

    Joined:
    Nov 21, 2016
    Messages:
    222
    Location:
    San Jose, CA
    Update: Looks like its been working fine since yesterday.

    For anyone interested, here are a list of changes that have gone in since the first release (release notes):

    2017-03-05 Ver-1-0
    ==================
    Added a proxy as a workaround for AWS blacklisting
    Bug Fixes

    2017-02-15 Ver-0-9
    ==================
    Added support for "what is the charge limit"
    Added support for "set charge limit to <85>"
    Added support for "is my car locked"
    Removed lock/unlock intents (as required by Amazon)
    Location data is more specific and reliable.
    Handle location-not-found gracefully

    2017-02-02 Ver-0-8
    ==================
    Removed Intent names from card title (request by certification team)
    Identify "charge completed" scenario (instead of just saying "not charging")

    2017-01-30 Ver-0-7
    ==================
    Added variations for honk ("honk the horn").
    Spoken range numbers are now more specific.
    Added additional support for climate start/stop:
    - start the A.C.
    - stop the heater

    2017-01-26 Ver-0-6
    ==================
    Added support for charging start/stop
    In some instances, conditioner start/stop would return errors.
    Graceful handling of some error conditions.
    Fixed "Ask EV Car for location"
     
    • Informative x 1
  6. Gol4

    Gol4 Member

    Joined:
    Nov 21, 2016
    Messages:
    222
    Location:
    San Jose, CA
    And finally, our other Alexa Skill called "My Tesla" has been approved by Amazon. This is for people who were not very thrilled with having to use the "EV Car" invocation name. With the new skill, the invocation name is "my car". So the interaction would be like:

    Alexa, ask my car to turn the heater on
    Alexa ask my car how far can I drive

    To enable this skill, look for the "My Tesla (Unofficial)" skill. Here is a direct link:
    https://www.amazon.com/dp/B01N9Y4I1E

    For now both "EV Car" and "My Tesla" have identical functionality and you have both enabled at the same time if you want. Going forward, EV Car would be expanded to add support for other vehicles.
     
    • Like x 2
    • Love x 1
  7. MG1234

    MG1234 Member

    Joined:
    May 3, 2016
    Messages:
    44
    Location:
    New Jersey

    No problem if too soon to ask: excited about multiple car support when available (as we have a Model S and Model X and really want to use this on the Model X).
     
  8. S85D

    S85D Member

    Joined:
    Jun 2, 2015
    Messages:
    624
    Location:
    Austin, TX
    I am getting the following error message the first time I ask Alexa for car updates:

    "There was an error connectivity to car: Code 408"

    If I ask for updates soon after the first error is works ok.

    I am using Alexa in FireTV so I don't know if this is causing the issue. I just purchased an Alexa Echo and it will arrive on Saturday so I will test it with the Alexa Echo.
     
  9. Gol4

    Gol4 Member

    Joined:
    Nov 21, 2016
    Messages:
    222
    Location:
    San Jose, CA
    I don't think it is related to using the Fire TV. I just tried using a Fire TV and it seems to be fine. Looking at the logs, there were a few "408" and "500" errors about 9 hours ago. Since then a few hundred hits have all been fine. I suspect some intermittent issues with Tesla servers. If you consistently see issue please post again.
     
  10. Gol4

    Gol4 Member

    Joined:
    Nov 21, 2016
    Messages:
    222
    Location:
    San Jose, CA
    That is the next feature planned. The implementation is a little complicated though. One of the design goals is to not store any user information (token/email/password etc). That makes it a little difficult to store persistent user specific information. Some interaction will also have to to be built to be able to choose and switch between multiple cars.

    I do have a few idea though and hope to make some headway this weekend.
     
  11. kort677

    kort677 Banned

    Joined:
    Sep 17, 2015
    Messages:
    4,801
    Location:
    florida.
    thanks for all the work done to get these skills working properly
     
  12. rjcbox

    rjcbox Member

    Joined:
    Sep 4, 2013
    Messages:
    543
    Location:
    PA, USA
    Thanks , this is great!
     
  13. JohnFTL

    JohnFTL Member

    Joined:
    Jan 1, 2017
    Messages:
    7
    Location:
    Ft. Lauderdale, FL
    Error code :500 reported now.
     
  14. S85D

    S85D Member

    Joined:
    Jun 2, 2015
    Messages:
    624
    Location:
    Austin, TX
    I got an Alexa Echo on Saturday and ask for the car status and got another Error code 408 so it is definitely not specific to the Fire TV.

    it is still a GREAT skill. Thanks for developing it for us.
     
  15. Gol4

    Gol4 Member

    Joined:
    Nov 21, 2016
    Messages:
    222
    Location:
    San Jose, CA
    Looks like Tesla is doing some kind of throttling on its API endpoints. Other API users have reported the same problem (see below). Thats not something we control so cant really do much about it.
    Model S REST API

    Part of the problem I believe is that there a number of apps that run in the background constantly checking for how "you and your friends are driving". They constantly hammer the Tesla servers irrespective of whether you use the app or not. That is just irresponsible design and will end up with Tesla throttling aggressively or just turning off public API access. the solution for Tesla is to make a formal program for giving out unique developer keys and then control or throttle based on individual developers.
     
  16. artsci

    artsci Sponsor

    Joined:
    May 10, 2012
    Messages:
    6,191
    Location:
    Timonium, Maryland
    i assume you mean Teslab. I have to say that it's one of the most PIA apps developed for the car.
     
  17. contaygious

    contaygious Active Member

    Joined:
    Jul 25, 2012
    Messages:
    1,102
    Location:
    Marina, San Francisco
    Thx got the tesla one! How come I cant say ask my tesla though?

    Works fine for me!
     
  18. tliving

    tliving Member

    Joined:
    Mar 8, 2014
    Messages:
    751
    Location:
    New England, USA
    Teslab does not ping the car unless you are in motion. It knows that from the phone's location information, not the cars. Teslab uses most of the location information from the phone, not from Tesla's servers so it puts a great deal LESS load on Tesla's servers than most other sites.
     
    • Informative x 1
  19. Joelc

    Joelc Member

    Joined:
    Oct 21, 2015
    Messages:
    119
    Location:
    San Mateo, CA
    Just enabled the Alexa app. works great! thanks!
     
    • Like x 1
  20. Gol4

    Gol4 Member

    Joined:
    Nov 21, 2016
    Messages:
    222
    Location:
    San Jose, CA
    A new version of this skill has been updated with support for multiple cars. The backend is in place and new functionality itself will be available as soon as Amazon certifies the new version. Will post here when that happens.

    Some performance improvements and bug fixes have also gone in to the backend. If you see any issues, please post here.
     
    • Like x 4

Share This Page

  • About Us

    Formed in 2006, Tesla Motors Club (TMC) was the first independent online Tesla community. Today it remains the largest and most dynamic community of Tesla enthusiasts. Learn more.
  • Do you value your experience at TMC? Consider becoming a Supporting Member of Tesla Motors Club. As a thank you for your contribution, you'll get nearly no ads in the Community and Groups sections. Additional perks are available depending on the level of contribution. Please visit the Account Upgrades page for more details.


    SUPPORT TMC