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

<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: [June 19, 2024, 8:23pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/408 "2024-06-19T20:23:36Z")

</div>

> [@timvdhoorn](#):
>
> How does this work in combination with TeslaMate regarding the API limits?  
> For TeslaMate I’m using the MyTeslaMate Tesla Fleet Telemetry API.

If it’s an online service, they will have added the Tesla telemetry service. It needs an own telemetry server that’s collectiong the realtime data from the cars.  
But that also only allows some field (1 field every 10sec, 2 fields every 20sec…).

I assume this telemtry data is not affected. All other data still must be read using the FleetAPI including rate limits.

---

<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: [June 19, 2024, 8:30pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/409 "2024-06-19T20:30:42Z")

</div>

> [@StevenV](#):
>
> nyone else experiencing this odd behaviour with tyre pressure data?

No issue for me.  
 ![grafik](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/5/7/5715a121f041fb194c73b5acc329e56d0b389d2e.png)

The app uses the units provided by the car/API to convert the values betwenn different units (for distance, pressure, speed…).  
Do you have different profiles active in your car and one profile has set PSI as unit?

---

<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: [June 19, 2024, 8:41pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/410 "2024-06-19T20:41:04Z")

</div>

New **test version 1.7.0** :

- Added several changes to **optimize API usage**.

In addition to the rate limit, Tesla changed the reported car state. Instead of asleep/offline/online state, only offline/online is reported now. As result, the app requestes car data also for offline state (which was useful before because offline state was only used for missing LTE reception).  
Now, the app does not request car data during offline state. This prevents a lot of API requests. Based on the daily car usage, you can lower the online interval. Perhaps it will work with 1min interval because you won’t use the car for 1/5 of the day.

The car device is showing “rate limit” as state in case the car is online but Tesla is blocking car access.  
The car settings page is showing some details like time until rate limit is reset.  
In addition you can check insights for API usage counter.

More details you can find at:

> **[Tesla: Rate Limit – Ronny Winkler](https://rwdevelopment.de/2024/06/19/tesla-rate-limit/)**

---

<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: [June 20, 2024, 7:46am UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/411 "2024-06-20T07:46:36Z")

</div>

Different profiles in the car might indeed be the cause. I’ll need to check the settings of my wife’s profile, probably at psi 🙂

---

<div class="post-metadata">

### Author: ![0burner0](https://avatars.discourse-cdn.com/v4/letter/0/90ced4/32.png) [@0burner0](https://community.homey.app/u/0burner0)
#### Post date: [June 21, 2024, 4:39pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/412 "2024-06-21T16:39:01Z")

</div>

> [@RonnyW](#):
>
> car settings page is showing some

I use this app also on my Home Assistant.

> **[GitHub - teslamotors/vehicle-command](https://github.com/teslamotors/vehicle-command)**
>
> Contribute to teslamotors/vehicle-command development by creating an account on GitHub.

Does it count up? Ore is the polling sepperated and doesnt it matter?

---

<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: [June 21, 2024, 4:44pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/413 "2024-06-21T16:44:01Z")

</div>

No one knows 🤷‍♂️

It can be based on the VIN/car.  
Or it can be baded on VIN & app client ID.  
You can only try.

---

<div class="post-metadata">

### Author: ![Asterix](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/asterix/32/45768_2.png) [@Asterix](https://community.homey.app/u/Asterix)
#### Post date: [June 21, 2024, 7:50pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/414 "2024-06-21T19:50:59Z")

</div>

It‘s because of the different profiles, same by me, my wife has psi💁🏻‍♂️

---

<div class="post-metadata">

### Author: ![0burner0](https://avatars.discourse-cdn.com/v4/letter/0/90ced4/32.png) [@0burner0](https://community.homey.app/u/0burner0)
#### Post date: [June 22, 2024, 3:30pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/415 "2024-06-22T15:30:06Z")

</div>

I think it counts up:

Going to disable HA plugin let you know:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/8/b83cac81f72e72e0ef4b6353ca2e6018e096ed67.png)

---

<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: [June 22, 2024, 3:33pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/416 "2024-06-22T15:33:30Z")

</div>

http-500 is something different. I think LTE is offline while trying to send commands. That’s not related to rate limit error.

---

<div class="post-metadata">

### Author: ![0burner0](https://avatars.discourse-cdn.com/v4/letter/0/90ced4/32.png) [@0burner0](https://community.homey.app/u/0burner0)
#### Post date: [June 22, 2024, 3:37pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/417 "2024-06-22T15:37:12Z")

</div>

Hmm, the vehicle is in front of my door. So it has WiFi and LTE (no subscription). In the morning it works well, but at some point it stops working. Without changing anything, it works again the next day.

Additionally, I can see all the data (live) in the Tesla app.

Would you like me to send you a log file or something?

---

<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: [June 22, 2024, 5:16pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/418 "2024-06-22T17:16:04Z")

</div>

If it happens again, you can send a diagnostics report. But I think I won’t see more than the http error.  
Did it happen for a data request or a command?

---

<div class="post-metadata">

### Author: ![0burner0](https://avatars.discourse-cdn.com/v4/letter/0/90ced4/32.png) [@0burner0](https://community.homey.app/u/0burner0)
#### Post date: [June 22, 2024, 6:13pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/419 "2024-06-22T18:13:49Z")

</div>

A command, got it a few days earlier also… I think it is a returning error (for me)

882154b0-6ec1-4288-a603-d893f2bd742d

---

<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: [June 22, 2024, 7:58pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/420 "2024-06-22T19:58:33Z")

</div>

Hi, as already written via Mail (but also as information for others), I think it’s caused by car device settings.

- change command API from REST to CommandProxy.

The car only supports signed commands in this case.

---

<div class="post-metadata">

### Author: ![0burner0](https://avatars.discourse-cdn.com/v4/letter/0/90ced4/32.png) [@0burner0](https://community.homey.app/u/0burner0)
#### Post date: [June 23, 2024, 7:09am UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/421 "2024-06-23T07:09:38Z")

</div>

> [@\[APP\]PRO\] Tesla](https://community.homey.app/t/app-pro-tesla/100824/415):
>
> I think it counts up: Going to disable HA plugin let you know:

Ass you can see on a other post it is on the commandproxy

---

<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: [June 23, 2024, 8:03am UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/422 "2024-06-23T08:03:38Z")

</div>

I had overlooked that.  
Is only “HonkHorn” affected or also others? In this case, it seems to be an issue in command Proxy (Tesla code). But I can’t test this today at sunday 😅

---

<div class="post-metadata">

### Author: ![Pierre\_BALBINOT](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/pierre_balbinot/32/88361_2.png) [@Pierre\_BALBINOT](https://community.homey.app/u/Pierre_BALBINOT)
#### Post date: [June 23, 2024, 8:25am UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/423 "2024-06-23T08:25:46Z")

</div>

Hello everyone,  
I have changed Online polling interval to 5min. Since that, I can notice that I don’t have warning symbol and API Rate limit error message is not showing anymore.  
However, on my flows, reading tesla cards are going well but commands cards like “set current charge to” or “start charging” “stop charging” have an error message. If I try several minutes later it works again… (my flow is starting each 5minutes)  
 ![Capture d’écran 2024-06-23 à 10.16.24](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/2/22bce1debeb6766bc76f738663586dcf45dbce80.png)

Do you have any idea ?  
Thank you  
Pierre

---

<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: [June 23, 2024, 8:34am UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/424 "2024-06-23T08:34:15Z")

</div>

Hi, if you try to stop charging, but the car is not charging at this moment, the API returns an error.  
The app has a whitelist of such errors to irgnore them. I will check if this one is missing.

Edit: “not\_charging” is already set in the whitelist. Which app version are you using?

---

<div class="post-metadata">

### Author: ![Pierre\_BALBINOT](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/pierre_balbinot/32/88361_2.png) [@Pierre\_BALBINOT](https://community.homey.app/u/Pierre_BALBINOT)
#### Post date: [June 23, 2024, 8:58am UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/425 "2024-06-23T08:58:45Z")

</div>

You are right, I tried to execute stop charging card while car was not charging. Mistake from my side sorry for that.  
I gave the wrong example. Sometime I get an error on this command card “start charging”, while this card is started only if car is not charging (see previous card).

 ![Capture d’écran 2024-06-23 à 10.53.49](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/9/89b9f1464e4d4b5e2fade660ceb376f827687832.png)

But currently I don’t succeed to reproduce the error again… strange.  
Is there any API limit difference between reading cards and commands cards ?

In any case, this is the app version I am using: Tesla V.1.6.1 (auto update selected)

Finally, thank you very much for all amazing job done!  
Pierre

---

<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: [June 23, 2024, 9:21am UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/426 "2024-06-23T09:21:36Z")

</div>

The start charging card also gets an error from Tesla API if the car is already charging. But this is also catched by the error white litst.  
Which command API are you using? REST oder Command proxy? Perhaps the API returns a different error dependent on the used API.

The app has an internat rate limit for commands. It alloes 60 commands in a 10min time window (every 10sec average). But woul would get a special error message if you hit it. I think onyl users with Solar/PV dependent flows will hit the limit.  
You can see this limit in car device settings or insights.  
 ![grafik](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/3/7/37bacb19e8d42529ac2fc5741d6496a5206a191b.png)

---

<div class="post-metadata">

### Author: ![Pierre\_BALBINOT](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/pierre_balbinot/32/88361_2.png) [@Pierre\_BALBINOT](https://community.homey.app/u/Pierre_BALBINOT)
#### Post date: [June 23, 2024, 9:36am UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/427 "2024-06-23T09:36:04Z")

</div>

I am using Command proxy.

Yes, I have solar panels and I use this flow to charge the tesla with the charging current I have left between my production and my domestic consumption. In the past, my flow was running every 2 minutes and I never got any problems.

Now my flow is running each 5 minutes and in the flow I have max 2 command cards running (so I never reach the 60 commands in a 10min time window limit). Let’s see if I have the error again I’ll let you know.

Thank you again!  
Pierre

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

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