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

<div class="post-metadata">

### Author: ![Bas\_Raayman](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/bas_raayman/32/131123_2.png) [@Bas\_Raayman](https://community.homey.app/u/Bas_Raayman)
#### Post date: [March 30, 2025, 12:50pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/894 "2025-03-30T12:50:42Z")

</div>

That was the missing piece of info, got it sorted. 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: [March 31, 2025, 7:57am UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/895 "2025-03-31T07:57:56Z")

</div>

![Bildschirmfoto vom 2025-03-31 09-44-10](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/2/12193a476cc157349c8302ad1490bbc6a4a308a2.png)  
The first part is Ronny’s flow, which increases the access interval when charging, because the car is constantly online while charging.  
In the second part, I calculate the quota for the month. On the first of the month, the values ​​are reset. Then, 0.23 cents are added every day—that’s 10 €/$ divided by 31 days. If the used quota is lover than calculated by Tesla, the access interval is increased by one minute every day. If the quota is higher than calculated by Tesla, the access interval is decreased by one minute every day at 3 a.m. until it reaches 1.

---

<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: [March 31, 2025, 9:34pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/896 "2025-03-31T21:34:58Z")

</div>

Thank you for sharing your flow! I just copied it. I actually didn’t know that the car was constantly online while charging, so I used up the free 10€ halfway through the month…

Hopefully will never happen again with this flow 🙂

---

<div class="post-metadata">

### Author: ![Sergio\_Leites](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sergio_leites/32/80542_2.png) [@Sergio\_Leites](https://community.homey.app/u/Sergio_Leites)
#### Post date: [April 2, 2025, 6:49am UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/897 "2025-04-02T06:49:03Z")

</div>

Thank you so much for the help! It worked now.

Skickat från min iPhone

---

<div class="post-metadata">

### Author: ![Just\_Me](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/just_me/32/78909_2.png) [@Just\_Me](https://community.homey.app/u/Just_Me)
#### Post date: [April 3, 2025, 9:29am UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/898 "2025-04-03T09:29:53Z")

</div>

Connection lost 2018 MX

Have not used the app in a while, was working great

Now the connection seems lost and I dont know how to repair (using rest API)

Its not clear to me if the rest api should still be used for older vehicles?

74a6e55d-3961-4cb8-bed7-efb4f1b1ede4

Error when trying to switch on Tesla audio as an example:

