This is an old revision of the document!
Arctech Contact
Supported Brands
Brand | Protocol |
---|---|
KlikAanKlikUit | kaku_contact |
Config
"living": { "name": "Living", "dimmer": { "name": "Door", "protocol": [ "kaku_contact" ], "id": [{ "id": 100, "unit": 0 }], "state": "closed" } }
Optional Settings
Setting | Default | Format | Description |
---|---|---|---|
states | “opened,closed” | Comma separated list | The order of the different states |
Protocol
This protocol sends 148 pulses like this
294 2646 294 294 294 1176 294 294 294 1176 294 1176 294 294 294 294 294 1176 294 1176 294 294 294 294 294 1176 294 1176 294 294 294 1176 294 294 294 1176 294 294 294 294 294 1176 294 1176 294 294 294 1176 294 294 294 294 294 1176 294 294 294 1176 294 1176 294 294 294 294 294 1176 294 294 294 1176 294 1176 294 294 294 294 294 1176 294 294 294 1176 294 294 294 1176 294 1176 294 294 294 294 294 1176 294 294 294 1176 294 1176 294 294 294 294 294 1176 294 294 294 1176 294 1176 294 294 294 1176 294 294 294 294 294 1176 294 294 294 1176 294 1176 294 294 294 294 294 1176 294 1176 294 294 294 1176 294 294 294 1176 294 294 294 9996
The first 2 pulses are the header
and the last 2 pulses are 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 36 groups of 4 pulses (and thereby dropping the header
and footer
pulses).
294 294 294 1176 294 294 294 1176 294 1176 294 294 294 294 294 1176 294 1176 294 294 294 294 294 1176 294 1176 294 294 294 1176 294 294 294 1176 294 294 294 294 294 1176 294 1176 294 294 294 1176 294 294 294 294 294 1176 294 294 294 1176 294 1176 294 294 294 294 294 1176 294 294 294 1176 294 1176 294 294 294 294 294 1176 294 294 294 1176 294 294 294 1176 294 1176 294 294 294 294 294 1176 294 294 294 1176 294 1176 294 294 294 294 294 1176 294 294 294 1176 294 1176 294 294 294 1176 294 294 294 294 294 1176 294 294 294 1176 294 1176 294 294 294 294 294 1176 294 1176 294 294 294 1176 294 294 294 1176 294 294
If we now look at carefully at these groups you can distinguish two types of groups:
294 1176 294 294
294 294 294 1176
So the first group is defined by a high 2nd and the second group has a high 4th pulse. So we take either of these two pulses to define a 0 or a 1. In this case we say a high 2nd pulse means a 1 and a low 2nd pulse means a 0. We then get the following output:
001010111011001001000100100110010111
Each (group) of numbers has a specific meaning:
00101011101100100100010010 0 1 1001 0111
ID
is defined as a binary number All
special pulse to identify the code was meant for a dimmer State
defines whether a devices needs to be turned On or OffUnit
is also defined as a binary numberunknown
bits are missing in the opened stateSo this code represents: