Feature | Support |
Sending | |
Receiving | |
Config |
Supported Brands
Brand | Protocol |
Cleverwatts | cleverwatts |
Sender Arguments
1 2 3 4 5 | -i --id=id control a device with this id
-u --unit=unit control a device with this unit
-t --on send an on signal
-f --off send an off signal
-a --all send an all signal
|
Config
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | {
"devices": {
"dimmer": {
"protocol": [ "cleverwatts" ],
"id": [{
"id": 73404,
"unit": 0
}],
"state": "off"
}
},
"gui": {
"Lamp": {
"name": "TV Backlit",
"group": [ "Living" ],
"media": [ "all" ]
}
}
}
|
Option | Value |
id | 1 - 1048575 |
unit | 0 - 3 |
state | on / off |
Optional Settings
GUI Settings
Setting | Default | Format | Description |
readonly | 1 | 1 or 0 | Disable controlling this device from the GUIs |
confirm | 1 | 1 or 0 | Ask for confirmation when switching device |
Protocol
This protocol sends 50 pulses like this
270 810 810 270 810 270 270 810 810 270 810 270 810 270 270 810 810 270 270 810 810 270 270 810 810 270 270 810 270 810 810 270 270 810 270 810 270 810 270 810 810 270 810 270 810 270 270 810 270 9180
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).
270 810
810 270
810 270
270 810
810 270
810 270
810 270
270 810
810 270
270 810
810 270
270 810
810 270
270 810
270 810
810 270
270 810
270 810
270 810
270 810
810 270
810 270
810 270
270 810
If we now look at carefully at these groups you can distinguish three types of groups:
270 810
810 270
We then get the following output:
0 1
1 0
1 0
0 1
1 0
1 0
1 0
0 1
1 0
0 1
1 0
0 1
1 0
0 1
0 1
1 0
0 1
0 1
0 1
0 1
1 0
1 0
1 0
0 1
We then remove the first column of numbers and then put the remaining numbers in a row:
1001000101011011110001
Each (group) of numbers has a specific meaning and are defined in binary format:
So this code represents: