Comfort  Automation/ Security System Forums Home

 Moderated by: admin  
AuthorPost
freak69
Member
 

Joined: Sunday Aug 9th, 2009
Location: United Kingdom
Posts: 28
Status: 
Offline

  back to top

Hi,I have recently upgraded my cbus ucm to V2.I have a garage door with a magnetic sensor wired into an input. it registers open or closed depending on the state. I also have an output wired into the garage door button, so comfort can issue a momentary press and open or close the door.What I would like to do is to have a cbus button that i can use to open/close the garage door and its current status is always reflected in the cbus switch (on or off).I have lighting group 21 assigned to the garage door in cbus, and I think I need to configure this as an output toggle in configurator, then configure the physical input to map back to group 21. I don't think I need a response in this case as the UCM handles the momentary press?What do I configure the cbus switch as? If I assign an on/off or bell press to it, the act of pressing the button changes the cbus group and interferes with the back status. Help is appreciated.
Thanks!

slychiu
Administrator


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

  back to top

What do I configure the cbus switch as? If I assign an on/off or bell press to it, the act of pressing the button changes the cbus group and interferes with the back status.

Your question is about Cbus programming, correct? I hope a cbus expert can help

Ingo
UCM Pi Users


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

  back to top

This is a long read but you will get the idea of what I am doing with mine which is similar to yours except it has Comfort AND Cbus controlling the door and not just Cbus.
1. On the Cbus Keypad to control the Garage door, assign a key to a trigger group.I used Trigger Group 225.

2. Set the Key function to Custom and make it On Key, Retrigger Timer, Retrigger Timer and Idle.

3. Next you need to decide which key should indicate the status of the door. I used a different keypad inside the house so I can see if the door has not closed. If you want to keep the existing key that you programmed then just set the Indicators to Status (Dual).

4. Back to Comfort, in your UCM/Cbus assignment, assign trigger group 225 to Counter 225. This way Comfort can 'action' something later on in this setup.

5. Now you need to create the first of two responses on Comfort. I do this as a Bell Press is not reliable enough in my testing. If you have the Garage Door button wired to a Comfort relay then create a Response like this:

Pulse Output02(2) For 10 ! Pulse Output 2 for 500mS #Call it PulseOut2fr500mS

6. Now, to have Comfort control the Cbus trigger group you need to do something with Counter 225. Create a second Response called 'GarageDoorFromCBus' and add the following:

if Counter Counter225 = 255 then  Do PulseOut2fr500m //This is the name from the first response.end if

7. Go to Comfort Counters and select 225 and assign the GarageDoorFromCBus response to it. Every time you press the Cbus key it will update counter 225. If it's the ON state then the response will pule the output relay for 500mS and toggle the garage door controller. Once you release the Cbus button it will fire again but this time the response will not fire, because the Counter 225 value is 0 and the door will stay open ready for the next Cbus keypress.

8. For your indicator on Cbus, set the LED assignment under 'Blocks' of that key to another spare key. With this I mean if key 1 is your toggle and key 2 is spare, assign key 2's LED to key 1 under 'Blocks'. Make sure that key 2's function remains <Unused> Now go to Key 2 and set the group address of that key to the group/counter assignment that shows the status of the magnetic sensor. Select Dual Status to see both On and Off.

If you don't want Comfort to also have control over the door then you could probably make it a bit simpler but I have found my way works great even if the grid fails. My door motor is on battery backup, so is Comfort. I just can't trigger it from the Cbus keypad. Oh, one more hint. My remote control is also wired in parallel to the Comfort Relay so it can also control the door independently.

If you don't have Comfort relays on the outputs then setting Cbus to Toggle on keypress might be the only option but I need to caution you that a too quick press might not trigger the door at all. My controller needs at least 500mS between the On|Off toggle to activate the motor. Typically remote controls have relays that toggle around that time frame and push buttons are real-time so you get a 'feel' for it but Cbus calculates the output time in software and it sometimes makes it too short to trigger - you can experiment.

Last edited on Wednesday Oct 21st, 2020 04:06 pm by Ingo

slychiu
Administrator


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

  back to top

Thanks Ingo . One question. why use a Trigger Group instead of a Lighting group?
Can you send different values from the same trigger address?

Ingo
UCM Pi Users


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

  back to top

I recall some time ago that the Lighting Group had some sort of issue. I am not exactly sure but it was something to do with double triggers or messages sent on the bus which would stop the door halfway at times. This only happened with the Lighting application, not with Trigger Groups.

palmlodge
Member
 

Joined: Thursday Dec 14th, 2006
Location: United Kingdom
Posts: 507
Status: 
Offline

  back to top

I use lighting group OK, and a mag for door status. Comfort pulses the 24v relay connected to the garage door's wall button for '10'.

The CBUS button will:
-trigger the output immediately if the garage door is shut.
-delay 30 seconds the toggle if the door is open, allowing time to exit
-When arming the house, if the garage door is open, delay arming for 35 seconds, allowing the 30 seconds for the trigger above, then a 5 second delay to arm as the garage door mag is set as an exit zone

freak69
Member
 

Joined: Sunday Aug 9th, 2009
Location: United Kingdom
Posts: 28
Status: 
Offline

  back to top

Many thanks for the replies. I have now managed to get this working using a form of ingo's method. Next challenge is to get it also working on a DLT where you cant change the led assignments...
Much appreciated.


UltraBB 1.172 Copyright © 2007-2014 Data 1 Systems