# Car-heater flow

**URL:** <https://community.homey.app/t/car-heater-flow/16761>\
**Category:** Flows\
**Created:** [August 12, 2019, 9:30am UTC](https://community.homey.app/t/car-heater-flow/16761 "2019-08-12T09:30:25Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Borgen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/borgen/32/12762_2.png) [@Borgen](https://community.homey.app/u/Borgen)\
**Post date:** [August 12, 2019, 9:30am UTC](https://community.homey.app/t/car-heater-flow/16761/1 "2019-08-12T09:30:25Z")

</div>

Winter is fortunately still a bit away, but wanted to have this working before it is actually needed.

Is it possible to create a flow that based on the outside temperature turns on a WallPlugg at different times?

Say that you always leave for work at 07:35 in the morning and want a warm car, but you don’t want to waste unnecessary energy on heating the car too long if it isn’t that cold outside. So if the outside temperature is between -5C and +2C it would perhaps be enough for the heater to be on for 30 minutes but if it is -15C it would need 65minutes to get the car warm.

How do I accomplish this in a flow?  
Can it be done in one Flow or do I have to create multiple?

---

<div class="post-metadata">

**Author:** ![ArnoP](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arnop/32/13709_2.png) [@ArnoP](https://community.homey.app/u/ArnoP)\
**Post date:** [August 12, 2019, 9:36am UTC](https://community.homey.app/t/car-heater-flow/16761/2 "2019-08-12T09:36:46Z")

</div>

Either use an alarm-clock for the times or use a flow like:

WHEN time is 65minutes before leaving  
AND outside-temp \< -14  
THEN switch on heater, switch off heater after 65 minutes

WHEN time is 30 minutes before leaving  
AND outside-temp \>-6 AND outside-temp \<3  
THEN switch on heater, switch off heater after 30 minutes

---

<div class="post-metadata">

**Author:** ![FKey](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/fkey/32/14793_2.png) [@FKey](https://community.homey.app/u/FKey)\
**Post date:** [August 12, 2019, 8:49pm UTC](https://community.homey.app/t/car-heater-flow/16761/3 "2019-08-12T20:49:13Z")

</div>

Dont forget to also define the temp range between -6~ -14 😉

Define the switch off 3 hours after start for all, you dont want to spent an hour heating up the car, finding it cooled down because you are 10 min late…  
And I guess you will need to disconnect from your wallplug anyway before driving away… so that duration is not relevant.

> [@Borgen](#):
>
> Can it be done in one Flow or do I have to create multiple?

Having multiple flows is not bad, It keeps you flows readable…  
Put them tegether in a folder “car heater”

---

<div class="post-metadata">

**Author:** ![Kfk](https://avatars.discourse-cdn.com/v4/letter/k/3e96dc/32.png) [@Kfk](https://community.homey.app/u/Kfk)\
**Post date:** [February 9, 2020, 5:02pm UTC](https://community.homey.app/t/car-heater-flow/16761/4 "2020-02-09T17:02:10Z")

</div>

How do you set time to ”65 minutes before leaving”?

---

<div class="post-metadata">

**Author:** ![ArnoP](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arnop/32/13709_2.png) [@ArnoP](https://community.homey.app/u/ArnoP)\
**Post date:** [February 11, 2020, 12:21pm UTC](https://community.homey.app/t/car-heater-flow/16761/5 "2020-02-11T12:21:05Z")

</div>

If you usually leave at 7am then 65 minutes before leaving would be 5:55am… It’s not that like magic Homey knows when I am about to leave.

---

<div class="post-metadata">

**Author:** ![Kfk](https://avatars.discourse-cdn.com/v4/letter/k/3e96dc/32.png) [@Kfk](https://community.homey.app/u/Kfk)\
**Post date:** [February 11, 2020, 6:16pm UTC](https://community.homey.app/t/car-heater-flow/16761/6 "2020-02-11T18:16:03Z")

</div>

😄 I thought that maybe you had a clock on your Homey homescreen where you set the departure time. I have seen that solution in another smart home system.
