# \[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:** 39

<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: [February 16, 2025, 10:30am UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/771 "2025-02-16T10:30:09Z")

</div>

> [@nogren](#):
>
> Homey app say it is paired for the car key, and when trying to open charge port it worked after several push on the button in Homey app.  
> I was expecting the counter to increase, but it stayed on zero for the command api, and got a 400 error code.

Coming back to your question…  
Open charge port should work. I wonder that it works some times for you and the other times you get http-400. I would say, if something is wrong (wrong/old public key added to car) it should never work.  
If you tried pairing again and you changed client\_id or secret in the view, a new key is created. In this case, you have to remove the old key from the car (car display, remove key using the card) an add the car key again. I think because the same URL is used, the car doesn’t refresh the key.

---

<div class="post-metadata">

### Author: ![Jan\_Penning](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jan_penning/32/71173_2.png) [@Jan\_Penning](https://community.homey.app/u/Jan_Penning)
#### Post date: [February 16, 2025, 11:10am UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/772 "2025-02-16T11:10:28Z")

</div>

Hi Ronny, I also can confirm that after the update to 2.0.11 the app is not crashing anymore. Thanks!  
But I noticed that after sending a charging command to my Tesla, the app becomes unresponsive. There is an API error and the app stops retrieving information from the car.

 ![Scherm­afbeelding 2025-02-16 om 11.05.00](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/8/98c3612fe0ed668a9c42ad89cf611437a457afcc.jpeg)  
Any idea? I sent you a diagnostics report: 28c796e3-81c3-45f2-acdd-a4f1d58aef3c

---

<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: [February 16, 2025, 11:19am UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/773 "2025-02-16T11:19:17Z")

</div>

Hi, I can only see that the command was sent 5 times (retry is active in your device settings). Then the API error response was “requested”. I would say, the command was sent to the war, but there was no real response/confirmation.  
I had this one time, Second try worked. But this is caused by the car.

> [@Jan\_Penning](#):
>
> There is an API error and the app stops retrieving information from the car.

What do you mean with this? The data request is independent from commands. Perhaps the car is not reachable in general atm?

---

<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: [February 16, 2025, 11:23am UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/774 "2025-02-16T11:23:55Z")

</div>

@ users that got CPU crashes last days. Can you please check if the capabilites got removed from car device or is they are still present? Thanks.  
`measure_api_rate_limit `  
`measure_api_command_charge_count `

[Homey Developer Tools](https://tools.developer.homey.app/tools/devices)

And I would like to try to remove them again. For that I would need to upload a new test version and then it’s a trial/error situation if CPU crashes are still present.  
That’s just a try to collect some data if it’s still present. So I can collect CPU insight screenshots for Athom with capability remove (and crash if it happens) and current situation.  
Who wants to help?

---

<div class="post-metadata">

### Author: ![nogren](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/nogren/32/34635_2.png) [@nogren](https://community.homey.app/u/nogren)
#### Post date: [February 16, 2025, 12:58pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/775 "2025-02-16T12:58:04Z")

</div>

Thanks, that makes sense.  
I did remove car keys, and added it again, with the same results.  
The automation I have to open the charge port when I come out to the car in the morning, and the charging is completed, worked today, so it looks like it’s cosmetic only. I.e. 400 result code, and 0 commands sent, might be wrong. Since the command worked, and tesla statistics at developer portal is updated…

---

<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: [February 16, 2025, 1:39pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/776 "2025-02-16T13:39:43Z")

</div>

The command is sent in the morning? Because the app counter resets as midnight.  
The counter is updated directly before the command is sent.

I’ll keep an eye on this.  
But the ‘requested’ response from the car is bad anyway id don’t know if it’s processed or not.

PS: I can see in your log that the app counted the commands up to 6.

---

<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: [February 16, 2025, 2:18pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/777 "2025-02-16T14:18:05Z")

</div>

New test version 2.0.12

- Next try to remove deprecated capabilities.

Please report if you get CPU crash again. If yes, please add a screenshot of your app CPU usage.

---

<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: [February 16, 2025, 2:56pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/778 "2025-02-16T14:56:17Z")

</div>

I got again reports about CPU caused app crashes.  
I assume the same users affected.

Next test version will fix this again.

---

<div class="post-metadata">

### Author: ![Jan\_Penning](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jan_penning/32/71173_2.png) [@Jan\_Penning](https://community.homey.app/u/Jan_Penning)
#### Post date: [February 16, 2025, 3:15pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/779 "2025-02-16T15:15:58Z")

</div>

Indeed, version 2.0.12 crashes again.

 ![IMG_0032](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/7/7/77aa0580d754de73a2ad105eb7add3d3dfdce979.jpeg)

---

<div class="post-metadata">

### Author: ![Jan\_Penning](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jan_penning/32/71173_2.png) [@Jan\_Penning](https://community.homey.app/u/Jan_Penning)
#### Post date: [February 16, 2025, 3:18pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/780 "2025-02-16T15:18:53Z")

</div>

Where do I check if these capabilities are present or not?

---

<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: [February 16, 2025, 3:26pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/781 "2025-02-16T15:26:34Z")

</div>

[https://tools.developer.homey.app/tools/devices](https://tools.developer.homey.app/tools/devices)  
Then search for for your device

---

<div class="post-metadata">

### Author: ![Jan\_Penning](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jan_penning/32/71173_2.png) [@Jan\_Penning](https://community.homey.app/u/Jan_Penning)
#### Post date: [February 16, 2025, 3:46pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/782 "2025-02-16T15:46:01Z")

</div>

Thanks! Learned something new 😉  
The device has no capabilities.

---

<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: [February 16, 2025, 3:51pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/783 "2025-02-16T15:51:54Z")

</div>

When the app is started again, the capabilities should be back 🙂

---

<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: [February 16, 2025, 3:53pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/784 "2025-02-16T15:53:06Z")

</div>

Ok, I’m getting closer to the crash reason. With a trial/error removement of several changed things I hope to reduce the possibilities to exact one 🙂

---

<div class="post-metadata">

### Author: ![Jan\_Penning](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jan_penning/32/71173_2.png) [@Jan\_Penning](https://community.homey.app/u/Jan_Penning)
#### Post date: [February 16, 2025, 4:06pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/785 "2025-02-16T16:06:30Z")

</div>

Indeed. The two capabilities you mentioned are not in the list.

---

<div class="post-metadata">

### Author: ![StevenV](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/stevenv/32/97437_2.png) [@StevenV](https://community.homey.app/u/StevenV)
#### Post date: [February 16, 2025, 4:21pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/786 "2025-02-16T16:21:55Z")

</div>

Hi Ronny,  
I think the last test version that I tested was 2.0.11, after which I went back to 2.0.6. With 2.0.6 installed, both capabilities were present.  
I now installed 2.0.15 and both capabilities are removed. Also, 2.0.15 seems stable right now, no high CPU 👍  
Hope this helps

---

<div class="post-metadata">

### Author: ![nogren](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/nogren/32/34635_2.png) [@nogren](https://community.homey.app/u/nogren)
#### Post date: [February 16, 2025, 4:23pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/787 "2025-02-16T16:23:16Z")

</div>

Yes, sent in the morning triggered on when I open the front door and the charging is complete. 🙂

If ot was easier to remove and then add the car device again, I would do that to make sure no old data is in the way…

Or can it be connected with that the car key is not for an Owner, only Driver, of the car?

---

<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: [February 16, 2025, 4:29pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/788 "2025-02-16T16:29:05Z")

</div>

I think I got it now.  
It seems dependent on a really small change to use local time instead of OTC for counter reset. On some Homeys or regions or languages the time was not converted correctly. And that seems to have created an timeout loop.  
It seems I changed it parallel to the capability changes and had not considered it. 🙈

Version 2.0.15 is good for now. Sorry for the trouble. 😇

---

<div class="post-metadata">

### Author: ![Hass](https://avatars.discourse-cdn.com/v4/letter/h/51bf81/32.png) [@Hass](https://community.homey.app/u/Hass)
#### Post date: [February 16, 2025, 5:08pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/789 "2025-02-16T17:08:26Z")

</div>

Yes, it’s from the first post in the Homey Energy megathread, posted by Emile.

Thank you for the reply!

---

<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: [February 16, 2025, 6:17pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/790 "2025-02-16T18:17:25Z")

</div>

> [@nogren](#):
>
> Or can it be connected with that the car key is not for an Owner, only Driver, of the car?

This was an issue last year. Now it should work also as driver.  
I think the difference is that you need the key card in your car to add a key. Owners can do it only from the Tesla app.

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

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