Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Controlling CBUS lights based on status of other lights
#1
Hi

I am trying to operate the lights on a flight of stairs when the lights at either end are both on but for some reason the Response does not seem to work. I have this triggered by Counter Responses on the lights L-T1 and L-Hd1


If Counter L-Hd1HallCentre > 0 Then
If Counter L-T1a_DSHallA > 0 Then
Cbus RampInst 2 35 200 ! Turn on Stairs lights to 80% since hall lights are on and lower hall lights are on
Else
Cbus RampInst 2 35 0 ! Turn off stairs light as lower hall is off
End If
Else
Cbus RampInst 2 35 0 ! Turn off stairs light as hall lights are off
End If


Generally the lights on the stairs are off except after a Security Off when they come on. Changing the states of L-T1 and L-Hd1 makes no difference.

Any ideas why this doesn\'t work, or suggestions of a better way?
Reply


Messages In This Thread
[No subject] - by - 12-29-2012, 09:00 AM
[No subject] - by - 12-30-2012, 02:35 AM
[No subject] - by - 12-31-2012, 01:05 AM
[No subject] - by - 12-31-2012, 01:18 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)