SC2262 Contact
Brand | Protocol |
---|---|
SC2262 | sc2262 |
Not supported
"devices": { "Lamp": { "protocol": [ "sc2262" ], "id": [{ "systemcode": 31, "unitcode": 0 }], "state": "off" } }
None
This protocol sends 50 pulses like this
432 1296 1296 432 432 1296 1296 432 432 1296 1296 432 432 1296 1296 432 432 1296 1296 432 432 1296 1296 432 432 1296 1296 432 432 1728 1296 432 432 1296 432 1296 432 1296 1296 432 1296 432 1296 432 1296 432 1296 432 432 14688
It has no header
and the last 2 pulses are the footer
. These are meant to identify the pulses as genuine, and the protocol also has some bit checks to filter false positives. We don't use them for further processing. The next step is to transform this output into 12 groups of 4 pulses (and thereby dropping the footer
pulses).
432 1296 1296 432 432 1296 1296 432 432 1296 1296 432 432 1296 1296 432 432 1296 1296 432 432 1296 1296 432 432 1296 1296 432 432 1728 1296 432 432 1296 432 1296 432 1296 1296 432 1296 432 1296 432 1296 432 1296 432 432 14688
If we now look at carefully at these groups you can distinguish three types of groups:
432 1296 1296 432
432 1296 432 1296
1296 432 1296 432
So the first group is defined by a high 3th pulse, the second group has a low 3th pulse, and the third group is defined by a low 2nd pulse. In this case we say a high 3th pulse means a 0 and a low 3th pulse and the low 2nd pulse mean a 1. We then get the following output:
00000 00010 1 1
Each (group) of numbers has a specific meaning:
00000 00010 1 1
SystemCode
is defined as a binary numberUnitCode
is defined as a binary numberState
defines whether a devices needs to be turned On or OffSo this code represents: