Impuls
Brand | Protocol |
---|---|
SelectRemote | selectremote |
-i --id=id control a device with this id -t --on send an on signal -f --off send an off signal
"living": { "name": "Living", "switch": { "name": "Switch", "protocol": [ "selectremote" ], "id": [{ "id": 6 }], "state": "off" } }
Setting | Default | Format | Description |
---|---|---|---|
gui-readonly | 0 | 1 or 0 | Disable controlling this device from the GUIs |
This protocol sends 50 pulses like this
396 1188 396 1188 1188 396 1188 396 1188 396 1188 396 1188 396 1188 396 396 1188 396 1188 396 1188 396 1188 396 1188 396 1188 396 1188 396 1188 396 1188 396 1188 396 1188 396 1188 396 1188 396 1188 396 1188 396 1188 396 13464
It has no header
and the last 2 pulses are the footer
. These are meant to identify the pulses as genuine. If we now look at carefully at these groups you can distinguish two types of groups:
396 1188 396 1188
1188 396 1188 396
We then get the following output:
011100000000
Each (group) of numbers has a specific meaning:
x 111 xxxx 0 xxx
ID
is defined as a binary number. To calculate the ID we subtract the binary represented decimal from 7. In this case the binary 111
is equal to the decimal 7. That means this code represents ID 0.State
defines whether a devices needs to be turned On or OffSo this code represents: