Jump to content

Hidden Door Sensor and a Light


BamBamF16

Recommended Posts

I just received my first hidden door sensor.  I would like it to turn a light on when the door is closed.  I split the sensor into the double option and added the door closed node to a scene that has a lamplinc dimmer as the reponder.  The scene works fine when the door shuts and the node turns on.  However, whent he door opens and the node turns off, the scene does not turn off.  I gues there is something I am missing.  Will I have to accomplish this via program, or can it be done in a scene?

 

Thanks, Jeff

Link to comment

Ok. New issue. The above programs change the on level of the dimmer in the scene but not in the Door sensor that is the controller of the scene. So even though the scene shows the correct on level when the door sensor activated the scene the light comes on to the wrong level.

 

Jeff

Link to comment

"The above programs change the on level of the dimmer in the scene but not in the Door sensor"

 

For the Program to affect what the Scene name does the Scene name had to be specified in the In Scene parameter.

 

That statement remains as is.  To that add another Adjust Scene statement with the Hidden Door Sensor in the In Scene parameter.

 

I have assumed the Hidden Door Sensor is also a Controller in the Scene definition.  If that is not correct post the Scene definition and the current Program(s).

Link to comment

Lee,

 

Still trying to figure out how to post the pic of my tree.

 

Here are my laundry related programs:

 

Change on level based on time:

 

LaundryLampNight - [iD 001D][Parent 0001]

 

If

From Sunset - 30 minutes

To 8:00:00AM (next day)

 

Then

In Scene 'Laundry Room / LaundryLamp-On' Set 'Laundry Room / Dimmer.LR' 1% (On Level)

Run Program 'LaudryLampReset' (If)

 

Else

In Scene 'Laundry Room / LaundryLamp-On' Set 'Laundry Room / Dimmer.LR' 100% (On Level)

Run Program 'LaudryLampReset' (If)

 

Program to reset scene if on at a changeover time:

 

LaudryLampReset - [iD 001F][Parent 0001][Not Enabled]

 

If

Status 'Laundry Room / Dimmer.LR' is not Off

 

Then

Set Scene 'Laundry Room / LaundryLamp-Off' On

Wait 1 second

Set Scene 'Laundry Room / LaundryLamp-On' On

 

Else

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

 

 

What I have found is if I select the "DoorClose.LR" in the LaundryLamp-On scene the on level for the dimmer never changes. It does change when I select the scene "LaundryLamp-On". I know to copy the scene attributes to the controller but I cant figure out how to accomplish via program. I know it is a term you are using that I am not grasping!

 

Jeff

Link to comment

I went through this same dilemma with controlling scene parameters and it took me a long time to get it through my head.

 

It appears you are still selecting the scene to control instead of the controller (found in the scene pulldown list)

 

When you select the scene in your programs scroll further (probably up) for the "controller device of the scene" in the list. Mine were all at the top of the list above where the pulldown menu displayed on the screen. The "controller device of the scene" is not, in fact, a scene at all, but still on the list. I see no mention of a device that looks like your Door sensor in your programs.

 

 

 In Scene 'Laundry Room / LaundryLamp-On' <---- This should be the "Door Sensor"

Link to comment

Larry, that is exactly what I wasn't grasping. I just didn't put together selecting the controller outside of the scene. Thanks.

 

Lee, sorry I didn't understand what you meant.

 

Jeff

Hey! Xathros had to pound that into my brain for a few nights before I caught on. It isn't intuitive or syntactically correct but where else would UDI put it? I could feel your confusion and couldn't sleep. :)

Link to comment

Well everything was working well until I got home last night. The door was open but the light was on. It is a dimmerlinc on a gfci controlling a lamp with an led bulb. Thoughts? Comm issues?

 

It is not in compliance with the electric code to use a dimmer to control an outlet (duplex receptacle).

Link to comment

It is not in compliance with the electric code to use a dimmer to control an outlet even if the outlet is a GFCI. You can, however, use an OutletLinc Dimmer or LampLinc.

Link to comment

I am not controlling an outlet. The lamplinc is plugged in using the plug on the back (male) into an electrical receptacle. That receptacle is a gfci. The lamp with an led bulb is plugged into the bottom electrical plug (female) of the lamplinc. I can't think of any other way to state I am not controlling an electrical outlet. In fact I can't think of any other to use the lampinc other than the method I am using. There are no switches or dimmers or any other such thing on this circuit. Sorry for the confusion.

 

Jeff

Link to comment

Archived

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


×
×
  • Create New...