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

<div class="post-metadata">

### Author: ![Rudi\_Hendrix](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rudi_hendrix/32/31931_2.png) [@Rudi\_Hendrix](https://community.homey.app/u/Rudi_Hendrix)
#### Post date: [February 11, 2025, 5:48pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/711 "2025-02-11T17:48:16Z")

</div>

There is of course also a chance that I am doing something wrong…

---

<div class="post-metadata">

### Author: ![Rudi\_Hendrix](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rudi_hendrix/32/31931_2.png) [@Rudi\_Hendrix](https://community.homey.app/u/Rudi_Hendrix)
#### Post date: [February 11, 2025, 8:06pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/712 "2025-02-11T20:06:25Z")

</div>

Good news! The issue seems fixed!

---

<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 11, 2025, 8:17pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/713 "2025-02-11T20:17:21Z")

</div>

**Live version 2.0.6** :

- fixes the auth error on app restart 🙂  
**Please repair your car device again to refresh the authentication.**

---

<div class="post-metadata">

### Author: ![Rudi\_Hendrix](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rudi_hendrix/32/31931_2.png) [@Rudi\_Hendrix](https://community.homey.app/u/Rudi_Hendrix)
#### Post date: [February 11, 2025, 8:30pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/714 "2025-02-11T20:30:39Z")

</div>

As confirmed by this guinea pig!

I will also donate some money at some point. Good deeds must be rewarded!

---

<div class="post-metadata">

### Author: ![Zdenik03](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/zdenik03/32/50949_2.png) [@Zdenik03](https://community.homey.app/u/Zdenik03)
#### Post date: [February 11, 2025, 9:27pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/715 "2025-02-11T21:27:05Z")

</div>

@RonnyW  
I’ve done the update. Unfortunately, the commands still do not work. I have re-paired the card.  
 ![paired](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/3/b/3ba88df1ca4333d9aa1d511d1d959469f000043f.jpeg)  
It shows it’s fine.  
But the commands don’t work.

 ![hmac](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/8/e858fbe37a0e7d004b1b890c726cefe1052c9cbf.jpeg)  
Do you know where I can find the error?  
Thank you, very much.

---

<div class="post-metadata">

### Author: ![fmb](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/fmb/32/27097_2.png) [@fmb](https://community.homey.app/u/fmb)
#### Post date: [February 11, 2025, 9:59pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/716 "2025-02-11T21:59:09Z")

</div>

Just updated the old app (2 weeks old) to the latest (2.0.5) one,

Was able to switch to the new login. Struggled a bit with copy/paste of the urls on the tablet. But it worked out. Needed to login twice, but the 2nd one worked, first attempt resulted in some error page at Tesla.

And after restarting the app the Tesla is online again! Thnx!

---

<div class="post-metadata">

### Author: ![Nicolas](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/nicolas/32/78954_2.png) [@Nicolas](https://community.homey.app/u/Nicolas)
#### Post date: [February 12, 2025, 7:07am UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/717 "2025-02-12T07:07:39Z")

</div>

My tesla is online right now, thanks to you!

I have you by PayPal for your work (for the 2nd time)

Thanks!

Just one thing : I can’t change parameters (I want to update frequency of update, less frequency, but got an error, I can’t read it)

---

<div class="post-metadata">

### Author: ![Jyri](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jyri/32/89238_2.png) [@Jyri](https://community.homey.app/u/Jyri)
#### Post date: [February 12, 2025, 11:03am UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/718 "2025-02-12T11:03:33Z")

</div>

Hi and thanks for the APP👍  
Is there a way to launch a action in Homey when Tesla is near home (50m or so) and is shifted to reverse?

---

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

</div>

You have triggers for. The data gets updated based on poll interval and if it’s changed, the trigger is fired.

- car device \> gear shift changed
- location dehive \> location reached (there you also can select locations defined in dehice settings)

---

<div class="post-metadata">

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

</div>

> [@RonnyW](#):
>
> location dehive \> location reached (there you also can select locations defined in dehice settings)

Were can I find this, not under Tesla with And cards?

---

<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 12, 2025, 4:43pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/721 "2025-02-12T16:43:42Z")

</div>

