User Tools

Site Tools


livolo_switch_v7_0

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

livolo_switch_v7_0 [2017/03/20 17:17] (current)
leppa Created page for the Livolo protocol
Line 1: Line 1:
 +**Livolo Switches**
  
 +^Feature^Support^
 +|Sending|{{http://​wiki.pilight.org/​lib/​images/​supported.gif}}|
 +|Receiving|{{http://​wiki.pilight.org/​lib/​images/​notsupported.gif}}|
 +|Config|{{http://​wiki.pilight.org/​lib/​images/​notsupported.gif}}|
 +
 +==== Supported Brands ====
 +^Brand^Protocol^
 +|Livolo Remote Touch Switch (VL-C30xR, VL-C70xR)|livolo_switch|
 +|Livolo clones (e.g., Kisuns, WELAIK)|livolo_switch|
 +==== Sender Arguments ====
 +<​code>​
 +-i --id=id ​       ID of the remote* (0..65535)
 +-n --key=number ​  key number on the remote (1..10)
 +-f --off          all off for the remote (cannot be combined with key number)
 +</​code>​
 +
 +* Not all remote IDs seem to be accepted by the switches.
 +
 +==== Protocol ====
 +
 +This protocol sends 24 to 47 pulses per message. First pulse is the ''​header''​ and is 595 μs long. All subsequent pulses are either 170 μs (short pulse) or 340 μs (long pulse) long. Two subsequent short pulses correspond to bit 0, one long pulse corresponds to bit 1. There is no ''​footer''​. The message is repeated for about 1 second.
 +
 +<​code>​
 +            _____________
 +Start bit: |             |
 +            ___
 +bit 0:     ​| ​  |___|
 +            _______
 +bit 1:     ​| ​      |
 +</​code>​
 +
 +The message without header, when decoded, is 23 bits. First 16 bits identify the remote, rest 7 bits identify the key on the remote. There is no ''​on''/''​off''​ message, only ''​toggle''​ for the specific key. However, there is a '​magic'​ key id, which turns off all switches associated with the remote.
 +
 +|Key number|1|2|3|4|5|6|7|8|9|10|Off|
 +|Key id|0|96|120|24|80|48|108|12|72|40|106|
 +
 +In case of four key remote with letters (VL-RMT-02):​
 +
 +|Letter on the remote|A|B|C|D (Off)|
 +|Key id|0|96|120|106|
 +
 +For example,
 +
 +<​code>​
 +0000000000000001 0000000
 +</​code>​
 +
 +represents:
 +
 +  * ID: 1
 +  * Key: 1 or A
 +
 +And:
 +
 +<​code>​
 +0000000000001010 1101010
 +</​code>​
 +
 +represents:
 +
 +  * ID: 10
 +  * Key: Off
livolo_switch_v7_0.txt · Last modified: 2017/03/20 17:17 by leppa