Author Topic: Door control for Thermostat  (Read 2785 times)

Offline Minnies

  • Full Member
  • ***
  • Posts: 218
  • Karma: +0/-0
Door control for Thermostat
« on: June 26, 2011, 12:12:29 pm »
This may be covered elsewhere but alas I was not able to locate it.

Is there a way to use door sensors to turn the thermostat on and off. I would like to turn the thermostat off if a door sensor indicates an opne door for some length of time (say 5 minutes), and once closed turn the thermostat back on to its original setting.

I have a Wayne Dalton WDTC-20 thermostat and Aeon Labs door sensors.

Offline Henk

  • Beta Testers
  • Hero Member
  • *****
  • Posts: 822
  • Karma: +3/-0
Re: Door control for Thermostat
« Reply #1 on: June 26, 2011, 12:27:51 pm »
@Minnies,

What you want to do should be possible.
You can compare it to the code used with a virtual switch (statedevice) and holidaysettings check the threads of these two topics for the code.

What you do is create a scene that checks the status of one device (or trigger by state) and then set the thermostat to a specifick state

This may be covered elsewhere but alas I was not able to locate it.

Is there a way to use door sensors to turn the thermostat on and off. I would like to turn the thermostat off if a door sensor indicates an opne door for some length of time (say 5 minutes), and once closed turn the thermostat back on to its original setting.

I have a Wayne Dalton WDTC-20 thermostat and Aeon Labs door sensors.
| Vera2 @ UI4 1.1.1350 / 3.20 | Vera Lite @ UI5 | Vera 3 @ UI5 | 2x Merten  504519 | 1x Duewi  064374 | 1x Everspring SM103 doorbell mod |1 Y-cam IP cam | various LUUP plugins |

Offline oTi@

  • Beta Testers
  • Master Member
  • *****
  • Posts: 4041
  • Karma: +31/-6
  • UI what ?!
Re: Door control for Thermostat
« Reply #2 on: June 28, 2011, 01:24:13 am »
[...]turn the thermostat off if a door sensor indicates an opne door for some length of time (say 5 minutes), and once closed turn the thermostat back on to its original setting.
For the 'door open' part you're probably going to need some code to get the delay in there. Check this out, the second example. In the scene created per the example, you would pick whatever you want the thermostat to do in the Commands tab of the scene.

For the 'door closed' part you can probably create a scene without any code, with the appropriate sensor event and thermostat command.

I guess it can get tricky, depending on what your requirement is for 'return to original setting' / what the capabilities are of your thermostat. Switching between 'energy save mode' (if there is one) and back to normal may work.
« Last Edit: June 28, 2011, 01:28:48 am by oTi@ »
Dezwaved at the moment...

Offline aecchalet

  • Full Member
  • ***
  • Posts: 221
  • Karma: +1/-1
Re: Door control for Thermostat
« Reply #3 on: July 09, 2011, 10:56:49 am »
Here is link that discussed the topic:
http://forum.micasaverde.com/index.php?topic=4327.0
Vera Plus 1.7.2138; 12xHRDS1, 2xTrane SCHTZMT400 Tstats; 5xZIR00, 4xCA9000 PIRs; 2xHA01C Recept; 2x2wy ZDW120W switch; 2xAppl (ACT, GE/Jasco), 6xLite Dim Mod (GE/Jasco, Evolve);  2xDead Bolt Schlage

Offline Minnies

  • Full Member
  • ***
  • Posts: 218
  • Karma: +0/-0
Re: Door control for Thermostat
« Reply #4 on: July 10, 2011, 12:06:35 am »
Thanks! That is perfect. No idea why I could not find it when searching.