Jump to content
View in the app

A better way to browse. Learn more.

Universal Devices Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Hidden Door Sensor and a Light

Featured Replies

Posted

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

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.

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.

  • Author

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?

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.

  • Author

Wouldn't that force the light on no matter whether it was already on our not?

It was a fast, incomplete response. You would need an condition to check that the status of the light is already on.

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 by larryllix

  • Author

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

  • Author

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

The Adjust Scene needs to specify the name of the Controller in the "In Scene" parameter.

 

In Scene "hiddendoorsensor"  Set "responder" xx%

  • Author

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

"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).

  • Author

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

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 by larryllix

  • Author

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

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. :)

bambamf16

 

Sorry the example from post #11 was not clear

 

In Scene "hiddendoorsensor"  Set "responder" xx%

 

Happy larryllix was able to clear it up

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.

  • Author

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?

There is no dimmerlinc.  Is that a SwitchLinc Dimmer, KeypadLinc Dimmer, ToggleLinc Dimmer, LampLinc (which always has dimmer capability), etc

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).

  • Author

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

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.

  • Author

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

Guest
This topic is now closed to further replies.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.