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.

Early weekday morning ramp rate for bathroom lights

Featured Replies

Posted

My wife has to be up at 3am to get ready for work. I recently installed EcoSmart LED lights in my bathroom as well as a SwitchLinc dimmer. I wanted a program that would run weekdays at 3am so that when she turned the lights on, they would come on at a low level and slowly ramp up to about 75% (as 100% is just too bright for pretty much any time of day).

 

The following program accomplishes this. I had a lot of help from memebrs of this forum, so I really can't take credit for the programming side, but I did want to share it with others.

 

Basically, between the hours of 3am and 5am, if my SwitchLinc dimmer is turned on, the lights will come on at 35% and over an 8 minute period, ramp up to 75%. At any other time, they will come on at 75% with a .3 second ramp.

 

I have my SwitchLinc labelled Master Bath Can Lights. I have this SwitchLinc in a scene called Early AM MB Can Lights as a Controller. The switchlinc is set with a 75% on level and .3 sec ramp rate for local control. The scene is set with a 75% on level and a 8 minute ramp rate. The switchlinc IS controlling the load locally.

 

Program 1:

If
       On Mon, Tue, Wed, Thu, Fri
       From     3:00:00AM
       To       5:00:00AM (same day)

Then
       In Scene 'Bathrooms / Master Bath Can Lights' Set 'Bathrooms / Master Bath Can Lights' 35% (On Level)
       In Scene 'Bathrooms / Master Bath Can Lights' Set 'Bathrooms / Master Bath Can Lights' 0.3 Sec (Ramp Rate)

Else
       In Scene 'Bathrooms / Master Bath Can Lights' Set 'Bathrooms / Master Bath Can Lights' 75% (On Level)
       In Scene 'Bathrooms / Master Bath Can Lights' Set 'Bathrooms / Master Bath Can Lights' 0.3 Sec (Ramp Rate)

 

Program 2:

If
       On Mon, Tue, Wed, Thu, Fri
       From     3:00:00AM
       To       5:00:00AM (same day)
   And Control 'Bathrooms / Master Bath Can Lights' is switched On
   And Control 'Bathrooms / Master Bath Can Lights' is not switched Off

Then
       Wait  1 second
       Set Scene 'Early AM MB Can Lights' On

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

 

There is also a "fast Off" program as well. This allows the lights to go off immediately, rather than at the 8 minute ramp rate.

 

If
       Control 'Bathrooms / Master Bath Can Lights' is switched Off

Then
       Set 'Bathrooms / Master Bath Can Lights' Fast Off

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

That is great. I didn't realize that programs can be used to "reprogram" scenes. I look forward to using that feature.

Nice code.

 

You could also set up two separate scenes, with the same device(s) in them, but with different max/ramp. Then, depending on time, trigger one scene or the other.

 

Your method avoids some duplication of code, and is independent of how the lighting is triggered.

 

* Orest

I have to say.... "you're never too old to learn".

I have been working with ISY since about day one and Scenes have always been a confusing issue with me.

I use a Motion Detector and require different parameter based on the time of day.

I have tried this for a long time and have never truly been successful with this until now.

My situation is still a little different because I am also using a remote switch with a companion switch because I only have a two wire configuration.

But ALAS, success thanks to this posting and some concentrated thought and programming work.

I seldom used scenes because I thought I was having memory issues with my Dimmerlincs, but now I understand how to program scene values and SUCCESS.

 

Thanks to this forum and all that contribute.

 

Clarence

Avonlea22, thanks for sharing. I love seeing what other people are doing with their ISY and what methods they use.

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.