Comfort  Automation/ Security System Forums Home
Home Search search Menu menu Not logged in - Login | Register

C-Bus Application - 1 or 208 ?
 Moderated by: admin
 New Topic   Reply   Printer Friendly 
 Rate Topic 
AuthorPost
 Posted: Saturday Aug 26th, 2006 12:48 pm
   PM  Quote  Reply 
1st Post
Nick Locke
Member
 

Joined: Saturday Aug 19th, 2006
Location: Woodville, United Kingdom
Posts: 33
Status: 
Offline

  back to top

I am building some code (VB .NET. not that it matters) to interface to C-Bus.  One of the things I am doing is monitoring for events.  I need to work out whether it is better to monitor Comfort events on C-Bus application 1 or on application 208 (security).

So far as I can see, zone status changes appear pretty much the same on both.

I must be missing something, because otherwise we would not have the bespoke application 1, there would only need to be the standard 208.

What am I missing?

Thanks, Nick.



 Posted: Sunday Aug 27th, 2006 02:04 am
   PM  Quote  Reply 
2nd Post
ident
Administrator


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

  back to top

Only application 1 is able to monitor zone status, as the "group address" is the zone number and the level is the status

Application 208 (Security) can tell you of security events like Not ready to arm and panic, but it does not give zone number information




 Posted: Sunday Aug 27th, 2006 06:05 am
   PM  Quote  Reply 
3rd Post
Nick Locke
Member
 

Joined: Saturday Aug 19th, 2006
Location: Woodville, United Kingdom
Posts: 33
Status: 
Offline

  back to top

Ooops - double posting because I thought my browser had died.

Last edited on Sunday Aug 27th, 2006 06:12 am by Nick Locke



 Posted: Sunday Aug 27th, 2006 06:05 am
   PM  Quote  Reply 
4th Post
Nick Locke
Member
 

Joined: Saturday Aug 19th, 2006
Location: Woodville, United Kingdom
Posts: 33
Status: 
Offline

  back to top

I have attached a screen shot showing a C-Bus Toolkit event log for Application 1 at the top and for Application 208 at the bottom.

In both cases, I have added Groups to the C-Bus Applications because, without those in place, the events are not shown at all.  I suspect that is because C-Bus toolkit is designed only to show events in it's on-screen log, when they are for a known Group.

Both sets of messages seem to have almost identical information.  Am I missing something?

Thanks, Nick

Attachment: Zones.JPG (Downloaded 74 times)



 Posted: Sunday Aug 27th, 2006 08:17 am
   PM  Quote  Reply 
5th Post
ident
Administrator


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

  back to top

I dont understand how application 208 could give that information
Can you  the raw Cbus message for application 208 which shows the PIR zone?



 Posted: Sunday Aug 27th, 2006 10:43 pm
   PM  Quote  Reply 
6th Post
Nick Locke
Member
 

Joined: Saturday Aug 19th, 2006
Location: Woodville, United Kingdom
Posts: 33
Status: 
Offline

  back to top

Not sure how to get to the absolutely raw C-Bus messages (clues welcome).  What I have done here is to monitor Port 20025 on the C-Gate Server which should show all changes.  The bold headings have been inserted by me to try and add some clarity.

Waving an arm at the PIR in my study (zone 23).  Source Unit 253 is the Comfort module.

# security zone_unsealed //jubilee/254/208/23  #sourceunit=253 OID=f13d96a0-17bd-1029-9046-81463d6163fc                      

application ramp //jubilee/254/1/23 255 4 #sourceunit=253 OID=a6eee760-90c4-1027-94d6-92a7fa5efc74                 

# security zone_sealed //jubilee/254/208/23  #sourceunit=253 OID=f13d96a0-17bd-1029-9046-81463d6163fc                    

application ramp //jubilee/254/1/23 0 4 #sourceunit=253 OID=a6eee760-90c4-1027-94d6-92a7fa5efc74               

# security zone_unsealed //jubilee/254/208/23  #sourceunit=253 OID=f13d96a0-17bd-1029-9046-81463d6163fc                      

application ramp //jubilee/254/1/23 255 4 #sourceunit=253 OID=a6eee760-90c4-1027-94d6-92a7fa5efc74                 

# security zone_sealed //jubilee/254/208/23  #sourceunit=253 OID=f13d96a0-17bd-1029-9046-81463d6163fc                    

application ramp //jubilee/254/1/23 0 4 #sourceunit=253 OID=a6eee760-90c4-1027-94d6-92a7fa5efc74               

# security zone_unsealed //jubilee/254/208/23  #sourceunit=253 OID=f13d96a0-17bd-1029-9046-81463d6163fc                      

application ramp //jubilee/254/1/23 255 4 #sourceunit=253 OID=a6eee760-90c4-1027-94d6-92a7fa5efc74                 

Turned a light off

