Hi there,
I use this integration. Works great and I can push these kind of commands to the car perfectly fine. Releases · alandtse/tesla · GitHub
Hi there,
I use this integration. Works great and I can push these kind of commands to the car perfectly fine. Releases · alandtse/tesla · GitHub
Hey, i did an automation in that sends a notification to my wife’s phone when I’m on my way home, including the estimated arrival time. you could also set the condition, when you leave the work zone.
alias: "Benachrichtigung: Bin auf Heimweg"
description: ""
trigger:
- platform: state
entity_id:
- device_tracker.tesla_destination_location_tracker
to: home
condition: []
action:
- service: notify.mobile_app_nadine
metadata: {}
data:
title: Bin bald da
message: >
Hallo Schatz 😘, ich bin auf dem Weg nach Hause. 🏡 Meine
voraussichtliche Ankunftszeit ist {{
states('sensor.tesla_arrival_time') }}. ⏰
data:
importance: high
priority: high
mode: single
What did you do to make the Tesla Integration connect to your Tesla ? In my case, the Integration “reads” from my Tesla but does not “write” to it.
I have seen some solutions but they seem pretty complicated (to me).
Really? Try reading the instructions! GitHub - alandtse/tesla: Tesla custom integration for Home Assistant. This requires a refresh token be generated by third-party apps to login.
Hi @nickrout I actually started to install the Tesla Fleet Api but the problem is I don’t have a domain name (FQDN) with a valid SSL certificate (as needed in the tesla-http-proxy-addon) … my HA is not actually being exposed to the internet - it only works from inside my LAN or using NabuCasa if I want to access from the outside.
So, just to double check: you have a Domain Name and SSL right?
Thank you
No I use Tessie, which has its own way to access the fleet as API.
Be aware that a native Tesla integration is apparently due in 2024.8. So maybe wait to see how that works.
Ouh ! Ok … I did see the Tessie and it’s amazing Now I don’t have money but it is in my list !
Thanks
Hi everyone,
I was looking for automation ideas with my tesla. Thought I would share 2 of mine.
I don’t like having to open the app and find the button and press it to open the frunk. So, I stuck a small NFC sticker under the driver side wing mirror. All I have to do is to bring my phone under the wing mirror and the frunk will pop open.
Again, I am annoyed that there is no button in unlock the charging port once plugged in. You have to use the app to unlock the port. This is only applicable to 3rd party chargers. If you are using Tesla wall charger or supercharger, you can simply press the button the plug to unlock the port. I now have created an automation, that if the car is at home and plugged in, when I open the front door, the charge port will unlock and I can simply pull the cable out. Please note, I am not taking about the charge port door.
What I am still trying to find a reliable solution to, is to open my gate when I arrive home. Currently I use the phone location which is hit and miss. I tried to use the tesla location but as it is polling every 11 mins it is not going to help as my usual commute is under 10 mins. I tried to force to poll every 60 seconds but still not working great. Any suggestions for this automation would be appreciated.
Cheers
Would you mind sharing your automation. Keen to know how you sorted the polling issue
There is nothing special I’m doing in the automation; simply triggering when the state of the device tracker changes to home
. However I’m not using the device tracker the integration provides; instead I am using Teslamate and using the device tracker device that is created from the info that Teslamate publishes to MQTT.
I HAD an automation that opened the charger latch when my garage (MyQ) door opened. That stopped working when MyQ changed its API.( I am not willing to pay the ridiculous amount that MyQ now asks for access to the API).
Then I created an automation to open the latch when my Tesla location was at home and the car in parked. That stopped working when the Tesla Integration no longer accepted commands.
I also had an automation to limit the charging rate to 20 amps. I have a private garage in my condo building but the electrical power coming to the garage is max 30 amps. The breaker is elsewhere in the building.
I look forward to the 2024.9 upgrade which hopefully will allow to send commands .
That is the plan. Also you could use the Tessie integration which allows commands.
too expensive unfortunately
Then you’ll have to wait I guess or use the Alan Tse custom integration.
I guess that is the complicated setup… I am not techie enough for that. I’ll patiently waiting for the upgrade
Thanks for replying. I have not tried teslamate. Does it update the location instantly? Do I have to pay for it?
It is a docker container (actually several containers) you have to run; it queries Tesla’s servers and collects a whole bunch of info about your car and what it is doing at that moment. And gives you lots of dashboards in Grafana to look at all the data. It is free.
When the car is moving it updates every few seconds with a latency of a few seconds as well. When I pull up to my garage I have to wait about 5 seconds before it opens. You could combat this with a larger home zone or a second zone that is on the way to your garage.
I would say it is a lot of software to run if all you care about is car location.
I had my automation triggered by the device tracker from the HA integration at one point and I don’t recall the update rate being bad. I had a few instances of my car jumping home for a few seconds while I was miles away, and that’s why I switched. I already had the Teslamate device tracker anyway.
Hello,
I managed to make automation with location on the tesla integration work. I wrote automation, to update polling interval to 10 seconds when connected to bluetooth. I had to add the VIN number for it to work. Now it is updating every 10-20 seconds which is good enough. When I get off the car (no user present) polling goes back to default 11 minutes. So, the gate is so far reliably opening when the car is near. Like I said, this is all I wanted so am not bothering with Teslamate for now. I do not want too many services polling the car.
Interesting. I am not familiar with Docker.
I am going to wait for the 2024.9 update of the new Tesla Integration and see of that addresses (most of) my needs. If not, I may delve into Docker.
Can we just clarify please what integration you are using?
HA’s teslafleet Tesla Fleet - Home Assistant
or the alan tse custom GitHub - alandtse/tesla: Tesla custom integration for Home Assistant. This requires a refresh token be generated by third-party apps to login.
or HA’s tessie Tessie - Home Assistant