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

<div class="post-metadata">

### Author: ![Sasan\_Khandanpour](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sasan_khandanpour/32/79941_2.png) [@Sasan\_Khandanpour](https://community.homey.app/u/Sasan_Khandanpour)
#### Post date: [March 10, 2024, 9:31am UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/245 "2024-03-10T09:31:22Z")

</div>

Again flow couldn’t start charging. I started later manually. Here is report from app  
ff3f7836-5655-4807-9d0d-9f258ce86b25

---

<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: [March 10, 2024, 9:34am UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/246 "2024-03-10T09:34:36Z")

</div>

Was the car awake/online? Could you access it via Tesla mobile app?  
Is the car device settings set to “wake up if needed”?

The log says you tried to stop charging and get back an error that the car doesn’t charge yet.

 ![Screenshot_20240310_103659_Email](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/8/082ed6941168d5cd05346159c33c97547508773a.jpeg)

---

<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: [March 10, 2024, 9:55am UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/247 "2024-03-10T09:55:39Z")

</div>

I found an app perfect for calculating the average solar production for a set duration, Insight trends reloaded, I use it to calculate the average output of my solaredge inverter and set a numeric variable.

Big thanks to Edwin\_Biemond for pointing it out to me

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/d/6d3d6a60090c0dea7c61d51a91ef60fc1724dd49.png)

---

<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: [March 10, 2024, 10:02am UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/248 "2024-03-10T10:02:27Z")

</div>

Thanks for your answer!

So there is no way to trigger a flow when plugging in the car at home?

This means it will start charging at the last used setting at this location, the port opened event will trigger within 1 minute (just arrived so car will not be sleeping) and the flow will run (and end charging if there is no solar output)

How important is it to reduce the number of change charge state or current to minimize wear on the car’s chargers and inverters?

Thanks again!

---

<div class="post-metadata">

### Author: ![Valtsu](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/valtsu/32/70931_2.png) [@Valtsu](https://community.homey.app/u/Valtsu)
#### Post date: [March 10, 2024, 10:39am UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/249 "2024-03-10T10:39:05Z")

</div>

I am having some problems with the location data. The location ”Device” of the app is not updating at all. The main device and the battery device work perfectly AFAIK. Any idea where to start troubleshooting? Do I need to manually enable something in the car?

The only suspicious thing I can find is this app registry key in the state “unknown”:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/a/9abd25c745cdf232d3e8611fb77ea1a3373029ea.png)

---

<div class="post-metadata">

### Author: ![Sasan\_Khandanpour](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sasan_khandanpour/32/79941_2.png) [@Sasan\_Khandanpour](https://community.homey.app/u/Sasan_Khandanpour)
#### Post date: [March 10, 2024, 11:42am UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/250 "2024-03-10T11:42:47Z")

</div>

No I clicked on start charging. But as I said when the flow wants to start charging despite charging is already in progress it stops charging… But maybe it’s because of more than one version of flow exist? I will watch and wait and tell you again.

---

<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: [March 10, 2024, 1:01pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/251 "2024-03-10T13:01:40Z")

</div>