lighting off //jubilee/254/56/166  #sourceunit=205 OID=bc42e1d5-3fb6-4c51-b6cd-e1fb9ad11ee8          

# security zone_sealed //jubilee/254/208/23  #sourceunit=253 OID=f13d96a0-17bd-1029-9046-81463d6163fc                    

application ramp //jubilee/254/1/23 0 4 #sourceunit=253 OID=a6eee760-90c4-1027-94d6-92a7fa5efc74               

Turned the light back on

lighting on //jubilee/254/56/166  #sourceunit=205 OID=bc42e1d5-3fb6-4c51-b6cd-e1fb9ad11ee8         

# security zone_unsealed //jubilee/254/208/23  #sourceunit=253 OID=f13d96a0-17bd-1029-9046-81463d6163fc                      

application ramp //jubilee/254/1/23 255 4 #sourceunit=253 OID=a6eee760-90c4-1027-94d6-92a7fa5efc74                 

# security zone_sealed //jubilee/254/208/23  #sourceunit=253 OID=f13d96a0-17bd-1029-9046-81463d6163fc

application ramp //jubilee/254/1/23 0 4 #sourceunit=253 OID=a6eee760-90c4-1027-94d6-92a7fa5efc74

Periodic update broadcast from General Input Unit

measurement data //jubilee/254/228/4/0 376 0 16 #sourceunit=250 OID=
measurement data //jubilee/254/228/4/1 100 0 26 #sourceunit=250 OID=
measurement data //jubilee/254/228/4/2 66 0 0 #sourceunit=250 OID=

The arm waving continues

# security zone_unsealed //jubilee/254/208/23  #sourceunit=253 OID=f13d96a0-17bd-1029-9046-81463d6163fc

application ramp //jubilee/254/1/23 255 4 #sourceunit=253 OID=a6eee760-90c4-1027-94d6-92a7fa5efc74

# security zone_sealed //jubilee/254/208/23  #sourceunit=253 OID=f13d96a0-17bd-1029-9046-81463d6163fc

application ramp //jubilee/254/1/23 0 4 #sourceunit=253 OID=a6eee760-90c4-1027-94d6-92a7fa5efc74

# security zone_unsealed //jubilee/254/208/23  #sourceunit=253 OID=f13d96a0-17bd-1029-9046-81463d6163fc

application ramp //jubilee/254/1/23 255 4 #sourceunit=253 OID=a6eee760-90c4-1027-94d6-92a7fa5efc74

# security zone_sealed //jubilee/254/208/23  #sourceunit=253 OID=f13d96a0-17bd-1029-9046-81463d6163fc

application ramp //jubilee/254/1/23 0 4 #sourceunit=253 OID=a6eee760-90c4-1027-94d6-92a7fa5efc74



 Posted: Monday Aug 28th, 2006 01:47 am
   PM  Quote  Reply 
7th Post
slychiu
Administrator


Joined: Saturday Apr 29th, 2006
Location: Singapore
Posts: 5493
Status: 
Offline

  back to top

I can see that it is reporting via Security zone sealed and unsealed which is a single group address on Application 208
This is fine for monitoring the activity of the zones, but there is no memory
For application 1, each group address corresponds to a zone, hence each group address has the status of the corresponding zone
In Ctouch, this allows the status of each zone to be displayed
If you are using your own software to monitor this, then you can also use the zone unsealed group address



 Posted: Monday Aug 28th, 2006 07:51 am
   PM  Quote  Reply 
8th Post
Nick Locke
Member
 

Joined: Saturday Aug 19th, 2006
Location: Woodville, United Kingdom
Posts: 33
Status: 
Offline

  back to top

I think I understand that now.  I think what you are saying is that Application 1 is a Lighting-like application which has the concept of groups, whereas Application 208 is not and does not.

So, although the change messages are sent on both applications, only Application 1 keeps an internal representation of the values.  So, I could use either application if I want to monitor the raw messages.  However, if I want to be able to issue a query to C-Gate requesting the current status of a zone, that has to be Application 1.

That seems to be borne out by Toolkit - it lets me create groups within Application 208, but they always seem to be "not known" level.

Have I understood?

This does lead to a subsidiary question - look at the Kitchen PIR value on the screen shot.  I need a clue on that one - I would perhaps have expected just on/off?

Thanks, Nick

Attachment: Kitchen.JPG (Downloaded 68 times)



 Posted: Monday Aug 28th, 2006 08:32 am
   PM  Quote  Reply 
9th Post
slychiu
Administrator


Joined: Saturday Apr 29th, 2006
Location: Singapore
Posts: 5493
Status: 
Offline

  back to top

You have the correct understanding
Dont know about the kitchen PIR, the UCM  only sends on/Off, perhaps there kis some other device giving this message?



 Current time is 07:13 am
Top




UltraBB 1.172 Copyright © 2007-2014 Data 1 Systems