
up direction, another one for the down direction.
The idea is that each transition from the released state to the pressed state fires a “move up/open”
command for the first button (“move down/close” command for the second button), and each
transition from the pressed to the released state fires a “stop” command (same for both buttons). The
trick here is to don’t send a stop command when the transition originates in a kept-pressed
command.
3.8.1. Examples
This is the default configuration for J1 and J1-R, which is aimed at dual push-button operation
(momentary, one stable position):
1
41 element type: 0x41 (raw data)
2
04 00 element count: 0x0004 (4 entries)
3
4
06 element #1: six bytes
5
00 InputAndOptions: 0x00
6
0D Transition: released -> pressed
7
02 Source: Endpoint #2 (hosts window covering client cluster on J1)
8
02 01 Cluster ID: 0x0102 – window covering
9
00 ZCL Command Template: Move up/open
10
11
06 element #2: six bytes
12
00 InputAndOptions: 0x00
13
07 Transition: pressed -> released
14
02 Source: Endpoint #2 (hosts window covering client cluster on J1)
15
02 01 Cluster 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 cluster on J1)
22
02 01 Cluster ID: 0x0102 – window covering
23
01 ZCL Command Template: Move down/close
24
25
06 element #4: six bytes
26
01 InputAndOptions: 0x01
27
07 Transition: pressed -> released
28
02 Source: Endpoint #2 (hosts window covering client cluster on J1)
29
02 01 Cluster ID: 0x0102 – window covering
30
02 ZCL Command Template: Stop
A short press will move up/down and stop when released, while a long press will move up/down
without stopping before the fully open or fully closed position is reached, respectively. This is
particularly useful for lift & tilt blinds, but also generally suitable for all kinds of attached devices.
3.9. Double Stationary Switch as Shutter Switch
Related C++ class: CZigBeeDeviceSetupInputPatternDoubleSwitchWindowCovering.
This is a fairly simple recipe designed for controlling a window blind utilizing two momentary switches
(push buttons, one stable position). Users are able to adjust the tilt angle using short presses and
have the shutter drive to its upper and lower bounds using a long press. One button is used for the
14