Ubisys C4 Integrator Manual Download Page 12

 1 

41          element type: 0x41 (raw data)

 2 

01 00       element count: 0x0001 (1 entries)

 3 
 4 

0B          element #1: 11 bytes

 5 

00          InputAndOptions: 0x00

 6 

0D          Transition: released -> pressed

 7 

02          Source: Endpoint #2 (hosts primary on/off client cluster on C4)

 8 

06 00       Cluster ID: 0x0006 - on/off

 9 

42          ZCL Command Template: On with timed off

10 

00          ZCL Command Template: On/off Control field = 0

11 

B0 04       ZCL Command Template: On Time field = 0x04b0 = 1200 * 0.1s = 120s

12 

00 00       ZCL Command Template: Off Wait Time = 0

For instance, the following facility-app command could be used to write the input configuration above
to a particular S1 device, where <device-id> is the identifier of the device as shown in the inventory,
and 0x48 is the ZCL data type “array” followed by the actual attribute value above:

zcl write 

<device-id>

 232 0xfc00 0x0001 0x48 0x41 0x01 0x00 0x0b 0x00 0x0d 0x02

  

0x06 0x00 0x42 0x00 0xb0 0x04 0x00 0x00

3.6. Single Momentary Switch (Push Button) as Dimmer Switch

Related C++ class: CZigBeeDeviceSetupInputPatternSinglePushLevel.

This is a more complex recipe designed for dimming a light, or generally speaking adjusting the level
(intensity, speed, brightness, …) of a level controllable output. Users are able to turn a light on or off
with a short press, i.e. tapping the button for less than a second; and also dim up and down with a
long press, i.e. keeping the button pressed for more than a second.

The idea is that each transition from the pressed state to the released state fires a “toggle” command,
and each transition from the pressed to the kept-pressed state fires a “move with on/off” command,
where the direction is alternating on each subsequent action between “up” and “down”. Notice that
the command templates for moving also contain a configurable move rate. Finally, a transition from the
kept-pressed to the released state fires a “stop” command.

3.6.1. Examples

This the complete default configuration for D1 and D1-R, which is aimed at single push-button
operation (momentary, one stable position):

 1 

41          element type: 0x41 (raw data)

 2 

08 00       element count: 0x0008 (8 entries)

 3 
 4 

06          element #1: six bytes

 5 

00          InputAndOptions: 0x00

 6 

07          Transition: pressed -> released

 7 

02          Source: Endpoint #2 (hosts primary on/off client cluster on D1)

 8 

06 00       Cluster ID: 0x0006 - on/off

 9 

02          ZCL Command Template: Toggle

10 
11 

08          element #2: eight bytes

12 

00          InputAndOptions: 0x00

10

Summary of Contents for C4

Page 1: ...ZIGBEE DEVICE PHYSICAL INPUT CONFIGURATIONS INTEGRATOR S GUIDE...

Page 2: ...off Switch 8 3 5 1 Example 8 3 5 2 Example 9 3 6 Single Momentary Switch Push Button as Dimmer Switch 10 3 6 1 Examples 10 3 7 Double Momentary Switch Push Buttons as Dimmer Switch 12 3 7 1 Examples...

Page 3: ...standard the ZigBee Application Foundation including the ZigBee Cluster Library and related technologies and specifications The intended audience mainly comprises system integrators who want to take a...

Page 4: ...put and the input configured to send on commands in one position and off commands the other position or toggle commands in each position Other options include momentary push button switches with toggl...

Page 5: ...e move rates specific target levels time spans for automatically turning off to be embedded into the command templates It is also easily extensible Sending new commands or supporting new clusters does...

Page 6: ...elated C class CZigBeeDeviceSetupInputPatternSwitchToggle This is similar to the push button version but intended for switches with two stable positions Sends a toggle command on every flip It is usef...

Page 7: ...ource Endpoint 2 hosts secondary on off client cluster on C4 29 06 00 Cluster ID 0x0006 on off 30 02 ZCL Command Template Toggle 31 32 06 element 5 six bytes 33 02 InputAndOptions 0x02 34 0D Transitio...

Page 8: ...e in such a scenario is that the lights are inherently synchronized to the same final state even if they initially had different states i e the lights will be all on or all off after flipping the swit...

Page 9: ...2 Source Endpoint 2 hosts secondary on off client cluster on C4 29 06 00 Cluster ID 0x0006 on off 30 00 ZCL Command Template Off 31 32 06 element 5 six bytes 33 02 InputAndOptions 0x02 34 0D Transitio...

Page 10: ...it is frequently triggered to either turn on or remain on and thus tolerates missing an off command for equipment that could potentially be damaged or cause damage when operated continuously The idea...

Page 11: ...24 0B element 3 11 bytes 25 00 InputAndOptions 0x00 26 0D Transition released pressed 27 03 Source Endpoint 3 hosts primary on off client cluster on C4 28 06 00 Cluster ID 0x0006 on off 29 42 ZCL Comm...

Page 12: ...generally speaking adjusting the level intensity speed brightness of a level controllable output Users are able to turn a light on or off with a short press i e tapping the button for less than a seco...

Page 13: ...e Toggle 38 39 08 element 6 eight bytes 40 01 InputAndOptions 0x01 41 86 Transition pressed kept pressed has alternate 42 03 Source Endpoint 3 hosts secondary level control client cluster on D1 43 08...

Page 14: ...witch will turn the lights off a long press on this button will dim the lights down The idea is that each transition from the pressed state to the released state fires an on command for the first butt...

Page 15: ...sed 28 02 Source Endpoint 2 hosts primary on off client cluster on D1 29 06 00 Cluster ID 0x0006 on off 30 00 ZCL Command Template Turn off 31 32 08 element 5 eight bytes 33 01 InputAndOptions 0x01 34...

Page 16: ...ID 0x0102 window covering 16 02 ZCL Command Template Stop 17 18 06 element 3 six bytes 19 01 InputAndOptions 0x01 20 0D Transition released pressed 21 02 Source Endpoint 2 hosts window covering client...

Page 17: ...window covering 16 02 ZCL Command Template Stop 17 18 06 element 3 six bytes 19 01 InputAndOptions 0x01 20 0D Transition released pressed 21 02 Source Endpoint 2 hosts window covering client cluster...

Page 18: ...pressed 7 01 Source Endpoint 1 hosts primary scene client cluster on C4 8 05 00 Cluster ID 0x0005 scenes 9 05 34 12 56 ZCL Command Template Recall scene group ID 0x1234 scene ID 0x56 10 11 06 element...

Page 19: ...all other input actions a recall scene command will always be sent as groupcast to the group specified in the payload of the recall scene command The idea is that each transition from the pressed stat...

Page 20: ...1 31 32 06 element 5 six bytes 33 02 InputAndOptions 0x02 34 07 Transition pressed released 35 03 Source Endpoint 3 hosts tertiary scene client cluster on C4 36 05 00 Cluster ID 0x0005 scenes 37 05 44...

Page 21: ...e logical control unit endpoint or introduces a new endpoint with the new cluster to facilitate finding binding For the raw functionality it is not strictly required though 2 Qualified customers may l...

Page 22: ...ommand Recall scene commands are now always sent to the group ID in the payload and don t require an entry in the binding table 0 9 11 25 2014 Preliminary version for internal use only 1 0 05 31 2017...

Page 23: ...5 Contact ubisys technologies GmbH Neumannstr 10 40235 D sseldorf Germany T 49 211 54 21 55 19 F 49 211 54 21 55 99 www ubisys de info ubisys de 21...

Reviews: