Attached is a sample project file programmed with the application described below. Please be aware, when the buttons are set to be OSCS, you cannot add any other component to the button, such as a variable, which is needed for this program.
We have two venetian blinds in separate groups and a keypad that controls both blinds in button 1, controls group 1 in button 2, and controls group 2 in button 3. We have also created a variable called “SG Controlled” with default step “All blinds”, and other steps “Group 1” and “Group 2”. This will be the variable that will help us program the raise and lower button to tilt only the group we want. You can add as many groups of blinds as you want.
The blinds are moving via an automatic sequence with tracking. We have unchecked all boxes that would automatically move the sequence to the next step, the sequence will be driven by button presses. The first step is a lift raise, the second step is a stop. As the sequence is tracking, if the blind reaches the raise limit, it will automatically move to the next stop step. The third step is a lower lift and the fourth step is a stop. Each blinds group will have this sequence controlling its own blinds.
The conditional for the button presses are as follows below. It does not matter for which button, as all that changes is adding the correct blind(s) sequence to move in the actions tab of the conditional program.
A very important part of this, in every action step for every button, you will need to add the corresponding variable for which shade group (or all blinds) is being controlled as well as the sequence step to move to in the action.
- If Group x sequence is not running OR if group x sequence is in the lower stop step,
- Go to Raise step
- If Group x sequence is in the raise step
- Go to Raise Stop step
- If Group x sequence is in the Raise Stop step
- Go to Lower Step
- If Group x sequence is in the Lower Step
- Go to Lower Stop Step
For the raise and lower buttons, they will be of program type “Single Variable Conditional” based on the SG Controlled variable. For the Lower button, on the “All Blinds” state, it will be a single action button to lower the tilt of all blinds. On the group 1 state, it will be a single action button to lower the tilt only of the blinds in group 1. On the Group 2 state, it will be a single action button to lower the tilt on the group 2 blinds. The raise button will be the same, except it will raise the tilts.