User Tools

  • (equal to forum credentials)

Site Tools


quigg

Quigg Switches

FeatureSupport
Sending
Receiving
Config

Supported Brands

BrandProtocol
Aldi Quigg GT-7000quigg_switch
Globaltronics GT-FSI-04aquigg_switch

Sender Arguments

-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

Config

	"living": {
		"name": "Living",
		"switch": {
			"name": "Switch",
			"protocol": [ "quigg_switch" ],
			"id": [{
				"id": 2816,
				"unit": 0
			}],
			"state": "off"
		}
	}

Optional Settings

SettingDefaultFormatDescription
gui-readonly00 or 1Enable, Disable controlling this device from the GUIs

Protocol

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 23800

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:

  1. 700 1400
  2. 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:

GroupBit #config nameRangeDescription
A1 to 12“id”:0 to 4095SystemCode
B13, 14“unit”:0 to 3UnitCode
C15“all:“1command to all devices
D16“state:“0,1Switch ON or OFF
Dimmer DOWN or UP
E17“dimm:” 0,1switch, dimmer mode
F18 0always zero
G19 0,1internal, handled by driver
H20 0,1even 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).

quigg.txt · Last modified: 2015/11/27 22:09 (external edit)