# \[APP\]\[Pro\] Tesla Car & Energy - Zero emissions. Zero compromises

**URL:** https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824
**Category:** Apps
**Tags:** app, homey-pro
**Created:** [January 11, 2024, 5:15pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824 "2024-01-11T17:15:52Z")
**Posts on this page:** 20
**Page:** 46

<div class="post-metadata">

### Author: ![RonnyW](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronnyw/32/10879_2.png) [@RonnyW](https://community.homey.app/u/RonnyW)
#### Post date: [May 4, 2025, 2:15pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/914 "2025-05-04T14:15:30Z")

</div>

Which app version are you using?

---

<div class="post-metadata">

### Author: ![kjeet90](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kjeet90/32/45190_2.png) [@kjeet90](https://community.homey.app/u/kjeet90)
#### Post date: [May 4, 2025, 2:27pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/915 "2025-05-04T14:27:10Z")

</div>

v2.3.1

---

<div class="post-metadata">

### Author: ![RonnyW](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronnyw/32/10879_2.png) [@RonnyW](https://community.homey.app/u/RonnyW)
#### Post date: [May 4, 2025, 2:49pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/916 "2025-05-04T14:49:23Z")

</div>

It seems the app could not create the API. Can you please:

- restart the app, then create a diagnostics report
- then send a command, then create a second diagnostics report

Thanks.

---

<div class="post-metadata">

### Author: ![kjeet90](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kjeet90/32/45190_2.png) [@kjeet90](https://community.homey.app/u/kjeet90)
#### Post date: [May 4, 2025, 3:03pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/917 "2025-05-04T15:03:20Z")

</div>

After restart: cbae82d5-4e92-4be9-a82f-0adf588335c9  
After command: 06c746eb-bd6d-4a42-ada5-5014a73fba4c

---

<div class="post-metadata">

### Author: ![RonnyW](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronnyw/32/10879_2.png) [@RonnyW](https://community.homey.app/u/RonnyW)
#### Post date: [May 4, 2025, 3:06pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/918 "2025-05-04T15:06:54Z")

</div>

It seems, there is no public/private key stored in the app.  
The public key file is existing (used for adding to the car), but the app internal keys are missing.  
Did something fail during pairing?

Did you repair an existing car device or did you pair a new one?

Did you perhaps add another client\_id (or change it in pair/repair view) after pairing the device?  
This will clear the app certificate.

Please try:

- Remove the car key in your car.
- Start a new repair process, set client\_id and client\_secret, proceed to oAuth popup (if you did not clear cookies, this will be passed).
- Now the app should have a new certificate. Pair your car again.  
🤞

---

<div class="post-metadata">

### Author: ![kjeet90](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kjeet90/32/45190_2.png) [@kjeet90](https://community.homey.app/u/kjeet90)
#### Post date: [May 4, 2025, 4:30pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/919 "2025-05-04T16:30:02Z")

</div>

