Jump to content

Master Closet with two doors and hidden door sensors


Scottmichaelj

Recommended Posts

I been working on a master closet that has two doors with two switches (2 Switchlinc's as a 3-way scene) and a hidden door sensor on each door. I wanted to make sure that when one door closed, if the other door was open that the light stayed on. What I did was add the HDS with "Two Nodes" enabled in the options section, which put one open and one closed node in the my lighting section. I then put the three way switchlincs and both the open nodes in a scene called "Master Closet" as controllers. This way when either closet door is opened it would turn on the lights/three way switch. The issue is keeping the lights on when either door is closed. Thats where the closed node of the HDS comes into play. I then added the following program:

 

MBed Closet [OFF]

 

If

Status 'MCloset-L-DC-DS' is On

And Status 'MCloset-R-DC-DS' is On

 

Then

Set 'MCloset-L-Switch' Off

Set 'MCloset-R-Switch' Off

 

Else

- No Actions - (To add one, press 'Action')

 

This way now when both doors have to be closed then the program will run and turn off the lights. Its important to remember that the closed nodes are opposite, on/off, meaning when the HDS is pressed down the closed node is then "ON".

 

I thought I would post this so if anyone else is looking to do something similar. To those who helped me with this before the great forum snafu, and you know who you are, I thank you. Good advise.

Link to comment

Archived

This topic is now archived and is closed to further replies.


×
×
  • Create New...