You have to add the location device in addition to your car device.  
This device holds all the location data and offers location based flows.

 ![grafik](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/8/0854b0ba3abe3100d6b42b1d05dbb11abf9b2041.png)  
 ![grafik](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/4/b/4bfbbca4e1f1ced9792db9fbd8a357021d513702.png)

The Homey location is used as “home”. In device settings you can add further locations. Insert a name and a GoogleMaps URL. Then you can use flow triggers based on location reached/left.

 ![grafik](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/8/18db02cc35fda1ed5553f0a9e3deffc1ac5719ae.png)

---

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

</div>

Thanks @RonnyW I can confirm that 2.0.6 indeed fixed the auth error and the app is now working well!

---

<div class="post-metadata">

### Author: ![Zdenik03](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/zdenik03/32/50949_2.png) [@Zdenik03](https://community.homey.app/u/Zdenik03)
#### Post date: [February 13, 2025, 2:53pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/723 "2025-02-13T14:53:13Z")

</div>

I don’t know what I’m doing wrong. But all the commands don’t work and end with an error.

 ![obrazek](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/1/d1d377945b6e286857a918d3b3e41b035593a33c.png)  
Reading the data works fine. I have repaired the car several times and removed and added the card again. I don’t know what I’m doing wrong. Anyone have any idea what this error means? I can’t find anything.  
Thanks a lot

---

<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 13, 2025, 3:32pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/724 "2025-02-13T15:32:01Z")

</div>

I haven’t seen this yet.  
Is it a newer car supporting CommandAPI?

---

<div class="post-metadata">

### Author: ![Zdenik03](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/zdenik03/32/50949_2.png) [@Zdenik03](https://community.homey.app/u/Zdenik03)
#### Post date: [February 13, 2025, 3:43pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/725 "2025-02-13T15:43:25Z")

</div>

Yes, it is T3 Highland.

---

<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 13, 2025, 6:47pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/726 "2025-02-13T18:47:53Z")

</div>

Based on the code I would say that the session encrypted could could not be negotiated.  
I can’t say what could cause this issue. 13.2s is a long time. But it’s still inside the 15s validity of the message. Another reason could be that the message/response was not correctly signed.

So one idea is:

- start repair again.
- copy and delete the client\_id. Then exit the field (e.g. set the focus to the client\_secret field).
- this will remove the public/private key from Homey.
- insert the client\_id again and finish pairing.
- this will create a new key pair and registers the app/domain again.
- now remove the key from your car.
- then add the app again as key car.

Don’t know if this helps. It’s just a try if a new key pair will refresh something in the communication.

---

<div class="post-metadata">

### Author: ![Zdenik03](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/zdenik03/32/50949_2.png) [@Zdenik03](https://community.homey.app/u/Zdenik03)
#### Post date: [February 13, 2025, 9:03pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/727 "2025-02-13T21:03:00Z")

</div>

Super. Thank you @RonnyW for your instructions.

Now everything works 🙂 I sent you a donate

---

<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 13, 2025, 9:07pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/728 "2025-02-13T21:07:50Z")

</div>

Thanks. But it was it was just a shot in the dark 😁

I think the car kept somehow the old public key. Good to hear it’s working now.

---

<div class="post-metadata">

### Author: ![Patrick\_Brouilly](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/patrick_brouilly/32/120823_2.png) [@Patrick\_Brouilly](https://community.homey.app/u/Patrick_Brouilly)
#### Post date: [February 14, 2025, 8:36am UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/729 "2025-02-14T08:36:16Z")

</div>

Hi !  
New user here 🙂  
Thank you so much for all the work done !

Juste one question about API usage. I dont understand the number of call done :

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/5/2/52a869265f3ed3bc68d403e1c3a6f4e62ce61ca5.png)

Can I have some logs to help and see why I call the API ?  
Thank you !

---

<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 14, 2025, 9:03am UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/730 "2025-02-14T09:03:32Z")

</div>

That’s a counter for daily API usage. It was used until last year as Tesla uses rate limit. It counts the amount of data readings.  
Today it can help youbto see a average usage. Si you can adjust the poll interval with a flow.  
This counter gets cleared at 0:00 UTC (the time when Tesla cleared the rate limit).

The data calls are done based on the poll interval set in car device settings. And it only counts if your car is online. If it’s parket and offline, no API calls will be counted by Tesla itself.

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

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