Zero emissions. Zero compromises
Log your vehicle data, air conditioning before driving or optimize charging…
Countless ways to make your Tesla even smarter and integrate it into your smart home.
This app is the successor of the “Tesla smartcharger” app. Tesla changed their API and introduced a new and more secure way to connect to your car.
The old app id deprecated, but will work until Tesla deactivates the Owner API (announced for Q1 2024).
Use this app as replacement. Because it’s a different app, you have to start from scratch. Add your car, migrate/adjust your flows, and if the old app isn’t needed anymore, you can remove it.
Stay tuned…it’s on the way.
How to start?
This app offers several devices you can add.
Start with the car device. This connects to your car and allows some central functions to be controlled.
Then add devices for special purposes you want to control like battery/charging, climate or location.
Every device has its own set of sensors, controls and flows.
While adding the car device, you have to authenticate with your tesla account. Then set the scopes, the app should be able to use.
After adding the car to Homey, continue the pair view and register the app in your car (if you want to send commands).
Klick on the Testa icon to start the app registration.
The link opens in Tesla app. If it’s opened in the browser, please scoll up and open it in the app.
Additional infomation
On my website you can find additional information (will be expanded in the future).
I will provide basic information about the app and the api (technology and security).
And in the blog I plan to show use cases and examples.
There you can register for a newsletter to get updated when a new blog post is published.
And you can ask for further blog posts about examples, HowTo’s and technical insights
What API is used?
This app uses the Tesla Fleet API.
Details...
You authenticate with your Tesla account (oAuth) and allow the app to connect to your car.
In addition you have to register the app in your car (like a key card) to allow the app to send commands.
Vehicle data is determined using interval retrievals. These request won’t wake up the car. But if the car is asleep or offline, the app won’t get updated data.
To control you car, commands are sent. There are two variants:
- Fleet API: The app sends simple https requests to the Fleet-API. Pre 2021 S/X models have to use this option
- Tesla Vehicle Command Protocol: The app sends encrypted and signed commands to your car. If the app is registered in your car as key, these commands are allowed and processed. This allows an end-to-end encryption and security policies. You can remove app command access in car security settings or remove the app completely in your Tesla account.
Dependent on your role (owner/driver) your car access could be restricted and it’s not allowed to register the app in your car. This can happen if the leasing company is the car owner. Please contact the leasing company and/or Tesla in this case.
Contributions:
The thanks go to…
- Bjørnar Almli for the Tesla smart charger app
- My beta testers who help find bugs and bring in good ideas
- Emanuele Iannone who built a good CommandAPI interface I could use
Help getting this app even better!
Please use “send to friends” to avoid fees.
This helps me to finance the necessary server that’s needed to provide the apps public key and the proxy server that is used for the command API.
Thanks.