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 - An Alexa skill for Amazon Echo / Tesla integration

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

Tags:
  1. mohanman

    mohanman Member

    Joined:
    Dec 3, 2016
    Messages:
    133
    Location:
    Michigan
    Great app use it every am to warm up my car right after breakfast. Just say "alexa.. tell ev car to warm up car". Done!
     
    • Like x 1
  2. FarmerDave

    FarmerDave Member

    Joined:
    Sep 3, 2015
    Messages:
    461
    Location:
    Martinsburg, PA
    Why not just turn on smart preconditioning on the controls|settings screen?

    Once and done.
     
  3. Gol4

    Gol4 Member

    Joined:
    Nov 21, 2016
    Messages:
    97
    Location:
    San Jose, CA
    Getting the car to start heating is my most often used use-case. Smart pre-conditioniang doesn't work for me personally because my time to leave varies quite a bit.

    The other often use scenario is to check if the car has been plugged in at night.
     
    • Like x 1
  4. mohanman

    mohanman Member

    Joined:
    Dec 3, 2016
    Messages:
    133
    Location:
    Michigan
    Yes, i don't leave at the same time everyday.. just need 5-10 mins before I know Im out the door, Alexa all through my house, can hear me and start it.. done.
     
  5. rush6410

    rush6410 Member

    Joined:
    Sep 26, 2016
    Messages:
    198
    Location:
    Montgomery TX
    Skill is no longer available on Alexa app. What happened?
     
  6. Macgaver

    Macgaver Member

    Joined:
    Dec 6, 2014
    Messages:
    270
    Location:
    Montreal, Canada
    I can do the same from my apple watch or my iphone via siri (or from my wife devices). Work from anywhere, not just inside the house ;-)

    It's a simple script added to homebridge. Siri can tell me the temperature in the car, tell me if my door are locked (and lock/unlock them if requested), and start/stop HPWC if asked.
     
  7. Enadler

    Enadler Member

    Joined:
    Nov 29, 2012
    Messages:
    359
    Location:
    Westchester, NY
    can you provide details on how to enable this configuration?

    Thanks
     
  8. Gol4

    Gol4 Member

    Joined:
    Nov 21, 2016
    Messages:
    97
    Location:
    San Jose, CA
    There seems to be some mess up Amazon. The skill has disappeared from the store and stopped working for some users. I have opened a case and tried to escalate it but apparently they don't work on weekends :mad:
     
  9. Macgaver

    Macgaver Member

    Joined:
    Dec 6, 2014
    Messages:
    270
    Location:
    Montreal, Canada
    You must have a small linux box running in your house, a Raspberry pi or a any other linux installation, always up. Then:
    - you install homebridge (less than 5min): GitHub - nfarina/homebridge: HomeKit support for the impatient
    - you install the homebridge addon for script: homebridge-script
    - you install testlacmd: GitHub - hjespers/teslams: Tesla Model S node.js apps and javascript libraries using Tesla's HTTP interfaces
    - you put your tesla credentials in your $HOME/.teslams/config.json (as indicated in the teslacmd homepage)
    - you put that config in your homebridge config.json (sorry for my french, replace chauffage by heating, voiture by car, porte by door):

    ======== (replace alemay by your username) =======
    {
    "accessory": "Script",
    "room": "Voiture",
    "name": "Chauffage",
    "on": "su - alemay -c '/home/alemay/src/tpoll/bin/heating start'",
    "off": "su - alemay -c '/home/alemay/src/tpoll/bin/heating stop'",
    "state": "su - alemay -c '/home/alemay/src/tpoll/bin/heating status'",
    "fileState": "/home/alemay/src/tpoll/.db/.tesla-heating",
    "on_value" : "true",
    "exact_match": true
    },
    {
    "accessory": "Script",
    "room": "Voiture",
    "name": "Porte",
    "on": "su - alemay -c '/home/alemay/src/tpoll/bin/doors lock'",
    "off": "su - alemay -c '/home/alemay/src/tpoll/bin/doors unlock'",
    "state": "su - alemay -c '/home/alemay/src/tpoll/bin/doors status'",
    "fileState": "/home/alemay/src/tpoll/.db/.tesla-locked",
    "on_value" : "true",
    "exact_match": true
    },
    =======

    My heating script is doing way more than just starting the heating (It is very tightly integrated to my monitoring platform). But as a resume:

    ============ (script called heating) ============
    #!/bin/sh

    case $1 in
    start)
    echo "ON"
    RETURN="`/usr/local/bin/teslacmd --climate start 2>&1`"
    fi
    ;;
    stop)
    echo "OFF"
    RETURN="`/usr/local/bin/teslacmd --climate stop 2>&1`"
    fi
    esac
    ==================
    After that, you will see these new devices available in the apple "home" application. Just assign a new room called "Car" and put them in that room. This way siri know that when you ask if the door is locked in the car, it's not about the home door (that I also have in siri)
     
    • Helpful x 1
  10. Enadler

    Enadler Member

    Joined:
    Nov 29, 2012
    Messages:
    359
    Location:
    Westchester, NY
    Thanks!!!
     
  11. rekoh

    rekoh Member

    Joined:
    Nov 23, 2012
    Messages:
    347
    Location:
    Minnesota
    Any updates on getting this to work on Google Home......... PLEASE!!!!!!
     
  12. Gol4

    Gol4 Member

    Joined:
    Nov 21, 2016
    Messages:
    97
    Location:
    San Jose, CA
    Its on the todo list but development for Google Assistant is quite different from Amazon Echo - so it might take a little while.
     
    • Like x 1
  13. rekoh

    rekoh Member

    Joined:
    Nov 23, 2012
    Messages:
    347
    Location:
    Minnesota
    I believe in you !! ...my attempt at building favor through compliments in order to expedite the google home development :)
     
    • Like x 1
  14. Gol4

    Gol4 Member

    Joined:
    Nov 21, 2016
    Messages:
    97
    Location:
    San Jose, CA

Share This Page