BamBamF16 Posted January 18, 2015 Posted January 18, 2015 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
LeeG Posted January 18, 2015 Posted January 18, 2015 The Hidden Door Sensor does not send an Off message even though the ISY marks the node Off. A Program triggered by a Status of Off to turn the LampLinc Off is required.
LeeG Posted January 18, 2015 Posted January 18, 2015 If the Door Open node is not being used it could be a Controller of an ISY Scene that has the LampLinc as a Responder with a 0% On Level. That Scene will turn Off the LampLinc when the door is opened because of the 0% Responder On Level.
BamBamF16 Posted January 18, 2015 Author Posted January 18, 2015 Great idea Lee. Follow up? I have a program that adjusts the dimmer on level based on time of day. However if the light is already on it does not adjust until the next off on cycle. How can I force the change even if the light is already on?
shannong Posted January 18, 2015 Posted January 18, 2015 If Time is <time> Then Adjust Scene Set Scene Off Wait 1 sec Set Scene On The wait is to avoid issues with communications from collisions.
BamBamF16 Posted January 19, 2015 Author Posted January 19, 2015 Wouldn't that force the light on no matter whether it was already on our not?
shannong Posted January 19, 2015 Posted January 19, 2015 It was a fast, incomplete response. You would need an condition to check that the status of the light is already on.
larryllix Posted January 19, 2015 Posted January 19, 2015 (edited) Shannong had it. Just add your lamp condition logic. If Time is proper AND Lamp is On Then Adjust scene Set scene On Else Adjust scene Edited January 19, 2015 by larryllix
BamBamF16 Posted January 20, 2015 Author Posted January 20, 2015 Thanks for all your help. I ended up adding a disabled program to both the then and else branches. It checks in status and turns on if already on. Jeff
BamBamF16 Posted January 20, 2015 Author Posted January 20, 2015 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
LeeG Posted January 20, 2015 Posted January 20, 2015 The Adjust Scene needs to specify the name of the Controller in the "In Scene" parameter. In Scene "hiddendoorsensor" Set "responder" xx%
BamBamF16 Posted January 20, 2015 Author Posted January 20, 2015 I'm not home now but I will paste the program later. I thought that is what I did. And there was only on potion to select in the scene. Jeff
LeeG Posted January 20, 2015 Posted January 20, 2015 "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).
BamBamF16 Posted January 21, 2015 Author Posted January 21, 2015 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
larryllix Posted January 21, 2015 Posted January 21, 2015 (edited) 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" Edited January 21, 2015 by larryllix
BamBamF16 Posted January 21, 2015 Author Posted January 21, 2015 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
larryllix Posted January 21, 2015 Posted January 21, 2015 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.
LeeG Posted January 21, 2015 Posted January 21, 2015 bambamf16 Sorry the example from post #11 was not clear In Scene "hiddendoorsensor" Set "responder" xx% Happy larryllix was able to clear it up
larryllix Posted January 21, 2015 Posted January 21, 2015 bambamf16 Sorry the example from post #11 was not clear In Scene "hiddendoorsensor" Set "responder" xx% Happy larryllix was able to clear it up I learned from the masters.
BamBamF16 Posted January 23, 2015 Author Posted January 23, 2015 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?
LeeG Posted January 23, 2015 Posted January 23, 2015 There is no dimmerlinc. Is that a SwitchLinc Dimmer, KeypadLinc Dimmer, ToggleLinc Dimmer, LampLinc (which always has dimmer capability), etc
stusviews Posted January 23, 2015 Posted January 23, 2015 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).
BamBamF16 Posted January 24, 2015 Author Posted January 24, 2015 Sorry. That was the incorrect term. It is a lamplinc plugged into a gfci outlet. I will check my programming because it was on again tonight. Jeff
stusviews Posted January 24, 2015 Posted January 24, 2015 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.
BamBamF16 Posted January 24, 2015 Author Posted January 24, 2015 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
Recommended Posts