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

Can I trigger a CBus Scene from Comfort?
 Moderated by: admin
 New Topic   Reply   Printer Friendly 
 Rate Topic 
AuthorPost
 Posted: Saturday Feb 21st, 2009 12:03 am
   PM  Quote  Reply 
1st Post
Ingo
UCM Pi Users


Joined: Sunday Jan 21st, 2007
Location: South Africa
Posts: 560
Status: 
Offline

  back to top

Hi,

I was wondering if I can trigger a CBus Scene from Comfort? I have an AllLightsOff scene and would like to trigger this scene from Comfort. Unfortunately I don't have a PAC or Touch Screen with logic to do this.

Thanks,
Ingo



 Posted: Saturday Feb 21st, 2009 12:21 am
   PM  Quote  Reply 
2nd Post
slychiu
Administrator


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

  back to top

I am not familiar with CBus scenes, but if a Scene is triggered by a normal Cbus group address, then the answer is yes
Actually Comfort itself is capable of many hundreds of "scenes" using its 1023 Responses. where each scene can control many CBus devices
You can use a Cbus switch to trigger Comfort scenes or responses using the Counter Response assigned to the group address. The Comfort Response in turn can control any number of C-Bus devices



 Posted: Sunday Feb 22nd, 2009 11:45 am
   PM  Quote  Reply 
3rd Post
Ingo
UCM Pi Users


Joined: Sunday Jan 21st, 2007
Location: South Africa
Posts: 560
Status: 
Offline

  back to top

Here is what I have so far:

1. Create a CBus Scene on a standard Neo Keypad using Toolkit.

2. Assign the scene to an empty key - this is important because you need to associate an Action Selector that will trigger the scene.

3. Open Wizcomfort and go to CBus. Enter 202 as the application, your trigger group you decided upon in the Group field and then the Action Selector as the ramp-level.

In my case I used Trigger group0 and Action selector 13 to trigger the Scene stored in the Neo keypad. The drawback is that you can also trigger the scene from the keypad which isn't really what I wanted but it's not a train smash.

The tricky part for me know is to figure out how to trigger this from CBus. This is an 'Outside Lights On' Scene and I have a CBus Light level meter. What I have so far is that I can trigger an arbitrary group (246) in CBus to switch 'ON', this will then trigger a response on the Comfort side for Counter 246 and this response will then execute one CBus command to trigger the CBus Scene. Phew...

My question is now, will the Counter response execute every time the value of the counter change? I want to know how I am going to switch the Scene off again. When the CBus Light level meter detects daylight again, it will then set the arbitrary group (246) back to OFF. Should I just check the counter value everytime it triggers before doing anything or is there an easier way?

My Response will then look something like this (in plain english)

Delay(5s) {to give CBus time to ramp to right level}
If Counter246 > 0 then
   Execute Scene1 (Switch light on scene)
else 
   Execute Scene2 (Switch lights off scene)


Thanks,
Ingo

 



 Posted: Wednesday Feb 25th, 2009 11:14 am
   PM  Quote  Reply 
4th Post
admin
Administrator


Joined: Saturday Mar 3rd, 2007
Location: Singapore
Posts: 1200
Status: 
Offline

  back to top

Sorry for the delay in answering yours and everyone elses questions as we at Cytech have been unable to access the forums since last Satirday 21st for some unknown reason
To answer your question, the corresponding Counter Response is activated each time the Cbus group address value changes
Instead of using
If Counter246 > 0
you can use "If LastUCMCounter>0" LastUCMCounter is the Last Counter change which was received

With this you can use the same Response for many counters, if you have several such cbus group addresses doing the same thing instead of different Responses If Counter245>0, if Counter 244>0 etc

Why do you need the C-Bus Scene? Comfort can directly control everything in the scene, unless you have dozens of lights switching on and you want to minimise the C-Bus traffic?




 Posted: Wednesday Feb 25th, 2009 02:29 pm
   PM  Quote  Reply 
5th Post
Ingo
UCM Pi Users


Joined: Sunday Jan 21st, 2007
Location: South Africa
Posts: 560
Status: 
Offline

  back to top

Thanks for the info. The Scenes were actually done in HomeGate but since I lost my Serial-to-Ethernet converter due to lightning I am slowly migrating my Scenes to Neo keypads and then trigger the appropriate scenes either with a key or from Comfort.

Maybe I am just used to programming Pascal language, used on CBus, and haven't really gone deep into the Comfort side. I suppose it's just a much over muchness...  Minimising traffic is always a good thing, I try to keep things simple and efficient.



 Posted: Thursday Feb 26th, 2009 12:25 am
   PM  Quote  Reply 
6th Post
admin
Administrator


Joined: Saturday Mar 3rd, 2007
Location: Singapore
Posts: 1200
Status: 
Offline

  back to top

It should work, but in future I suggest you use Comfort as it is easier especialy with th enew version of Comfigurator



 Current time is 05:43 pm
Top




UltraBB 1.172 Copyright © 2007-2014 Data 1 Systems