# Tesla charging

**URL:** <https://community.homey.app/t/tesla-charging/74917>\
**Category:** Flows\
**Tags:** app, flow\
**Created:** [January 11, 2023, 11:33am UTC](https://community.homey.app/t/tesla-charging/74917 "2023-01-11T11:33:35Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![EdStaal](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/edstaal/32/35035_2.png) [@EdStaal](https://community.homey.app/u/EdStaal)\
**Post date:** [January 11, 2023, 11:33am UTC](https://community.homey.app/t/tesla-charging/74917/1 "2023-01-11T11:33:35Z")

</div>

Hi, I think I have a very simple question but I do not get it work. In fact three questions:  
I made a flow that when the price is good that the tesla (which is connected to power of course) may start charging, if the price is changed and will be to low then car must stop charging and another flow that when the car is connected at home the car stops charging because of high pricing. The flows are working but the car does not start or stop charging. I think there is something simple I do wrong. Hope someone can give an example of a flow.

example: If price-logic is changed and price-logic is yes (price is low enough), then car must start charging.

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

The other is reversed: if price changed and price is to high car must stop charging.

A third one will be, if car starts charging (when arriving home and the car is plugged in) then he needs to do a check if price is ok, otherwise, stop charging.

thanks for helping me

---

<div class="post-metadata">

**Author:** ![Mike1233](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mike1233/32/20991_2.png) [@Mike1233](https://community.homey.app/u/Mike1233)\
**Post date:** [January 11, 2023, 12:08pm UTC](https://community.homey.app/t/tesla-charging/74917/2 "2023-01-11T12:08:52Z")

</div>

If the price is already, let’s say, 10 cents and it stays 10 cents the flow wil not start because the price has not changed.

If you make it like:

IF the price has changed  
AND the price is \<12 cent  
THEN charging on

then it should work.

---

<div class="post-metadata">

**Author:** ![EdStaal](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/edstaal/32/35035_2.png) [@EdStaal](https://community.homey.app/u/EdStaal)\
**Post date:** [January 11, 2023, 1:06pm UTC](https://community.homey.app/t/tesla-charging/74917/3 "2023-01-11T13:06:02Z")

</div>

Hi Mike, This is not my original flow. What you describe is clear to me. The problem is that the car is not starting to charge after the ‘charging on’ card. So I think I do something wrong with the app. Do I have to put it on manual, automatic, off, etc.

It looks likes the command start charging does not reach my tesla. And vice versa, when the tesla starts charging when I am at home the flow does not receive the information ‘charging started’

---

<div class="post-metadata">

**Author:** ![DirkG](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dirkg/32/118897_2.png) [@DirkG](https://community.homey.app/u/DirkG)\
**Post date:** [January 11, 2023, 1:33pm UTC](https://community.homey.app/t/tesla-charging/74917/4 "2023-01-11T13:33:03Z")

</div>

Have you ever tried to manually start the charging function with a very simple flow?  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/3/93f406b365a7f8932c9a646026aa0f045a6d3834.png)

This should allow you to check if there is something wrong with the app.  
And if there is something wrong with the app, I don’t know this app and I don’t know what settings you can/must make, then you should better ask your question in the appropriate [thread](https://community.homey.app/t/app-pro-tesla-smart-charger/30648).

---

<div class="post-metadata">

**Author:** ![EdStaal](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/edstaal/32/35035_2.png) [@EdStaal](https://community.homey.app/u/EdStaal)\
**Post date:** [January 11, 2023, 1:41pm UTC](https://community.homey.app/t/tesla-charging/74917/5 "2023-01-11T13:41:38Z")

</div>

thanks, this looks like to work. Then I have to look further

---

<div class="post-metadata">

**Author:** ![EdStaal](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/edstaal/32/35035_2.png) [@EdStaal](https://community.homey.app/u/EdStaal)\
**Post date:** [January 12, 2023, 6:36pm UTC](https://community.homey.app/t/tesla-charging/74917/6 "2023-01-12T18:36:56Z")

</div>

Now I have another problem. Why does this logic not work:  
If battery is larger then 30% then set logic variable to no.  
It seems the tesla does not give information to the tesla homey app.  
Can someone tell what’s wrong?

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

---

<div class="post-metadata">

**Author:** ![DidierVU](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/didiervu/32/12458_2.png) [@DidierVU](https://community.homey.app/u/DidierVU)\
**Post date:** [January 12, 2023, 7:52pm UTC](https://community.homey.app/t/tesla-charging/74917/7 "2023-01-12T19:52:26Z")

</div>

Maybe the battery never went below 30% during your test period?

---

<div class="post-metadata">

**Author:** ![DirkG](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dirkg/32/118897_2.png) [@DirkG](https://community.homey.app/u/DirkG)\
**Post date:** [January 13, 2023, 3:15pm UTC](https://community.homey.app/t/tesla-charging/74917/8 "2023-01-13T15:15:15Z")

</div>

Like Didier, I also guess that the battery capacity never dropped below 30%.  
To trigger the flow, the battery capacity must first be lower than 30%, and then rise above 30%.

I don’t know exactly what you want to achieve, but if you want that the logic variable should be set to YES, even if the battery capacity is already greater than 30%, than you have to change the flow like this:

**When…**  
– The battery level changed  
**And…**  
– _ **Battery** _ is greater than _ **30** _  
**Then…**  
– Set _ **tesla batterij \< 100** _ to _ **Yes** _

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