400 Bad Request: {  
“error”: “invalid\_request”,  
“error\_description”: “The ‘client\_id’ parameter is missing. Include client\_id in the request.”,  
“referenceID”: “1480b6e8-2fa6-4fdc-a8e4-f9c147be78f7-1743673370831. For more information, visit: [https://developer.tesla.com/docs/fleet-api#help-and-support](https://developer.tesla.com/docs/fleet-api#help-and-support)”  
}

Which would lead me to think its not trying to use the rest api?

Thanks for any help

Cheers

---

<div class="post-metadata">

### Author: ![mroomer](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mroomer/32/30193_2.png) [@mroomer](https://community.homey.app/u/mroomer)
#### Post date: [April 22, 2025, 9:35am UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/899 "2025-04-22T09:35:45Z")

</div>

@RonnyW what happens or do I something wrong because I got invoice from Tesla with to many request send.

 ![Tesla1](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/c/4/c4968ccb79e5c842707320492146f397f796240d.jpeg)  
 ![Tesla2](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/a/ea2a5a70a99afb19affc7da36e7858726c620bbf.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: [April 22, 2025, 10:32am UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/900 "2025-04-22T10:32:03Z")

</div>

Invoice or rate limit mail?  
You will only get an invoice if you set a payment/credit card and raised the limit above 10€/$.  
Else you just get a mail that your account is rate limited until next month.

---

<div class="post-metadata">

### Author: ![mroomer](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mroomer/32/30193_2.png) [@mroomer](https://community.homey.app/u/mroomer)
#### Post date: [April 22, 2025, 12:25pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/901 "2025-04-22T12:25:42Z")

</div>

Got invoice. But why so many request, for example on 21/4 almost 1400 requests ? Can I manage it within the app or so ?

---

<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: [April 22, 2025, 12:54pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/902 "2025-04-22T12:54:43Z")

</div>

it depends on your interval set in device settings. If car is awake, every call counts. Manage it via flow, chabge the interval if needed (while PV charging etc.). You can find some examples some posts above.

---

<div class="post-metadata">

### Author: ![Willie\_Plompen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/willie_plompen/32/8291_2.png) [@Willie\_Plompen](https://community.homey.app/u/Willie_Plompen)
#### Post date: [April 24, 2025, 11:23am UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/903 "2025-04-24T11:23:37Z")

</div>

How can I reduce the number of requests? I don’t think I can set it lower than 1 per minute. I can currently use it for half a month, so I should be able to set it to 1 every 2 minutes or 0.5 every 1 minutes, but I guess that’s probably not possible 😂

---

<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: [April 24, 2025, 3:10pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/904 "2025-04-24T15:10:43Z")

</div>

Check the car device settings 😉

And for dynamic changes there is a flow card.

---

<div class="post-metadata">

### Author: ![Willie\_Plompen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/willie_plompen/32/8291_2.png) [@Willie\_Plompen](https://community.homey.app/u/Willie_Plompen)
#### Post date: [April 24, 2025, 6:25pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/905 "2025-04-24T18:25:34Z")

</div>

Sorry, but that’s going too fast. Could you be a bit more specific? I would really appreciate it if I could solve this. I’ve only just started using the app, mainly to turn on the heating or air conditioning and to open my garage when I get home — nothing more. But it’s still annoying when it stops working after just two weeks.

---

<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: [April 24, 2025, 8:15pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/906 "2025-04-24T20:15:31Z")

</div>

Every device has a settings view:

 ![grafik](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/4/d4730297e848e5eb96d6cbf3e201fe5ac73c3556.png)

There you can set the polling interval.

 ![grafik](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/5/95089d6269a4953494f4359ed4ef01a9d686f268.png)

If the car is asleep, it doesn’t count.  
If the car is awake, the data re read from the car - and this counts as a data request.  
Every command is also counted as a command request.

You can dynamically adjust this also with a flow (by time or by other triggers). I use a higher interval while charging, because then the car is awake a long time.

> [@\[APP\]\[PRO\] Tesla - Zero emissions. Zero compromises](https://community.homey.app/t/app-pro-tesla-zero-emissions-zero-compromises/100824/887):
>
> Just as idea… I use the charge state as trigger. If connected and cable type is IEC (AC charging), then use a higher interval. If disconnected, use standard interval. I have to check what cable type is shown for SuC charging. If anyone is at a SuC next time, please share the cable type grinning_face My target is to set a data saving interval while AC charging while at a SuC the standard interval should be used instead.

---

<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: [April 25, 2025, 7:07am UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/907 "2025-04-25T07:07:33Z")

</div>

Hi @RonnyW ,

I noticed that when I send a command to set the charging current, the API command counter increases with +3 instead of +1. For instance screenshot below: changed to 32A, counter increased from 849 to 852, while no other commands were sent.  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/3/d/3ddc06e6934d2479d5192c0a65fa834f31666282.png)

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

This is the case in your Tesla app, but also in the Tesla dashboard. So it seams that when setting the charging current, 3 commands are sent instead of 1.  
Is this a known bug?

Steven

---

<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: [April 25, 2025, 8:38am UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/908 "2025-04-25T08:38:16Z")

</div>

In normal case, only one command should be send.  
I the car is asleep, a wake command is sent before.

Is ‘retry’ active for commands in car device settings? This can result in retries if the car needs too long to respond.

---

<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: [April 25, 2025, 9:19am UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/909 "2025-04-25T09:19:16Z")

</div>

Hi

the car was not asleep because it was charging, and I also didn’t see an increase in the wake command counter. But indeed, the “retry” was active.

If I try to change the charging current without “retry” being active, there’s only an increase with +1. So that seems indeed to be the cause.

Is there a setting to change how long the app should wait before a retry is sent? I’ll check next time I charge my car, but I have the impression that this retry for setting the charging current happens rather frequently. This is the only command I’m using, so I don’t know whether that’s true for other commands as well.

thanks  
Steven

---

<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: [April 25, 2025, 11:22am UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/910 "2025-04-25T11:22:41Z")

</div>

The retry wait time is hardcoded (about 10sec I think).  
You can try the flow without retty. Add an exception handling (output at the card bottom) to see if the single command fails (and why).

---

<div class="post-metadata">

### Author: ![forden](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/forden/32/32596_2.png) [@forden](https://community.homey.app/u/forden)
#### Post date: [April 27, 2025, 2:48pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/911 "2025-04-27T14:48:11Z")

</div>

Hello,

I just received the email alert too, with wayyyyyy too much (thousands) “Datas” used. My flow  
only uses commands : 0 to 6 commands / per day. Which should add the same amount of “Datas”, right ?

I’ve seen your post regarding the Data retrievals and the “Polling is active” option.  
Question : If I set it to NO, it will stop requesting Datas? (and ONLY send commands), correct ?

My use is the following : When my Zendure solar battery is over 90% charged, start : Charging Tesla (1 command), and Set Amper to 9 (2nd command). When Zendure Battery goes under 10% : Stop the charging (3rd command of the day).

Thanks for the 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: [April 27, 2025, 7:19pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/912 "2025-04-27T19:19:42Z")

</div>

Yes, you can use only commands and deactivate the data reading.  
If the car is asleep, a wake command comes in addition.

But in this case you can’t use car states as trigger or condition. If that’s ok, you can do it that way.

---

<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, 12:34pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/913 "2025-05-04T12:34:50Z")

</div>

I have a Model Y Juniper, but I only get the error “Command API is only for test pursposes.” on all commands.

Waking up the car and retrieving information from it is working just fine, but the commands I just can’t seem to get working.

 ![fleet-api](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/d/fdd071333e4c6027b169e2800e5958ddb32440f7.png)  
 ![homey-app-settings](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/8/685629fa7a5193921d5bf16ae4c36f6bea86404e.png)

 ![open-chargeport](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/9/19d494bbda7ca6775484f709bd700e2b88b12086.png)

The key is paired to the car, and I can see it in under Controls - Locks in the car as well.

 ![paired_key](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/4/c/4caf5f6c73ae2f472091f468585d8c0c3faa4e8d.jpeg)

And it’s also stating it’s paired in the homey app.

 ![homey-app-paired-key](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/3/1300dc0c9525a7b4bf1697d68b868e8f89712c26.png)

I’ve set the app permissions in the tesla developer portal to accept commands in addition to retrieving information.

 ![third-party-app-permissions](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/c/8/c80af0cf6bdefb3eaf26bf79401810fc376e688f.png)  
 ![allowed-urls](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/d/bd9ce48fa551d19cf06c27f96a0e1480142b2684.png)

Anyone have any idea what I’m doing wrong?

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

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