Jump to content

Setting up lights for Movie Time


doug95630

Recommended Posts

I would like to dim some lights and turn others off when ready to watch a movie,  I have set up two scenes, one for lights to be dimmed, other for lights to be off.  I then wrote a small programs with no "If", but the "then" runs the two scenes.

 

One problem is that I set the device on state to 45% for the lights remaining on.  Now, when other schenes turn on these lights, they only turn on the 45% brightness.  Can I tell the device in the program what brightness to go to?

 

Watch Movies - [iD 0007][Parent 0001]

If
   - No Conditions - (To add one, press 'Schedule' or 'Condition')
 
Then
        Set Scene 'Movie Time Dimmer' On
        Set Scene 'Movie Time Off' Off
 
Else
   - No Actions - (To add one, press 'Action')
 

 

Thanks,

 

Doug

Link to comment

What are you scene members? Which device are controllers, if any? which are responders? What are their respective On-levels? What is/ the program trigger?

 

I use "Movie Time" and "Lights On" buttons plus a program.

 

The "Movie Time" and "Lights On" use one scene, in particular all the lights I want off plus those I want dimmed. The scene is controlled by the Main buttons of Keypads. The "Movie Time" button turns the lights off and the "Lights On" button sets them the to normal in use preset On-Level for each device.

 

A program triggered by the Off button turns certain members of the scene to the chosen dim level.

Link to comment

Each scene defines the level of brightness and ramp speed for each device. They don't interact. Set up each scene for the brightness you desire. Make sure you are adjusting the scene levels and not the device local levels found for each device inside the scene "folder".

 

Program lines can also set each device to any level independantly. For full on, regardless of dimming, use a fast on command.

Link to comment

How do I set the scene brightness without setting the local level? Also, how can I set the levels directly through programming? Is there a tutorial for programming?

 

 

Sent from my iPad using Tapatalk

Here is a program example setting lights to a brightness level.

Porch Lights.auto - [ID 0043][Parent 0062]

If
        From    Sunset  + 30 minutes
        To       2:00:00AM (next day)
    And $sOccupied is $cFALSE
    And $sOccupied is not $cTRUE
 
Then
        Set 'Foyer / Front Porch Lights' 25%
        Set 'Foyer / Side Deck Lights' 25%
        Wait  8 hours 
        Run Program 'Porch Lights.auto' (Else Path)
 
Else
        Wait  2 minutes 
        Set 'Foyer / Front Porch Lights' Off
        Set 'Foyer / Side Deck Lights' Off
 

.

 

.

Here is a scene example created by dragging Insteon devices onto the scene name created by you.

 

Note the level and ramp speed adjustments for the scene. You must have the scene selected with your cursor, not the devices included in the scene listed below the scene in the device tree.

 

post-4697-0-27078000-1447680415_thumb.jpg

Link to comment

I have two programs for movie watching. This one adjust the lighting and dims the LEDs on visible Keypads. There are three triggers, the two Off buttons on 6-button Keypads (my side, wife's side) and a SynchroLinc that powers the subwoofer when the video powers on. The KPL buttons are also the Movie Time scene controllers.

 

LR Movie Lights Off (begin movie)

If
        From    Sunset  + 15 minutes
        To      Sunrise (next day)
    And (
             Control 'LR / Devices / LR Movie Time 1' is switched Off
          Or Control 'LR / Devices / LR Movie Time 2' is switched Off
          Or Status  'LR / Devices / LR Video SynchroLinc' is 100%
        )
 
Then
        Set 'KT / Devices / KT Ceiling 50' 15%     <--- this is the light I want set to a dim level, not off
        Set 'LR / Devices / LR Movie Time 1' On  2 / Off 1 (Backlight Level)
        Set 'LR / Devices / LR Movie Time 2' On  2 / Off 1 (Backlight Level)
        Set 'LR / Devices / LR Sofa Tabletop 1' On  2 / Off 1 (Backlight Level)
        Set 'LR / Devices / LR Sofa Tabletop 2' On  2 / Off 1 (Backlight Level)
        Set 'CR / Devices / CR KPL LR Light' On  2 / Off 1 (Backlight Level)
 
Else
   - No Actions - (To add one, press 'Action')
 

 

This program restores the KeypadLinc LEDs brightness levels. Because the kitchen light is part of the movie scene, there's no need to include it in a statement.

 

LR Movie Lights On (end movie)
If
        From    Sunset  + 15 minutes
        To      Sunrise +  3 hours  (next day)
    And (
             Control 'LR / Devices / LR Movie Time 1' is switched On
          Or Control 'LR / Devices / LR Movie Time 2' is switched On
          Or Status  'LR / Devices / LR Video SynchroLinc' is Off
        )
 
Then
        Set 'LR / Devices / LR Movie Time 1' On 10 / Off 5 (Backlight Level)
        Set 'LR / Devices / LR Movie Time 2' On 10 / Off 5 (Backlight Level)
        Set 'LR / Devices / LR Sofa Tabletop 1' On 10 / Off 5 (Backlight Level)
        Set 'LR / Devices / LR Sofa Tabletop 2' On 10 / Off 5 (Backlight Level)
        Set 'CR / Devices / CR KPL LR Light' On 15 / Off 5 (Backlight Level)
 
Else
   - No Actions - (To add one, press 'Action')
 
 

Movie Scene

This scene adjust the "movie lights." When the scene is turned On (movie begin) the lights ramp down slowly to full off. When the scene is turned On (movie end), the lights ram up slowly to the preset On-level.

post-625-0-60515000-1447701731_thumb.jpg

Link to comment

Thanks for sharing your program. I've set the scenes at the scene level and not the device level. That solves one problem. The other problem I have is that I use MobiLinc to control the lights with my iPhone. I do not use a KPL. So, I have nothing for the "if" statement. I guess I do not need one. I added my dimming program to the dashboard and if I touch it, several lights turn off and two of them dim to the desired level.

 

 

Sent from my iPad using Tapatalk

Link to comment

Programs don't need a trigger/condition. You can request to run only the "Then" statements. It seems that you figured that out. If you don't need a darkness condition, then you don't need a program at all, only two scenes, one to turn the lights dim.off and another to restore the lighting. The scenes can have different members as desired.

Link to comment

Archived

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


×
×
  • Create New...