Jump to content

Adjust Scene Live


mango

Recommended Posts

Posted

Forgive me if this is easy, I am new to adjust scene.

How does one go about using adjust scene both light intensity and ramp rate but have the changes happen live?

I am away from my home and playing around with this, so I cannot test in person.

 

I've created a watch movie program to adjust aspect lighting in the TV room triggered by a X10 IR event through an IR543 from a programmable remote. This is what I have. The lighting is to dim very slowly. Do I need to run the scene after then and else commands?

Perhaps a different programming route required?

If
        Control 'X10DenMovieIR' is switched On
 
Then
        In Scene 'Den Main' Set 'A2DenDoorLL' 3.0 Min (Ramp Rate)
        In Scene 'Den Main' Set 'A2DenDoorLL' 38% (On Level)
        In Scene 'Den Main' Set 'A2DenWindowLL' 3.0 Min (Ramp Rate)
        In Scene 'Den Main' Set 'A2DenWindowLL' 36% (On Level)
 
Else
        In Scene 'Den Main' Set 'A2DenDoorLL' 4.5 Sec (Ramp Rate)
        In Scene 'Den Main' Set 'A2DenDoorLL' 62% (On Level)
        In Scene 'Den Main' Set 'A2DenWindowLL' 4.5 Sec (Ramp Rate)
        In Scene 'Den Main' Set 'A2DenWindowLL' 55% (On Level)

 

Thanks for the assist.

 
 

Posted

You could include a "Wait" after adjust commands and turn the scenes On

 

You should also include "Control 'X10DenMovieIR' is Not switched Off" to conditions.

 

 

 

Jon...

Posted

Thanks jerlands. Kicking myself I realize I haven't fully thought this through. Not only would I like the lights to dim slowly upon movie mode I would need them to ramp back up a little more quickly but not as quick as the default scene ramp rate.

 

X10 C1 ON - enable movie mode (slow ramp down).

X10 C1 OFF - disable movie mode, return scene to default settings but ramp up reasonably slowly to help eyes adjust.

Posted

So, I really don't know what I'm doing. I think I asked a poor question to begin with, apologies.

 

May I ask: Adjust Scene, if the scene is already on, and I adjust it, I'd like to be able to initiate the updated scene to the new state. Is this possible?

Posted

Sure.  The Adjust Scene changes the On Level and Ramp Rate in the Responder link record.  Can be issued any time.  Does not matter whether Scene is Off or On.

 

Another Set Scene 'xxxx' On is required for the changed link record values to be used.

Posted

Hi Lee and thanks. This is strange as I have tried the set scene on command after the scene changes but nothing happens. I am using a couple of quite old LampLink devices, would this be a factor?

Posted

I would not think an old LampLinc would be a problem.

 

What is the firmware level of LampLinc?    Displayed on second line, right side of Admin Console.  I'll see if I have that level to test here. 

Posted (edited)

2456D3 v.37 and v.38

 

I seem to have found the issue. I factory reset and restored them and now they are responding properly. Thanks for the assist!

I spent ages thinking there was some logic I was missing to get the damn things to work for me in what is a very simple program..

Edited by mango
Posted

I tested a v.38.  That is pre-I2CS so it takes at least 3 Insteon commands (Set MSB, Peek, Poke) to update a single value.  It may be necessary to have a 2-3 second Wait between the last Adjust Scene and the Set Scene 'xxxx' On.

Posted (edited)

This is what I ended up with that seems to work.

The end of THEN preps up the scene ready for ELSE for the lights to come back up at slow-ish ramp. Then ELSE returns the scene ramp rate to defaults for regular use.

There is probably a more elegant solution no doubt...

 

Den Watch Movie

If
        Control 'X10DenMovieIR' is switched On
    And Control 'X10DenMovieIR' is not switched Off
     Or Control 'A2DenKPL / A2DenKPL-A-Movie' is switched On
     Or Control 'A2DenKPL / A2DenKPL-A-Movie' is not switched Off
 
Then
        Set Scene 'Den Movie A2DenKPL' On
        In Scene 'Den Main' Set 'A2DenDoorLL' 3.0 Min (Ramp Rate)
        In Scene 'Den Main' Set 'A2DenWindowLL' 3.0 Min (Ramp Rate)
        In Scene 'Den Main' Set 'A2DenDoorLL' 38% (On Level)
        In Scene 'Den Main' Set 'A2DenWindowLL' 36% (On Level)
        Wait  5 seconds
        Set Scene 'Den Main' On
        Wait  1 minute
        In Scene 'Den Main' Set 'A2DenDoorLL' 1.0 Min (Ramp Rate)
        In Scene 'Den Main' Set 'A2DenWindowLL' 1.0 Min (Ramp Rate)
        In Scene 'Den Main' Set 'A2DenDoorLL' 62% (On Level)
        In Scene 'Den Main' Set 'A2DenWindowLL' 55% (On Level)
 
Else
        Set Scene 'Den Main' On
        Set Scene 'Den Movie A2DenKPL' Off
        Wait  25 seconds
        In Scene 'Den Main' Set 'A2DenDoorLL' 4.5 Sec (Ramp Rate)
        In Scene 'Den Main' Set 'A2DenWindowLL' 4.5 Sec (Ramp Rate)

 

/edited: revised - further ramp modifications
 
 

Edited by mango
Guest
This topic is now closed to further replies.

×
×
  • Create New...