> [@RonnyW](#):
>
> Did something fail during pairing?

Not that I can recall, a while since I paired it for the first time.

> [@RonnyW](#):
>
> Did you repair an existing car device or did you pair a new one?

I only tried repair the existing

> [@RonnyW](#):
>
> Did you perhaps add another client\_id (or change it in pair/repair view) after pairing the device?

No, these have been the same all along.

> [@RonnyW](#):
>
> Please try:
> 
> - Remove the car key in your car.
> - Start a new repair process, set client\_id and client\_secret, proceed to oAuth popup (if you did not clear cookies, this will be passed).
> - Now the app should have a new certificate. Pair your car again.

Yepp, this did the trick! 😀 At first I wasn’t able to add the virtual key back when trying a few times, but after the car had gone to sleep it worked 🤷

Thanks so much for the help and work you’ve done with this app!

---

<div class="post-metadata">

### Author: ![Miguel\_Estevez](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/miguel_estevez/32/124954_2.png) [@Miguel\_Estevez](https://community.homey.app/u/Miguel_Estevez)
#### Post date: [May 6, 2025, 11:01am UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/920 "2025-05-06T11:01:35Z")

</div>

Hi,

I have the following error after creating the App (I have tried with 5 different apps, so I think is not the Tesla config, and I have changed the password but the error is a different one):

422 Unprocessable Entity: {“response”:null,“error”:“Validation failed: Domain has already been taken”,“error\_description”:“”,“txid”:“e77f6e…e4”}

 ![Arc_HaiEeDPRvm](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/9/694f0f9dafca968c33e7868193b2a21752e70f39.png)

Can anyone help me, please? Thanks in advance! 🙂

---

<div class="post-metadata">

### Author: ![RonnyW](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronnyw/32/10879_2.png) [@RonnyW](https://community.homey.app/u/RonnyW)
#### Post date: [May 6, 2025, 11:25am UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/921 "2025-05-06T11:25:49Z")

</div>

This error means: The domain where the public key for your client\_id is stored is already assigned to another client\_id.  
Did you try to use a second client\_id for the app now? That won’t work.  
The domain is Homey specific. So your Homey has it’s own virtual (sub) domain. And it seems this was already registered to another client\_id.

You can now only switch back to the client\_id you used first for Homey.  
And the client\_id/domain is app/Homey specific. It’s not possible to use different client\_id’s for different cars in one Homey (if you tried that 🙂 ). If you want to use more than one car in Homey, they have to share the usage limit.

---

<div class="post-metadata">

### Author: ![Miguel\_Estevez](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/miguel_estevez/32/124954_2.png) [@Miguel\_Estevez](https://community.homey.app/u/Miguel_Estevez)
#### Post date: [May 6, 2025, 4:44pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/922 "2025-05-06T16:44:18Z")

</div>

Thanks for anwering that fast! 🙂  
I can’t use the previous app because I did it with another Tesla account (I was testing ☹ ), do you know how can I reset it or if it’s even possible? thanks again!

---

<div class="post-metadata">

### Author: ![RonnyW](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronnyw/32/10879_2.png) [@RonnyW](https://community.homey.app/u/RonnyW)
#### Post date: [May 6, 2025, 5:50pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/923 "2025-05-06T17:50:37Z")

</div>

With “another app” you mean another client\_id?  
If it your (second) Tesla account? That’s ok. You don’t need to use your car account for the developer account. You only have to clear browser cookies for [tesla.com](http://tesla.com) before start pairing/repair to login with your car account if you was logged in with your developer account before.

And no, there is currently no way to deregister a domain. I requested it at Tesla but got no answer yet.

---

<div class="post-metadata">

### Author: ![Magnus\_Sward](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/magnus_sward/32/97271_2.png) [@Magnus\_Sward](https://community.homey.app/u/Magnus_Sward)
#### Post date: [May 15, 2025, 6:13am UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/924 "2025-05-15T06:13:55Z")

</div>

I have same problem. Data reading OK, but not able to send commands. Does anyone have any tips?

---

<div class="post-metadata">

### Author: ![RonnyW](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronnyw/32/10879_2.png) [@RonnyW](https://community.homey.app/u/RonnyW)
#### Post date: [May 15, 2025, 6:57am UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/925 "2025-05-15T06:57:37Z")

</div>

Did you add the app as car key? You can use the repair view to add the key. You are forwarded to the Tesla all to allow the access.

---

<div class="post-metadata">

### Author: ![Magnus\_Sward](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/magnus_sward/32/97271_2.png) [@Magnus\_Sward](https://community.homey.app/u/Magnus_Sward)
#### Post date: [May 15, 2025, 1:35pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/926 "2025-05-15T13:35:06Z")

</div>

Ys, I have done that twice.

---

<div class="post-metadata">

### Author: ![copiis](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/copiis/32/171978_2.png) [@copiis](https://community.homey.app/u/copiis)
#### Post date: [May 21, 2025, 3:08pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/927 "2025-05-21T15:08:25Z")

</div>

I’ve refined the flow again.

Now the online interval is calculated minute by minute for the month.

This allows for faster response if costs threaten to get out of control.

 ![Bildschirmfoto vom 2025-05-21 17-03-41](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/9/f96fa92cfae2c8c82fbafbbe19311d046d56a0b0.png)

---

<div class="post-metadata">

### Author: ![Marcel\_Felix](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/marcel_felix/32/47867_2.png) [@Marcel\_Felix](https://community.homey.app/u/Marcel_Felix)
#### Post date: [May 23, 2025, 2:01pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/928 "2025-05-23T14:01:08Z")

</div>

Hi,  
I have the same problem. I can send commands from homey, for example open trunk. But If I want to stop charging or change the charge amps I get an error in the flow. Then it says: Session info hmac invalid.  
Please help

---

<div class="post-metadata">

### Author: ![RonnyW](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronnyw/32/10879_2.png) [@RonnyW](https://community.homey.app/u/RonnyW)
#### Post date: [May 23, 2025, 4:51pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/929 "2025-05-23T16:51:03Z")

</div>

It seems your car key and the app key are not in sync.  
That happens if a pair/repair process is started, and the client\_id/secret is changed. Then a new ley is created in the app. This must be linked to the car again.

Please try these steps:

- remove the app key in your car.
- start repair process, select 2nd button (car key) and add the key to your car.

If that doesn’t help, try to do the complete repair process:

> [@\[APP\]\[PRO\] Tesla - Zero emissions. Zero compromises](https://community.homey.app/t/app-pro-tesla-zero-emissions-zero-compromises/100824/918):
>
> It seems, there is no public/private key stored in the app. The public key file is existing (used for adding to the car), but the app internal keys are missing. Did something fail during pairing? Did you repair an existing car device or did you pair a new one? Did you perhaps add another client\_id (or change it in pair/repair view) after pairing the device? This will clear the app certificate. Please try: Remove the car key in your car. Start a new repair process, set client\_id and clien…

---

<div class="post-metadata">

### Author: ![Bas\_Vermeeren](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/bas_vermeeren/32/79462_2.png) [@Bas\_Vermeeren](https://community.homey.app/u/Bas_Vermeeren)
#### Post date: [May 23, 2025, 6:43pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/930 "2025-05-23T18:43:52Z")

</div>

Hi copiis,  
I’m trying to build this flow as well. Can you share a complete screenshot?  
Thanks!

---

<div class="post-metadata">

### Author: ![copiis](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/copiis/32/171978_2.png) [@copiis](https://community.homey.app/u/copiis)
#### Post date: [May 23, 2025, 8:32pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/931 "2025-05-23T20:32:21Z")

</div>

Sure, are just infothings, nothing important for the flow to work

 ![Bildschirmfoto vom 2025-05-23 22-31-10](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/b/bbdda55798a4033a1a9b38fa7e88a21526b6b133.png)

---

<div class="post-metadata">

### Author: ![Marcel\_Felix](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/marcel_felix/32/47867_2.png) [@Marcel\_Felix](https://community.homey.app/u/Marcel_Felix)
#### Post date: [May 24, 2025, 10:40am UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/932 "2025-05-24T10:40:15Z")

</div>

Hi Ronny,  
thanks for you swift response. You were exactly right. It was indeed this issue. I did create a new app in the development environment because I had errors. Then I archived one (I think the old one, but maybe I made a mistake there. )Then I installed the app on homey again and later made the registration of the key in the car. In the process I must have made a mistake or mixed api keys or so.  
Now I deinstalled theTesla app in homey and reinstalled everything again incl. registration of the key on the car. Now it all works fine. Thanks!

---

<div class="post-metadata">

### Author: ![copiis](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/copiis/32/171978_2.png) [@copiis](https://community.homey.app/u/copiis)
#### Post date: [June 2, 2025, 6:53am UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/933 "2025-06-02T06:53:01Z")

</div>

Hi Ronny, it can’t really be true that the costs increase by 5.00 within a few minutes, can it?

 ![Bildschirmfoto vom 2025-06-02 08-24-35_v1](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/5/4/5418d87e63cde653912b64bd772647bdb19722d7.jpeg)  
 ![Bildschirmfoto vom 2025-06-02 08-24-44_v1](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/4/142221c50a1ec1988e6f6b4a380f0319181dcfbb.jpeg)  
Strangely, the value in the insights remained at 5, while in the app it fell back to 0.01  
 ![Bildschirmfoto vom 2025-06-02 08-51-04](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/3/f/3f4e9c125b098998e2ac63d1035a272687a78480.png)

[Previous page](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824.md?page=45)

[Next page](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824.md?page=47)
