Jump to content

set ControLinc button status to ON


detrotdr

Recommended Posts

Ok I have 2 x 2430 ControLinc's

 

on both units I want button #5 OFF to do goodnight mode. Lee suggested to take button 5 out of scene (i did). I made a program to test how they BOTH would react.

 

Program:

If

Status 'ControlLincA-5' is OFF

Or

Status 'ControlLincB-5' is OFF

Then

set 'Master Light' OFF

Else

No Action

 

Now if A presses 5 OFF.. then Master Light will go OFF

if B presses ON then Master Light will go ON (with another rule)

Later that day if A presses OFF.. nothing will happen as it's already OFF.

 

So how do i change the status of a controLinc's button or how do I go about having two ControLinc's doing a good night mode if the other controler does the good morning mode (5 ON)?

 

thank-you in advance.

Link to comment

detrotdr,

 

Tim was suggesting you replace the IF statements in your program. You currently have:

 

If

Status 'ControlLincA-5' is OFF

Or

Status 'ControlLincB-5' is OFF

 

and Tim is suggesting you change those to read:

 

If 
Control 'ControlLincA-5' is Switched OFF 
Or 
Control 'ControlLincB-5' is Switched OFF 

 

Using the Control trigger will run the program each time you press OFF, while using Status will only run the program if the state changes from On to Off.

Link to comment

Archived

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


×
×
  • Create New...