Comfort  Automation/ Security System Forums Home
Home Search search Menu menu Not logged in - Login | Register
Comfort Automation/ Security System Forums > Third Party (interfacing to Comfort) > CBus > Controlling CBUS lights based on status of other lights

Controlling CBUS lights based on status of other lights
 Moderated by: admin
 New Topic   Reply   Printer Friendly 
 Rate Topic 
AuthorPost
 Posted: Saturday Dec 29th, 2012 08:00 am
   PM  Quote  Reply 
1st Post
pgc_uk
Member
 

Joined: Thursday Oct 18th, 2007
Location: United Kingdom
Posts: 27
Status: 
Offline

  back to top

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?

Last edited on Saturday Dec 29th, 2012 08:00 am by pgc_uk



 Posted: Sunday Dec 30th, 2012 01:35 am
   PM  Quote  Reply 
2nd Post
ident
Administrator


Joined: Wednesday Aug 9th, 2006
Location: Singapore
Posts: 3493
Status: 
Offline

  back to top

Possible reasons could be does the Counter get changed thus activating the Counter Response?



Try executing the response directly, this will check that the Response is correct

Next change the counter directly using the C!NNvv command where NN is the counter number and vv is the value, both in hex
eg
C!32FF means Counter 50 change to 255 (ON)

In IO Monitor the counter change is shown as CTnnvv This should be seen if the counter is changed by Cbus as well



 Posted: Monday Dec 31st, 2012 12:05 am
   PM  Quote  Reply 
3rd Post
pgc_uk
Member
 

Joined: Thursday Oct 18th, 2007
Location: United Kingdom
Posts: 27
Status: 
Offline

  back to top

Thanks.

I did just try running the Response from Comfigurator and it does not work, but I am now wondering whether there is possibly a CBUS Group problem instead. I'll check it out and respond.

Thanks



 Posted: Monday Dec 31st, 2012 12:18 am
   PM  Quote  Reply 
4th Post
pgc_uk
Member
 

Joined: Thursday Oct 18th, 2007
Location: United Kingdom
Posts: 27
Status: 
Offline

  back to top

I've just tried the Direct command version as well, and can see all of the CTxxvv commands on the I/O monitor OK - even when turning the CBUS lightswitches. I can also see the Response firing and changing the value of the Counter for the Stairs.

So it looks like the CBUS side is not working correctly: time to check that the Group addresses are set up properly - I'll just have to get Toolkit set up on this machine.

Thanks

Pgc



 Current time is 02:23 pm
Comfort Automation/ Security System Forums > Third Party (interfacing to Comfort) > CBus > Controlling CBUS lights based on status of other lights
Top




UltraBB 1.172 Copyright © 2007-2014 Data 1 Systems