Jump to content

Converting programs to scenes


racekarl

Recommended Posts

Here is what I would like to accomplish:

 

I have two banks of recessed lights in my room ("near" and "far").  I would like to be able to turn them both on using a single "both" button on a keypadlinc, but also be able to turn them on and off separately. If both banks are lit, I would like the "both" button on the keypad to light (even if it was not used to turn on the lights) and if one or the other bank is turned off, I would like the "both" keypad button to extinguish.  This both button should of course be able to turn both banks on and off together.

 

I have gotten this working using programs to track the state of the lights and set the correct state on the keypad, but it's slow.  When I press the both button there is a delay of about a second before the first bank comes on, then another second before the second bank comes on, with a similar delay when turning the lights off or when updating the status of the "both" light.  The delay seems to correspond to the status LED flash on the sending switch, so it seems like the switches don't talk to the PLM until after they send their scene commands.

 

 

My question is this: is there a way to accomplish what I want to do using scenes and without the programs?  If this were all scene based it would both be faster as well as continue to work without the PLM or ISY.

Link to comment

Sounds like you're accomplishing everything with programs, "When I press the both button there is a delay of about a second before the first bank comes on, then another second before the second bank comes on, with a similar delay when turning the lights off or when updating the status of the "both" light.."

 

Use a combination of both:

 

Scene N: Near button controller, near lights responder

Scene F: Far button controller, far lights responder

SceneB: Both button controller, both lights responders

 

 

Both button program
If
        (
             Control 'near button' is switched On
         And Status  'far' is not Off
        )
     Or (
             Control 'far button' is switched On
         And Status  'near' is not Off
        )
 
Then
        Set Scene 'both button' On
 
Else
        Set Scene 'both button' Off
 
The program will work only if you press the buttons. You'll have to modify it for the devices wired to the lights B)

Link to comment

Regarding speed, the thing that I notice that seems to slow program response is communication problems. While it seems a response of a second or less is tough to improve, longer response times may be an indication of communication difficulties.

Link to comment

HI have gotten this working using programs to track the state of the lights and set the correct state on the keypad, but it's slow.  When I press the both button there is a delay of about a second before the first bank comes on, then another second before the second bank comes on, with a similar delay when turning the lights off or when updating the status of the "both" light.

 

If scenes are used to control each bank of lights or both (see #3), then there should be no delay at all when turning the lights on or off. The only delay will be the response of the "both" buttons LED if the banks are not turned on or off at the same time.

Link to comment

Archived

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


×
×
  • Create New...