Comfort Home Automation/ Security System Forums Home
 Search       Members   Calendar   Help   Home 
Search by username
Not logged in - Login | Register 

C-Bus Application - 1 or 208 ?
 Moderated by: admin  
 New Topic   Reply   Print 
AuthorPost
Nick Locke
Member
 

Joined: Saturday Aug 19th, 2006
Location: Woodville, United Kingdom
Posts: 24
Status:  Offline
 Posted: Saturday Aug 26th, 2006 12:48 pm
 Quote  Reply 
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.

ident
Administrator


Joined: Wednesday Aug 9th, 2006
Location: Singapore
Posts: 286
Status:  Offline
 Posted: Sunday Aug 27th, 2006 02:04 am
 Quote  Reply 
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


Nick Locke
Member
 

Joined: Saturday Aug 19th, 2006
Location: Woodville, United Kingdom
Posts: 24
Status:  Offline
 Posted: Sunday Aug 27th, 2006 06:05 am
 Quote  Reply 
Ooops - double posting because I thought my browser had died.

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

Nick Locke
Member
 

Joined: Saturday Aug 19th, 2006
Location: Woodville, United Kingdom
Posts: 24
Status:  Offline
 Posted: Sunday Aug 27th, 2006 06:05 am
 Quote  Reply 
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 50 times)

ident
Administrator


Joined: Wednesday Aug 9th, 2006
Location: Singapore
Posts: 286
Status:  Offline
 Posted: Sunday Aug 27th, 2006 08:17 am
 Quote  Reply 
I dont understand how application 208 could give that information
Can you  the raw Cbus message for application 208 which shows the PIR zone?

Nick Locke
Member
 

Joined: Saturday Aug 19th, 2006
Location: Woodville, United Kingdom
Posts: 24
Status:  Offline
 Posted: Sunday Aug 27th, 2006 10:43 pm
 Quote  Reply 
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

slychiu
Administrator


Joined: Saturday Apr 29th, 2006
Location: Singapore
Posts: 941
Status:  Offline
 Posted: Monday Aug 28th, 2006 01:47 am
 Quote  Reply 
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

Nick Locke
Member
 

Joined: Saturday Aug 19th, 2006
Location: Woodville, United Kingdom
Posts: 24
Status:  Offline
 Posted: Monday Aug 28th, 2006 07:51 am
 Quote  Reply 
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 44 times)

slychiu
Administrator


Joined: Saturday Apr 29th, 2006
Location: Singapore
Posts: 941
Status:  Offline
 Posted: Monday Aug 28th, 2006 08:32 am
 Quote  Reply 
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 03:41 pm




Powered by WowBB 1.7 - Copyright © 2003-2006 Aycan Gulez
We insist that you abide by the rules and policies stated below. Although the moderators of the Comfort Forums will attempt to keep all objectionable messages off this forum, it is not possible for us to filter all messages. All messages express the views of the author. Cytech Technology is not responsible for the content, views or advice of any message posted by members, including staff of Cytech. By registering for the forums, you warrant that you will not post any messages that are obscene, vulgar, of a sexual nature, abusive, hateful, threatening, of racist nature or otherwise in breach of any laws. Cytech reserves the right to remove, edit or move message or topic for any reason