Car preheating

Posted on
Sun Nov 01, 2015 3:58 pm
RAID5 offline
Posts: 66
Joined: Jan 16, 2015
Location: Sweden

Car preheating

Hi forum!

I need help!

I'm trying to build a automation to heat my car during cold winter mornings.
My goals are following:
1. Set independent departure time for every day
2. On/Off (Enable/disable) independent for every day
3. Start the heating depending on outdoor temperature
If the temperature is +10C +5C then the heater need to start 1 hour before departure
If the temperature is +5C +0C then it need to start 2 hour before departure
If the temperature is -0C -10C then it need to start 3 hours before departure
If the temperature is -10 -20 then it need to start 4 hours before
And finally >-20 5 hours before departure

Nr 2 was easy, just create a true/false variable for each day.

Nr 1 I'm not really sure how to solve, I need a function similar to an alarm clock. Where I can set a time easy with up/down arrows for minutes and hours.

Nr 3 is even more tricky. I need to calculate time remaining to departure and depending on temperature start in time. I leave at earliest 05:00 in the morning for work, I guess I can set a count down timer at midnight every night, but I still down know set the departure time in Nr 1.

Some one more cleaver then me or more knowledge in scripting that can give me some help.

RAID5 "A happy Swede addicted to automation"

Posted on
Mon Nov 02, 2015 1:37 pm
howartp offline
Posts: 3269
Joined: Jan 09, 2014
Location: West Yorkshire, UK

Re: Car preheating

Someone beat you to it:

viewtopic.php?f=107&t=14891&p=103986&hilit=Preheat#p103986


Sent from my iPhone using Tapatalk

Posted on
Mon Nov 02, 2015 4:51 pm
andarv offline
Posts: 121
Joined: Jun 28, 2015
Location: Stockholm, Sweden

Re: Car preheating

That script solves the basic with preheating depending on departure.
It takes ETD from a variable, if you don't like to modify the script to much u could use a schedule to update the time. Otherwise it won't be independent.
To set time on a control page is above my knowledge, I have tried. Right now I use pop-up on the iPad.


Skickat från min HTC One_M8 via Tapatalk

Posted on
Mon Nov 02, 2015 10:00 pm
kw123 offline
User avatar
Posts: 5511
Joined: May 12, 2013
Location: Dallas, TX

Re: Car preheating

What about pre cooling


Sent from my iPhone using Tapatalk

Posted on
Thu Jan 14, 2016 5:32 am
andarv offline
Posts: 121
Joined: Jun 28, 2015
Location: Stockholm, Sweden

Re: Car preheating

This morning it was -22C so the option to cool down the car isn't that appealing.
Where I live it's not really a priority any time of the year :)
But one option would be to roll down the windows with a relay?

Skickat från min HTC One_M8 via Tapatalk

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 0 guests