Quigg Switches
Brand | Protocol |
---|---|
Aldi Quigg GT-7000 | quigg_switch |
Globaltronics GT-7000 | quigg_switch |
Globaltronics GT-FSI-02 | quigg_switch |
Globaltronics GT-FSI-04a | quigg_switch |
Globaltronics 7008AS | quigg_switch |
-t --on send an on signal to a device -f --off send an off signal to a device -i --id=id control the device with this system id (1 ... 4095) -u --unit=unit control the device with this unit code (0 ... 3) -a --all send command to all device units belonging to this system id
"living": { "name": "Living", "switch": { "name": "Switch", "protocol": [ "quigg_switch" ], "id": [{ "id": 2816, "unit": 0 }], "state": "off" } }
Setting | Default | Format | Description |
---|---|---|---|
gui-readonly | 0 | 0 or 1 | Enable, Disable controlling this device from the GUIs |
The quigg_switch protocol sends 42 pulses like this
700 1400 700 700 1400 1400 700 1400 700 700 1400 700 1400 700 1400 700 1400 700 1400 700 1400 700 1400 700 1400 700 1400 700 1400 700 1400 1400 700 700 1400 700 1400 700 1400 1400 700 81000
The first pulse is the header
and the last pulse is the footer
. These are meant to identify the pulses as genuine. We don't use them for further processing. The next step is to transform this output into 20 groups of 2 pulses (and thereby dropping the header
and footer
pulse).
1400 700 700 1400 1400 700 1400 700 700 1400 700 1400 700 1400 700 1400 700 1400 700 1400 700 1400 700 1400 700 1400 700 1400 700 1400 1400 700 700 1400 700 1400 700 1400 1400 700
If we now analyse these groups we can distinguish two types of groups:
700 1400
1400 700
So the first group is defined by a short 1st and 2nd long and the second group by a long 1st and 2nd short pulse. So we take either of these two pulses to define a logical 0 or 1. In our case a long 1st pulse means a 1 and a short 1st pulse means a 0. We then get the following output:
10110000000000010001
We can group the sequence of bits into the following groups A to H:
AAAAAAAAAAAA BB C D E F G H 101100000000 00 0 1 0 0 0 1
Each of the groups of bits (A to H) has a specific meaning:
Group | Bit # | config name | Range | Description |
---|---|---|---|---|
A | 1 to 12 | “id”: | 0 to 4095 | SystemCode |
B | 13, 14 | “unit”: | 0 to 3 | UnitCode |
C | 15 | “all:“ | 1 | command to all devices |
D | 16 | “state:“ | 0,1 | Switch ON or OFF |
Dimmer DOWN or UP | ||||
E | 17 | “dimm:” | 0,1 | switch, dimmer mode |
F | 18 | 0 | always zero | |
G | 19 | 0,1 | internal, handled by driver | |
H | 20 | 0,1 | even parity bit |
So this code represents:
"id": 2816, "unit": 1 "state": Off
Examples
CLI command:
pilight-send -p quigg_switch -i 2816 -u 1 -f
Subsequently the switch unit #1 with system code id #2816 is turned off.
Support
Extracting the system code id from an existing Globaltronics GT-7000 remote control device either requires a special version of the BPF, or you need to bypass the BPF.
After insertion of batteries the GT-7000 defaults to system code id #2816. Pressing the button “Neuer Code” located in the battery compartment, will trigger the generation of a new system code id.
List of other system code id's generated by GT-7000 after Reset
After GT-7000 reset, a brief press on the “Neuer Code” button will trigger generation of system code id's in sequential order, for the current quigg_switch protocol driver the id's are:
2816, 3840, 128, 2176, 1152, 3200, 640, 2688, 1664, 3712, 384, 2432, 1408, 3456, 896, 2944, 1920, 3968, ....
Learning mode of GT-FSI-04a:
Press the learning mode button on the switch and send the appropriate CLI command with pilight-send: Configure a switch to be unit #2 and system code id #29:
pilight-send -p quigg_switch -i 29 -u 2 -t
The device learns that it has now system code id #29 and that it is unit #2 and enters ON mode (e.q. the switch is turned on). If the switch is not connected to power for an extended period of time, it will loose its configuration and reset to the default id #2816 unit #0.