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

<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: [May 23, 2026, 8:13am UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/1259 "2026-05-23T08:13:27Z")

</div>

> [@Paul\_H](#):
>
> According to their own API that I found, you are able to ‘register’ your user account to both NA and EU regions

The app is doing exactly this. But it’s only registration of the app URL (client\_id), not your personal account.

The problem is, that your account reports e.g. region EU after oAuth.

The app is using this region to call the API (region based URL). But your car is in another region. That’s something, you can’t handle via API.

Only way is to force another URL is to set it manually (e.g. device settings). I’ll check next days what I can do.

---

<div class="post-metadata">

### Author: ![Paul\_H](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/paul_h/32/120855_2.png) [@Paul\_H](https://community.homey.app/u/Paul_H)
#### Post date: [May 23, 2026, 8:43am UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/1260 "2026-05-23T08:43:38Z")

</div>

ah I see. ok, then I misunderstood  
Thanks for clarification

Im guessing youre thinking along the lines of a dropdown on login to the tesla dev site (within homey) where one could choose the URL?  
Or, I think I saw a region check you could do via API - in theory I guess you could check the accounts region, and then get the correct URL and further the process

either way, thanks for checking it out 🙂

Incidentally, as I dont know which region to choose in my settings (I tried United States) because I dont know which region my car is in - that method didnt work, or, entirely p[ossible I missed 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: [May 23, 2026, 9:51am UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/1261 "2026-05-23T09:51:58Z")

</div>

Are you using the same account for car and developer? If you are using a second account for dev access, make sure you are using the car account for oAuth login.

And yes, I thought about a region selection in car dehice settings, so the apo can use a fixed region (optional) instead of account region.

---

<div class="post-metadata">

### Author: ![Paul\_H](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/paul_h/32/120855_2.png) [@Paul\_H](https://community.homey.app/u/Paul_H)
#### Post date: [May 23, 2026, 7:47pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/1262 "2026-05-23T19:47:37Z")

</div>

I dont know to be honest. I think no

Wife had tesla (its actually her agreement) she has her own account, she shared the car with me (this is why I think no)

We then had solar and powerwall installed, and the installer put it on my account, and then I shared that with wifes account

we both see the same car and the same powerwall/solar install in the tesla app

I’ll get her to try logging in with her account, that might get me past it

---

<div class="post-metadata">

### Author: ![Paul\_H](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/paul_h/32/120855_2.png) [@Paul\_H](https://community.homey.app/u/Paul_H)
#### Post date: [May 23, 2026, 7:55pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/1263 "2026-05-23T19:55:48Z")

</div>

no, that didnt work either ☹

got her to create a dev account and everything also.

---

<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: [May 23, 2026, 8:06pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/1264 "2026-05-23T20:06:31Z")

</div>

It doesn’t make a difference whether a car is shared. It depends on the contry where the car is registered (I think) - and which Tesla region the car uses to communicate.

When exactly do you get the error? OAuth is ok and car is found? And after adding on first data reading, the device gets unavailable with this error?

---

<div class="post-metadata">

### Author: ![Paul\_H](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/paul_h/32/120855_2.png) [@Paul\_H](https://community.homey.app/u/Paul_H)
#### Post date: [May 23, 2026, 9:01pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/1265 "2026-05-23T21:01:46Z")

</div>

yes, oauth works, I go to add the car, no metrics. and the error

I just managed to get it working though

So yesterday I set the region to US - this didnt work, same error  
I then went to put it back to UK

I then tried again, but it failed as before.

Just out of curiosity, I decided to remove and readd the ‘Application Details’ in tesla dev website  
I tried the new device again

This seemed to make it work. I added the car, but this time its got all the metrics  
I was also able to add solar/battery

So im not sure which part of my messing with it made it work?!

Thanks for your help though, pointed me in the right direction

---

<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: [May 23, 2026, 9:28pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/1266 "2026-05-23T21:28:33Z")

</div>

Curious.

Just an idea… Did you add the car device again after changing the account region?

If I remember right, the app reads the region from account after oAuth login. Perhaps it also should have worked a remove/readd of car device.

No matter how—the main thing is that it works 😁

And a last hint… activate Telemetty and deactivate polling in car settings 😉

---

<div class="post-metadata">

### Author: ![Paul\_H](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/paul_h/32/120855_2.png) [@Paul\_H](https://community.homey.app/u/Paul_H)
#### Post date: [May 23, 2026, 9:43pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/1267 "2026-05-23T21:43:55Z")

</div>

yeah when i changed region to US i removed and readded the car.  
because im supposed to be set to UK, im not surprised this failed

I removed and readded the car after changing it back to UK also. There were a couple of Homey restarts also just in case it cached something

I have no idea what combination of events made it work 😃

why activate tel and deactivate polling?  
will this stop it from staying awake all the time?

PS. Can this App set backup reserve setting on the powerwall?  
That is only done via the Tesla cloud API (not fleet, and not locally)

---

<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: [May 24, 2026, 9:19am UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/1268 "2026-05-24T09:19:38Z")

</div>

Polling is done in intervals only and costs a lot of API credit. Telemetry is realtime and much cheaper. With a 5min interval your 10€ (or 10£, don’t know the exact amount fir UK) are used and you won’t have much free for commands. Using Telemetry, you only need a fraction of the costs. And you get realtime updates (e.g. coming home, start charging). Just try 😉

---

<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: [May 24, 2026, 9:27am UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/1269 "2026-05-24T09:27:25Z")

</div>

Powerwall only supports data reading via FleetAPI.

There was a undocumented API for historical data used to make a virtual meter, but that’s bot working anymore. So you only get current energy usage.

Backup reserve is possible but not added yet. Other commands don’t seem to be really usefor for Homey (?).

The history data is a mess trying to get something like sum today or sum yesterday.

> **[Energy Endpoints | Tesla Fleet API](https://developer.tesla.com/docs/fleet-api/endpoints/energy)**

I can add backup support as flow action if this is enough.

---

<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: [May 24, 2026, 11:32am UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/1270 "2026-05-24T11:32:59Z")

</div>

New test version 4.2.0:

- Added flow actions and capability for battery reserve.  
Capability is shown in Energy Site Battery.  
Flow actions are available for Energy Site or Energy Site Battery.

> **[Tesla Car & Energy | Homey](https://homey.app/en-us/app/com.tesla.car/Tesla-Car-&amp;-Energy/test/)**
>
> Zero emissions. Zero compromises.

@Paul_H FYI and test 🙂

---

<div class="post-metadata">

### Author: ![Paul\_H](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/paul_h/32/120855_2.png) [@Paul\_H](https://community.homey.app/u/Paul_H)
#### Post date: [May 24, 2026, 12:15pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/1271 "2026-05-24T12:15:09Z")

</div>

absolute legend! I will update and report back once Ive had a chance to play with the automation!

Thank you!

---

<div class="post-metadata">

### Author: ![Paul\_H](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/paul_h/32/120855_2.png) [@Paul\_H](https://community.homey.app/u/Paul_H)
#### Post date: [May 24, 2026, 10:22pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/1272 "2026-05-24T22:22:08Z")

</div>

This works a treat, I was able to stop the car sucking all the battery power in energy peak times. ie, the car should only charge off peak

One caveat. you cannot set battery reserve to more than 80%. the flow just fails  
I think this is by design as I remember seeing this somewhere

Additional:

Would it be possible to put the ‘Battery becomes (less than/greater than) %’ in the ‘AND’ cards so that I can base some flows logic on battery %??  
For example, car should only charge off peak, OR if battery is 80% AND time is 6pm

I think theres some metrics missing also, but I havent had a play with that yet. It could be a setting I havent enabled  
Particularly, solar, energy produced today  
battery dicharged/charged today

---

<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: [May 25, 2026, 1:50pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/1273 "2026-05-25T13:50:56Z")

</div>

> [@Paul\_H](#):
>
> Battery becomes (less than/greater than)

The app has only condition cards for ‘special’ conditions (dropdown). Please use standard Logic cards and device tags.

And “becomes less…” is a trigger, not a condition.

---

<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: [May 25, 2026, 1:53pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/1274 "2026-05-25T13:53:00Z")

</div>

> [@Paul\_H](#):
>
> Particularly, solar, energy produced today

Like already said, the history API I used (an undocumented one) is broken since some months. I opened a ticked at Tesla support, but nothing got fixed. So currently, the app only has current/live data for energy site.

---

<div class="post-metadata">

### Author: ![Paul\_H](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/paul_h/32/120855_2.png) [@Paul\_H](https://community.homey.app/u/Paul_H)
#### Post date: [May 31, 2026, 4:47pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/1275 "2026-05-31T16:47:08Z")

</div>

Any updates from Tesla?

Which API were you using for the historic metrics?

---

<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, 2026, 10:16pm UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/1276 "2026-06-19T22:16:21Z")

</div>

Got a diagnostocs report about API issues, but the user didn’t comment this thread…

If you get http errors with a message like “Premature close”, then it’s a Homey FW issue. Updating to latest RC should solve the issue.

Details:

> **[Slack | AI Work Platform & Productivity Tools](https://athomcommunity.slack.com/?redir=%2Farchives%2FC04SUGZ9E%2Fp1781855670661899%3Fthread_ts%3D1781855670.661899%26cid%3DC04SUGZ9E%26name%3DC04SUGZ9E%26perma%3D1781855670661899)**
>
> Boost productivity and save time with Slack‌ — ‌the AI work platform for managing projects, automating workflows, and connecting teams securely. Start working smarter today.

---

<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: [June 20, 2026, 9:05am UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/1277 "2026-06-20T09:05:56Z")

</div>

Hello Ronny,

Would it be possible to add a flow card trigger for when Telemetry status changes (enabled/disabled)?

I’ve noticed a few times that telemetry has been turned off in the settings without me touching it. Since I don’t know when it happens I’m not able to pinpoint what could be causing it…

---

<div class="post-metadata">

### Author: ![Lars\_Bluhm](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/lars_bluhm/32/120779_2.png) [@Lars\_Bluhm](https://community.homey.app/u/Lars_Bluhm)
#### Post date: [June 22, 2026, 9:38am UTC](https://community.homey.app/t/app-pro-tesla-car-energy-zero-emissions-zero-compromises/100824/1278 "2026-06-22T09:38:07Z")

</div>

Hi Ronny I have tried the battery reserve but get this error: this.getEnergySiteDevice(…).setEnergySiteBackupReserve is not a function

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

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