> [@Valtsu](#):
>
> I am having some problems with the location data. The location ”Device” of the app is not updating at all.

Please activate location reading in car sevice settings. It’s causign the location icon in car display, so it’s an opt-in for privacy.

> [@Valtsu](#):
>
> The only suspicious thing I can find is this app registry key in the state “unknown”:

You have not registered the app in your car or your car doesn’t provide a valid state (have seen this for some leased cars). If it’s not registered as car key, then proceed in car device repair options.

---

<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: [March 10, 2024, 2:10pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/252 "2024-03-10T14:10:20Z")

</div>

New **test version 1.2.7** :

- Added API error whitelist, starting with ‘already\_set’

These API errors are ignored and the flow action is processed as finished correctly.  
Please report further errors that are useless and should be ignored.

@Sasan_Khandanpour FYI. The SOC limit should not error again if it was already set.

---

<div class="post-metadata">

### Author: ![Valtsu](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/valtsu/32/70931_2.png) [@Valtsu](https://community.homey.app/u/Valtsu)
#### Post date: [March 10, 2024, 5:01pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/253 "2024-03-10T17:01:25Z")

</div>

> [@RonnyW](#):
>
> Please activate location reading in car sevice settings.

Thanks mate, this worked immediately! 🫡

---

<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: [March 11, 2024, 8:24am UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/254 "2024-03-11T08:24:58Z")

</div>

The Tesla Command Proxy will be offline for a short time form maintenance.

Edit: Proxy is online again.

---

<div class="post-metadata">

### Author: ![Sasan\_Khandanpour](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sasan_khandanpour/32/79941_2.png) [@Sasan\_Khandanpour](https://community.homey.app/u/Sasan_Khandanpour)
#### Post date: [March 11, 2024, 12:13pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/255 "2024-03-11T12:13:59Z")

</div>

Hi thanx for that. alreasy\_set comes with SOC but also with setting up charging current. But I think your white list takes effect an all flow cards?!  
There are some more API errors who should be on white list:  
not\_charging (when trying to stop charging)  
And there is an error code if the car is already charging and you try to start the charging. When you do so charging will be stopped in the car! I have to check for the right error text later when I have pluged in car.

The car was awake and online. I checked in the Tesla app. Wake up if needed is activated. I will send you a log again when I tried again. Now I tried to choose Kommando-API on Tesla vehicle command proxy. Than I can read data from the car, but I can’t do any commandos. I can’t register the APP key. Tesla App says to me its not needed for this 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: [March 11, 2024, 12:27pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/256 "2024-03-11T12:27:10Z")

</div>

> [@Sasan\_Khandanpour](#):
>
> When you do so charging will be stopped in the car!

That can’t be right I think. The app sends true or false dependent on your flow card. But it’s not a “toggle”. So perhaps you have copied the card and the option was not changed

> [@Sasan\_Khandanpour](#):
>
> can’t register the APP key. Tesla App says to me its not needed for this car.

Then it’s ok to use REST API. The car got no update to use the Fleet 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: [March 11, 2024, 12:30pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/257 "2024-03-11T12:30:59Z")

</div>

> [@Sasan\_Khandanpour](#):
>
> alreasy\_set comes with SOC but also with setting up charging current. But I think your white list takes effect an all flow cards?!

Yes, it’s a white list only for the error code independent of the flow card.

---

<div class="post-metadata">

### Author: ![JonAnders](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jonanders/32/34384_2.png) [@JonAnders](https://community.homey.app/u/JonAnders)
#### Post date: [March 11, 2024, 4:56pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/258 "2024-03-11T16:56:10Z")

</div>

Hi. I cannot find this settings for location reading anywhere?

---

<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: [March 11, 2024, 4:58pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/259 "2024-03-11T16:58:48Z")

</div>

Car device settings. There you can set some API stuff.

---

<div class="post-metadata">

### Author: ![JonAnders](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jonanders/32/34384_2.png) [@JonAnders](https://community.homey.app/u/JonAnders)
#### Post date: [March 11, 2024, 5:12pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/260 "2024-03-11T17:12:14Z")

</div>

I really browsed all menues in the car, but I’m not able to see this anywhere??

---

<div class="post-metadata">

### Author: ![Valtsu](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/valtsu/32/70931_2.png) [@Valtsu](https://community.homey.app/u/Valtsu)
#### Post date: [March 11, 2024, 8:05pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/261 "2024-03-11T20:05:26Z")

</div>

Car device, advanced settings:

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

---

<div class="post-metadata">

### Author: ![JonAnders](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jonanders/32/34384_2.png) [@JonAnders](https://community.homey.app/u/JonAnders)
#### Post date: [March 11, 2024, 8:18pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/262 "2024-03-11T20:18:34Z")

</div>

Great. That solved the location problem. Why not have “yes” as default?

---

<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: [March 11, 2024, 8:37pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/263 "2024-03-11T20:37:07Z")

</div>

For privacy reason - opt in 😉

---

<div class="post-metadata">

### Author: ![Kroef](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kroef/32/99880_2.png) [@Kroef](https://community.homey.app/u/Kroef)
#### Post date: [March 12, 2024, 7:07pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/264 "2024-03-12T19:07:44Z")

</div>

Since two days the app doesn’t anymore. I tried to add my Tesla again but I receive the following error:

[https://auth.tesla.com/oauth2/v3/token](https://auth.tesla.com/oauth2/v3/token) error: connect ETIMEDOUT 2a02:26f0:6d00:c8f::700:443

Does more people encounter this issue?

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

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