# \[APP\]\[Pro\] Tesla Smart Charger

**URL:** <https://community.homey.app/t/app-pro-tesla-smart-charger/30648>\
**Category:** Apps\
**Created:** [May 31, 2020, 6:50am UTC](https://community.homey.app/t/app-pro-tesla-smart-charger/30648 "2020-05-31T06:50:41Z")\
**Posts on this page:** 20\
**Page:** 26

<div class="post-metadata">

**Author:** ![ernholm](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ernholm/32/79175_2.png) [@ernholm](https://community.homey.app/u/ernholm)\
**Post date:** [October 31, 2023, 7:15am UTC](https://community.homey.app/t/app-pro-tesla-smart-charger/30648/512 "2023-10-31T07:15:15Z")

</div>

Sure,

First of all it’s not clear to me how/why but the various sensors are updated at different intervals for the car. E.g. inside temp 17min ago, outdoor 4 hours ago, GPS 14 hours ago.

Advanced settings I’ve left as default (e.g. 60 data fetch interval, GPS accuracy 250m) until I understand how they work clearly.

I tried creating a simple testflow that when vehicle has left home (with distance\_from\_home is greater than 250 send me a push notification with the distance.

As I experiemented with setting a lower data fetch rate (1min) I got the textmessage closer to 250m, as compared to when it was an hour and I’d driven a bit far away.

Since my goal was to have garage door automatically open/close when I leave/get home with the car I guess closing 1min after I’ve driven from home could work, but sitting home and waiting up to a minute after crossing 250m from home does not spark joy.

Ideally I’d like to pull location more often when driving (and/or trigger to check if me or why arrive home with our phones/apps - which seems to work fairly quickly with the geo-fencing).

I also tried a few examples yesterday with setting up the advertised verison “remind me if I should plug in the car”.  
By using: “If Battery becomes less than 60%” and “Time is later than X” and tesla is not plugged in send me a message that I should plug it in". I set the time to 1 minute in the future and waited but no luck (I assume if I’d waited an hour or adjusted the data rate it would work better, but will test tonight possibly).

---

<div class="post-metadata">

**Author:** ![MrNickNoldus](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mrnicknoldus/32/32747_2.png) [@MrNickNoldus](https://community.homey.app/u/MrNickNoldus)\
**Post date:** [November 2, 2023, 9:29pm UTC](https://community.homey.app/t/app-pro-tesla-smart-charger/30648/513 "2023-11-02T21:29:57Z")

</div>

We have two M3, one is recently updated to 2023.38.4 the other one is still on 2023.32.9. We have lost the position of the updated one on Homey. Tesla app and Tibber still gets the correct position of both of the cars. I assume we will lose the positioning of the other as well if we update the software in it.

---

<div class="post-metadata">

**Author:** ![Genghes](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/genghes/32/30051_2.png) [@Genghes](https://community.homey.app/u/Genghes)\
**Post date:** [November 3, 2023, 9:30pm UTC](https://community.homey.app/t/app-pro-tesla-smart-charger/30648/514 "2023-11-03T21:30:08Z")

</div>

There definitely is something wrong with location.  
When streaming (driving) the location keeps switching between the correct location and unknown.

About every minute it goes to unknown for about 5-10 seconds and then back to the correct location.

[Running v1.9.1 on Homey 2023]

 ![IMG_8983](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/e/0ecc4e9c6e49aab545478b774440903e756f51ac.jpeg)

---

<div class="post-metadata">

**Author:** ![Genghes](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/genghes/32/30051_2.png) [@Genghes](https://community.homey.app/u/Genghes)\
**Post date:** [November 3, 2023, 9:46pm UTC](https://community.homey.app/t/app-pro-tesla-smart-charger/30648/515 "2023-11-03T21:46:02Z")

</div>

Had the same issue. Turned out this was Sentry Mode, not any app.  
I now have this app running with status checks, and the official Tesla app plus one more on the phone.  
My car sleeps for hours as long as Sentry Mode is off.

---

<div class="post-metadata">

**Author:** ![Hatleskog](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/hatleskog/32/56479_2.png) [@Hatleskog](https://community.homey.app/u/Hatleskog)\
**Post date:** [November 4, 2023, 3:51pm UTC](https://community.homey.app/t/app-pro-tesla-smart-charger/30648/516 "2023-11-04T15:51:18Z")

</div>

Has anyone made a flow that can help with making sure that I don’t go above the kWh limit i’m trying to stay below?  
Any tips on how to get startet with such a flow?

---

<div class="post-metadata">

**Author:** ![Genghes](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/genghes/32/30051_2.png) [@Genghes](https://community.homey.app/u/Genghes)\
**Post date:** [November 4, 2023, 10:58pm UTC](https://community.homey.app/t/app-pro-tesla-smart-charger/30648/517 "2023-11-04T22:58:01Z")

</div>

@balmli  
Looks like the new Homey Pro 2023 is too fast… 😁  
I have had to add a 1sec delay in several of my flows doing calculations as the next flow cards starts up before the calculations finishes.

This might be what is happening with the locations not being calculated right?

---

<div class="post-metadata">

**Author:** ![Genghes](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/genghes/32/30051_2.png) [@Genghes](https://community.homey.app/u/Genghes)\
**Post date:** [November 4, 2023, 11:15pm UTC](https://community.homey.app/t/app-pro-tesla-smart-charger/30648/518 "2023-11-04T23:15:58Z")

</div>

I have.  
I use Tibber Pulse and check the total power I’m using.  
If it exceeds my settings I calculate how many Amp I am over and subtract this from the Tesla charging Amps.  
Then if the total power drops below a set point I calculate how many Amps I can adjust up but not exceed my max power usage.

My flow is actually way big and takes a lot of things into consideration.

 ![IMG_8998](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/e/ae462b99e430891dedf389eabe432c6448105833.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:** [November 4, 2023, 11:19pm UTC](https://community.homey.app/t/app-pro-tesla-smart-charger/30648/519 "2023-11-04T23:19:31Z")

</div>

Are you using standard flows? Then all THEN cards are processed parallel.  
If using AdvancedFlows, the logic cards return the result as tag and this you can use in the following cards. If placing the flow cards one after another, they are processed sequential.

Exception:  
If flow cards get processed parallel nevertheless, the developer uses async tasks without awaiting the result (perhaps it’s not possible to await a result in case of async APIs).

---

<div class="post-metadata">

**Author:** ![Genghes](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/genghes/32/30051_2.png) [@Genghes](https://community.homey.app/u/Genghes)\
**Post date:** [November 4, 2023, 11:34pm UTC](https://community.homey.app/t/app-pro-tesla-smart-charger/30648/520 "2023-11-04T23:34:31Z")

</div>

Yes, this is only a ‘problem’ in the standard flows.  
My advanced flows wait for each card to finish unless I purposely set them to execute in parallel.

---

<div class="post-metadata">

**Author:** ![LRvdLinden](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/lrvdlinden/32/80786_2.png) [@LRvdLinden](https://community.homey.app/u/LRvdLinden)\
**Post date:** [November 6, 2023, 1:00pm UTC](https://community.homey.app/t/app-pro-tesla-smart-charger/30648/521 "2023-11-06T13:00:56Z")

</div>

@balmli can you make a action card to set child lock on and off?

---

<div class="post-metadata">

**Author:** ![Hatleskog](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/hatleskog/32/56479_2.png) [@Hatleskog](https://community.homey.app/u/Hatleskog)\
**Post date:** [November 6, 2023, 5:34pm UTC](https://community.homey.app/t/app-pro-tesla-smart-charger/30648/522 "2023-11-06T17:34:06Z")

</div>

Awsome! Thanks… hurts my head a little just to look at this, but I have to try to duplicate this 🙂 I need ChatGPT integration to be able to describe what I need, and have it made automatically for me 😃

---

<div class="post-metadata">

**Author:** ![AnneM\_B](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/annem_b/32/80977_2.png) [@AnneM\_B](https://community.homey.app/u/AnneM_B)\
**Post date:** [November 9, 2023, 6:33pm UTC](https://community.homey.app/t/app-pro-tesla-smart-charger/30648/523 "2023-11-09T18:33:03Z")

</div>

Hi. Great app. Is it possible to change the times for charging days and times in the settings (like in the tibber power up). I´m not using the car for daily work, but for sparetime acitivies. I would like the possibility to set times for each day and the tesla to charge at the lowest hours the coming days until next activity. Like this.  
Time for departure:  
Monday 18:00  
Tuesday none  
Wednesday none  
Thursdag 16:00  
Friday 14:00  
Saturday none  
Sunday none

---

<div class="post-metadata">

**Author:** ![Boechie](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/boechie/32/29808_2.png) [@Boechie](https://community.homey.app/u/Boechie)\
**Post date:** [November 11, 2023, 11:00am UTC](https://community.homey.app/t/app-pro-tesla-smart-charger/30648/524 "2023-11-11T11:00:26Z")

</div>

Same issue here. I see this today for the first time. Last night my M3 updated to 2023.38.6. The issue might well be connected to the Tesla software version as @MrNickNoldus suggests. Hopefully @balmli can solve this. Thanks for all the work invested in this app anyways!

Edit: I do have 3 Homey environments (1x 2019, 2x 2023) and all of them show this Unknown value for location as of today after the Tesla software update last night.

Edit2: Some more info: It seems that the latitude/longitude capabilities of the car have the correctly updated values. It is just the textual location capability that reports an “Unknown, Unknown” value. And moreover the saved geofence locations don’t work anymore. They don’t get triggered (Tesla entered location When-card) and checking if the car is in a saved location (Tesla is at location And-card) reports false although lat/lng is within set radius of the saved location. I hope this info helps @balmli to find and fix the problem.

---

<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:** [November 11, 2023, 12:02pm UTC](https://community.homey.app/t/app-pro-tesla-smart-charger/30648/525 "2023-11-11T12:02:06Z")

</div>

It’s reported in the german forum that FW 2023.38.6 is causing issues with Tesla API. Teslamate was modified for, but I haven’t checked the details.

> **[TeslaMate Erfahrungs- und Datenthread](https://tff-forum.de/t/teslamate-erfahrungs-und-datenthread/84179/1621)**
>
> ACHTUNG nach Update auf 2023.38.4 funktionierte teslamate nicht mehr hier der workaround , bei mir läufts wieder

> <https://github.com/adriankumpf/teslamate/issues/3381>
>
> \### Is there an existing issue for this?
> 
> \- \[X\] I have searched the existing iss…ues
> 
> \### What happened?
> 
> After updating to 2023.32.8 this morning the logs are showing the following errors. I have tried the dockerhub tags latest and edge as well as building the current master branch of this repository without change in behavior.
> 
> \### Expected Behavior
> 
> \_No response\_
> 
> \### Steps To Reproduce
> 
> \_No response\_
> 
> \### Relevant log output
> 
> \`\`\`shell
> teslamate\_1 | 2023-10-27 00:51:16.661 car\_id=1 \[info\] Start / :online
> teslamate\_1 | 2023-10-27 00:51:16.666 \[error\] GenStateMachine :"1" terminating
> teslamate\_1 | \*\* (MatchError) no match of right hand side value: {:error, #Ecto.Changeset\<action: :insert, changes: %{date: ~U\[2023-10-27 00:51:16.569000Z\], power: 0, odometer: 5419.046258, tpms\_pressure\_fl: Decimal.new("3.0"), tpms\_pressure\_fr: Decimal.new("2.975"), tpms\_pressure\_rl: Decimal.new("3.0"), tpms\_pressure\_rr: Decimal.new("2.95"), battery\_heater: false, driver\_temp\_setting: Decimal.new("22.0"), fan\_status: 0, inside\_temp: Decimal.new("30.3"), is\_climate\_on: false, is\_front\_defroster\_on: false, is\_rear\_defroster\_on: false, outside\_temp: Decimal.new("30.0"), passenger\_temp\_setting: Decimal.new("22.0"), battery\_heater\_on: false, battery\_level: 45, usable\_battery\_level: 45, ideal\_battery\_range\_km: Decimal.new("240.61"), rated\_battery\_range\_km: Decimal.new("240.61"), est\_battery\_range\_km: Decimal.new("261.47")}, errors: \[latitude: {"can't be blank", \[validation: :required\]}, longitude: {"can't be blank", \[validation: :required\]}\], data: #TeslaMate.Log.Position\<\>, valid?: false\>}
> teslamate\_1 | (teslamate 1.28.0-dev) lib/teslamate/vehicles/vehicle.ex:721: anonymous fn/4 in TeslaMate.Vehicles.Vehicle.handle\_event/4
> teslamate\_1 | (ecto\_sql 3.10.1) lib/ecto/adapters/sql.ex:1203: anonymous fn/3 in Ecto.Adapters.SQL.checkout\_or\_transaction/4
> teslamate\_1 | (db\_connection 2.5.0) lib/db\_connection.ex:1630: DBConnection.run\_transaction/4
> teslamate\_1 | (teslamate 1.28.0-dev) lib/teslamate/vehicles/vehicle.ex:713: TeslaMate.Vehicles.Vehicle.handle\_event/4
> teslamate\_1 | (stdlib 5.1.1) gen\_statem.erl:1379: :gen\_statem.loop\_state\_callback/11
> teslamate\_1 | (stdlib 5.1.1) proc\_lib.erl:241: :proc\_lib.init\_p\_do\_apply/3
> \`\`\`
> 
> 
> \### Screenshots
> 
> \_No response\_
> 
> \### Additional data
> 
> \_No response\_
> 
> \### Type of installation
> 
> Docker
> 
> \### Version
> 
> latest, edge, and a direct build of mater.

---

<div class="post-metadata">

**Author:** ![Genghes](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/genghes/32/30051_2.png) [@Genghes](https://community.homey.app/u/Genghes)\
**Post date:** [November 12, 2023, 12:14pm UTC](https://community.homey.app/t/app-pro-tesla-smart-charger/30648/526 "2023-11-12T12:14:45Z")

</div>

The location issue is a change in the API from v.2023.38.X  
[https://developer.tesla.com/docs/fleet-api#faq](https://developer.tesla.com/docs/fleet-api#faq)

So this app needs a bit of love and tender from @balmli

---

<div class="post-metadata">

**Author:** ![Joakim.Elm](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/joakim.elm/32/47967_2.png) [@Joakim.Elm](https://community.homey.app/u/Joakim.Elm)\
**Post date:** [November 13, 2023, 12:07pm UTC](https://community.homey.app/t/app-pro-tesla-smart-charger/30648/527 "2023-11-13T12:07:11Z")

</div>

Thanks for a great app!  
I have a request for a when card to “open door” (not unlock)if it’s possible. Winter is coming and I guess the door handles on MY will be hard to open when it will be snow and ice on them… 🥶

Instead of unlock doors, I want the when flow to open selected (in my case left) door (same as the function open door in the Tesla App).

 ![IMG_0189](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/3/f3948d3a15413437683d59bf4f88ca034f717c6a.jpeg)

---

<div class="post-metadata">

**Author:** ![andraves](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/andraves/32/35065_2.png) [@andraves](https://community.homey.app/u/andraves)\
**Post date:** [November 13, 2023, 8:25pm UTC](https://community.homey.app/t/app-pro-tesla-smart-charger/30648/528 "2023-11-13T20:25:42Z")

</div>

Is it only for me or doesn’t smart charging working after v.2023.38.X?

---

<div class="post-metadata">

**Author:** ![pmniel5en](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/pmniel5en/32/36480_2.png) [@pmniel5en](https://community.homey.app/u/pmniel5en)\
**Post date:** [November 14, 2023, 6:30am UTC](https://community.homey.app/t/app-pro-tesla-smart-charger/30648/529 "2023-11-14T06:30:32Z")

</div>

No, thats the same for me.

---

<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:** [November 14, 2023, 11:31am UTC](https://community.homey.app/t/app-pro-tesla-smart-charger/30648/530 "2023-11-14T11:31:50Z")

</div>

Localisation isnt working to after 38.6

---

<div class="post-metadata">

**Author:** ![Genghes](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/genghes/32/30051_2.png) [@Genghes](https://community.homey.app/u/Genghes)\
**Post date:** [November 15, 2023, 6:56pm UTC](https://community.homey.app/t/app-pro-tesla-smart-charger/30648/531 "2023-11-15T18:56:06Z")

</div>

Yes. Same bug. It wont charge as it doe not think it is home…

But I just saw @balmli posted an update 25 minutes ago… Så YAY!!!

Please let us donate a coffee to you @balmli…

[Previous page](https://community.homey.app/t/app-pro-tesla-smart-charger/30648.md?page=25)

[Next page](https://community.homey.app/t/app-pro-tesla-smart-charger/30648.md?page=27)
