Jump to content

Kids bedside lamp as a nightlight


bcrawfo2

Recommended Posts

Posted

I've been happily using my son's table lamp as a nightlight by setting it to turn on at 7pm at 22%. The lamp was placed where nobody used the local control. We recently moved it where it gets used via local control. Tonight after bed, it became apparent that someone had turned it off, so we turned it on locally and it went to 100%.

Any workaround for this?

Do I write a program that says "if lamp is on and time is between 7pm and 5am, set lamp to 22%"? Am I setting myself for a race condition or something?

 

Thanks for any input.

Posted

The "Local" On Level can be adjusted with an ISY Program based on time.

 

If From 7 PM

to 5 AM (next day)

 

Then

Adjust Scene where both the 'In Scene' and 'Set' parameters are the LampLinc node name, On Level 22%

Else

Adjust Scene where both the 'In Scene' and 'Set' parameters are the LampLinc node name, On Level 100%

 

LampLinc node must be a Controller of a Scene even if the Scene itself it not used for anything more than enabling the use of the Adjust Scene statement.

 

With the Local On Level being set any manual operation of the Lamp between 7PM and 5AM will turn the lamp On to 22%

Guest
This topic is now closed to further replies.

  • Recently Browsing

    • No registered users viewing this page.
  • Who's Online (See full list)

    • There are no registered users currently online
  • Forum Statistics

    • Total Topics
      37.1k
    • Total Posts
      371.5k
×
×
  • Create New...