User Tools

Site Tools


selectremote_v5_0

Differences

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

Link to this comparison view

selectremote_v5_0 [2015/11/27 22:09] (current)
Line 1: Line 1:
 +**Impuls**
  
 +^Feature^Support^
 +|Sending|{{http://​wiki.pilight.org/​lib/​images/​supported.gif}}|
 +|Receiving|{{http://​wiki.pilight.org/​lib/​images/​supported.gif}}|
 +|Config|{{http://​wiki.pilight.org/​lib/​images/​supported.gif}}|
 +
 +==== Supported Brands ====
 +^Brand^Protocol^
 +|SelectRemote|selectremote|
 +
 +==== Sender Arguments ====
 +<​code>​
 +-i --id=id ​                   control a device with this id
 +-t --on                       send an on signal
 +-f --off                      send an off signal
 +</​code> ​
 +
 +==== Config ====
 +<​code>​
 +        "​living":​ {
 +                "​name":​ "​Living",​
 +                "​switch":​ {
 +                        "​name":​ "​Switch",​
 +                        "​protocol":​ [ "​selectremote"​ ],
 + "​id":​ [{
 + "​id":​ 6
 + }],
 +                        "​state":​ "​off"​
 +                }
 +
 +        }
 +</​code>​
 +
 +==== Optional Settings ====
 +
 +^Setting^Default^Format^Description^
 +|gui-readonly|0|1 or 0|Disable controlling this device from the GUIs|
 +
 +==== Protocol ====
 +
 +This protocol sends 50 pulses like this
 +<​code>​
 +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
 +</​code>​
 +
 +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''​
 +
 +  - The first group is defined by a low 1th and low 3rd pulse pulse, hence we call it low.
 +  - The second group has a high 1st and 3rd pulse, hence we call it high.
 +
 +We then get the following output:
 +<​code>​
 +011100000000
 +</​code>​
 +
 +Each (group) of numbers has a specific meaning:
 +  * ID: 1 till 3
 +  * State: 8 (state)
 +
 +<​code>​
 +x 111 xxxx 0 xxx
 +</​code>​
 +
 +  * The ''​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.
 +  * The ''​State''​ defines whether a devices needs to be turned On or Off
 +
 +So this code represents:
 +
 +  * SystemCode: 0
 +  * State: Off
selectremote_v5_0.txt ยท Last modified: 2015/11/27 22:09 (external edit)