Rev version 1 and 2
Brand | Protocol |
---|---|
Rev | rev_v1 |
Rev | rev_v2 |
-i --id=id control a device with this systemcode -u --unit=unit control a device with this programcode -t --on send an on signal -f --off send an off signal
"living": { "name": "Living", "switch": { "name": "Switch", "protocol": [ "rev1_switch" ], "id": [{ "id": "E7", "unit": 0 }], "state": "on" } }
Setting | Default | Format | Description |
---|---|---|---|
gui-readonly | 0 | 1 or 0 | Disable controlling this device from the GUIs |
This protocol sends 50 pulses like this
957 319 957 319 319 957 957 319 319 957 957 319 319 957 957 319 319 957 957 319 957 319 957 319 319 957 957 319 319 957 319 957 319 957 319 957 319 957 319 957 957 319 957 319 319 957 319 957 319 10846
It has no header
and the last pulse is the footer
. These are meant to identify the pulses as genuine. The next step is to transform this output into 12 groups of 4 pulses (and thereby dropping the footer
pulses).
957 319 957 319 319 957 957 319 319 957 957 319 319 957 957 319 319 957 957 319 957 319 957 319 319 957 957 319 319 957 319 957 319 957 319 957 319 957 319 957 957 319 957 319 319 957 319 957 319 10846
If we now look at carefully at these groups you can distinguish three types of groups:
319 957 957 319
957 319 957 319
319 957 319 957
We then get the following output:
MLLLL MLHHH MH
All L's can be translated to 0, the H's to 1's, and M's to 2.
Each (group) of numbers has a specific meaning:
20000 20111 21
Unit
is defined as a binary numberID
is defined as a binary number combined with a letterState
defines whether a devices needs to be turned On or OffSo this code represents: