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

<div class="post-metadata">

### Author: ![Erik\_Z1](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/erik_z1/32/13319_2.png) [@Erik\_Z1](https://community.homey.app/u/Erik_Z1)
#### Post date: [July 31, 2024, 6:44pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/488 "2024-07-31T18:44:01Z")

</div>

I just tested with the polling interval set to 10 seconds and everything works properly. So the issue lies somewhere there. As mentioned earlier, since the polling limits were introduced, the functionality for the app no longer works as I was used to, unfortunately.

---

<div class="post-metadata">

### Author: ![Stian\_Elverland](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/stian_elverland/32/31039_2.png) [@Stian\_Elverland](https://community.homey.app/u/Stian_Elverland)
#### Post date: [August 1, 2024, 7:06pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/489 "2024-08-01T19:06:48Z")

</div>

Hi,

I have a 2019 Model X and I’m using the REST API. I can’t stop and start charging in the battery section of the app, but I can change the charge amps. I’ve successfully tried actions like opening the charge port. Does anyone know a fix for this?

---

<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: [August 1, 2024, 8:15pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/490 "2024-08-01T20:15:24Z")

</div>

Use the Proxy not the REST API

---

<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: [August 1, 2024, 8:21pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/491 "2024-08-01T20:21:38Z")

</div>

Do you get any error message in the app?  
Do you get an error using a flow to start charging?

If you are able to send other commands (charge port, flash lights…) with REST API, then also chargign should work.  
Testa introduced rate limits, especially for special commands like wake up and chargig. Perhaps you got rate limited. But then you should see an error message in the app.

---

<div class="post-metadata">

### Author: ![Stian\_Elverland](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/stian_elverland/32/31039_2.png) [@Stian\_Elverland](https://community.homey.app/u/Stian_Elverland)
#### Post date: [August 1, 2024, 9:56pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/492 "2024-08-01T21:56:04Z")

</div>

I can see that I get a rate limit. What is that?

---

<div class="post-metadata">

### Author: ![Stian\_Elverland](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/stian_elverland/32/31039_2.png) [@Stian\_Elverland](https://community.homey.app/u/Stian_Elverland)
#### Post date: [August 1, 2024, 9:57pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/493 "2024-08-01T21:57:00Z")

</div>

Im suppose to use REST API with TMX less than 2021 models.

---

<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: [August 2, 2024, 4:58am UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/494 "2024-08-02T04:58:45Z")

</div>

Tesla activated rate limits some weeks ago.

