Rev version 3
Brand | Protocol |
---|---|
Rev | rev_v3 |
-t --on send an on signal -f --off send an off signal -u --unit=unit control a device with this unit code -i --id=id control a device with this id
"living": { "name": "Living", "switch": { "name": "switch", "protocol": [ "rev3_switch" ], "id": [{ "id": 1, "unit": 1 }], "state": "off" } }
Unit and device id's
The old Rev devices use DIP switches: First six for ID and last 4 for units itself.
Setting | Default | Format | Description |
---|---|---|---|
gui-readonly | 0 | 1 or 0 | Disable controlling this device from the GUIs |
This protocol sends 50 pulses like this
256 768 256 768 256 768 768 256 256 768 768 256 256 768 768 256 256 768 768 256 256 768 768 256 256 768 256 768 256 768 768 256 256 768 768 256 256 768 768 256 256 768 768 256 256 768 256 768 256 8704
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).
256 768 256 768 256 768 768 256 256 768 768 256 256 768 768 256 256 768 768 256 256 768 768 256 256 768 256 768 256 768 768 256 256 768 768 256 256 768 768 256 256 768 768 256 256 768 256 768 256 8704
If we now look at carefully at these groups you can distinguish two types of groups:
256 768 256 768
256 768 768 256
100000 1000 0 1
Device Bit(from left) ON OFF A 7 000000100001 000000100010 B 8 000000010001 000000010010 C 10 000000000101 000000000110 D 9 000000001001 000000001010 (C/D are really crossed) Bit12 set = on Bit11 set = Off
Each (group) of numbers has a specific meaning:
ID (Bit 1-6 from left) 123456 Each DIP switch represents one bit set or not
1set 100000 2set 010000 1+2 set 110000 All set 111111