> [@\[APP\]PRO\] Tesla](https://community.homey.app/t/app-pro-tesla/100824/444):
>
> Hi, this are the limits documented by Tesla. [grafik] [https://developer.tesla.com/docs/fleet-api?javascript#membership-levels](https://developer.tesla.com/docs/fleet-api?javascript#membership-levels) The first is 300/day now. The command limit is ~50 (my experience) I have not checked if wake up or charging commands are limited, too. But if charging commands are limited to 5/day it would be better for you to lower the ampere to stop charging instead. But that’s currently all trial&error.

---

<div class="post-metadata">

### Author: ![jhholen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jhholen/32/77497_2.png) [@jhholen](https://community.homey.app/u/jhholen)
#### Post date: [August 25, 2024, 5:10pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/495 "2024-08-25T17:10:14Z")

</div>

Seen this one before @RonnyW ?

 ![IMG_7920](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/7/97103430eb0c3543b23bbcb1ec2cc26e3e693ebe.jpeg)

---

<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: [August 25, 2024, 7:44pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/496 "2024-08-25T19:44:45Z")

</div>

Haven’t seen this before. I looks liek Tesla is returning a http-429 error (rate limit) but dows not provide valid header field.  
Is the error still resent in device details? Then send me a diagnostics report (even if I don’t know if I can see much more).

What car (model/year) and what firmware do you have?

---

<div class="post-metadata">

### Author: ![jhholen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jhholen/32/77497_2.png) [@jhholen](https://community.homey.app/u/jhholen)
#### Post date: [August 25, 2024, 8:08pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/497 "2024-08-25T20:08:16Z")

</div>

Here you go @RonnyW  
a7e309fb-564a-48ab-8cb8-7cd617920f61

It is a TMX 2019

---

<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: [August 25, 2024, 8:45pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/498 "2024-08-25T20:45:24Z")

</div>

I added some debug logging and check for valid rate limit data.  
Can you try new test version 1.9.4?

> **[Tesla](https://homey.app/en-us/app/com.tesla.car/Tesla/)**
>
> Zero emissions. Zero compromises.

---

<div class="post-metadata">

### Author: ![jhholen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jhholen/32/77497_2.png) [@jhholen](https://community.homey.app/u/jhholen)
#### Post date: [August 26, 2024, 5:05am UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/499 "2024-08-26T05:05:16Z")

</div>

Thanks! Works now - but will give it some more time.

---

<div class="post-metadata">

### Author: ![frosse](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/frosse/32/114332_2.png) [@frosse](https://community.homey.app/u/frosse)
#### Post date: [September 24, 2024, 10:18pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/500 "2024-09-24T22:18:09Z")

</div>

@RonnyW Is there still issues with leased vehicles? I’m one of those and am able to add the app to see status but not using commands. You write the following in a blog post on your site but I’m unable to understand if this has to do with above issue:

> Tesla has released a new version of the Tesla mobile app to resolve the issue. This allows the Homey app to be registered in the vehicle. This must be confirmed in the vehicle using a key card.

---

<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: [September 25, 2024, 9:37am UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/501 "2024-09-25T09:37:18Z")

</div>

Please register the app as car key in repair view of car device mainenance view.  
There you can start car registration. You will be forwarded to a Tesla page (that should open Tesla mobile app). Then you can allow car access. You must be at your car to proceed (like adding a new phone as key).

---

<div class="post-metadata">

### Author: ![perage](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/perage/32/72711_2.png) [@perage](https://community.homey.app/u/perage)
#### Post date: [September 25, 2024, 6:37pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/502 "2024-09-25T18:37:41Z")

</div>

Any plans to add insight possibilities to device location?

---

<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: [September 25, 2024, 7:16pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/503 "2024-09-25T19:16:07Z")

</div>

Which location? The description (city, street)? Not possible because insights can only be created for numeric values.

---

<div class="post-metadata">

### Author: ![Anders\_Klund-Hansen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/anders_klund-hansen/32/65396_2.png) [@Anders\_Klund-Hansen](https://community.homey.app/u/Anders_Klund-Hansen)
#### Post date: [September 27, 2024, 11:45am UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/504 "2024-09-27T11:45:48Z")

</div>

I am also getting rate limited now. I am using the api to load balance the total consumption in my house by checking every 5 minutes while charging my car, and adjust the current to available capacity. But it seems like 5 charging commands/vehicle/day is the [limit](https://developer.tesla.com/docs/fleet-api/getting-started/subscription-plans#discovery)?  
I guess setting the charging current goes into this category, or is it under Command limit?

---

<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: [September 27, 2024, 1:01pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/505 "2024-09-27T13:01:29Z")

</div>

Start/stop charging seems to be in the carging commands limit (5x/day).  
Changing the current should be included in the stabdard commands (50x/day). So it’s better to set current to a low value (or 0A) instead of stopping/starting charging.

---

<div class="post-metadata">

### Author: ![Paul\_Nas](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/paul_nas/32/80581_2.png) [@Paul\_Nas](https://community.homey.app/u/Paul_Nas)
#### Post date: [October 6, 2024, 11:47am UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/506 "2024-10-06T11:47:29Z")

</div>

Hi @RonnyW, thanks for the awesome app! Would it be possible to add MilesToArrival, MinutesToArrival, OriginLocation and DestinationLocation to the app so I can announce to the folks back home when a particular person is on their way home?

---

<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: [October 6, 2024, 6:23pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/507 "2024-10-06T18:23:54Z")

</div>

It’s on my ToDo list to check for available navigation data.  
Based in Tesla API data I think destination coordinates and timestamp could be possible (and street/city based on coordinates like current posisition).

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

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