User Tools

Site Tools


home_easy_old_v5_0

Differences

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

Link to this comparison view

home_easy_old_v5_0 [2015/11/27 22:09] (current)
Line 1: Line 1:
 +**Home Easy Old Version**
  
 +^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^
 +|Home Easy|home_easy_old|
 +
 +==== Sender Arguments ====
 +<​code>​
 +-s --systemcode=systemcode ​    ​control a device with this systemcode
 +-u --unitcode=unitcode ​        ​control a device with this unitcode
 +-a --all                       send command to all devices 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":​ [ "​home_easy_old"​ ],
 + "​id":​ [{
 + "​systemcode":​ 1,
 + "​unitcode":​ 1
 + }],
 +                        "​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>​
 +289 867 289 867
 +289 867 867 289
 +289 867 867 289
 +289 867 867 289
 +289 867 867 289
 +289 867 867 289
 +289 867 867 289
 +289 867 867 289
 +289 867 867 289
 +289 867 867 289
 +289 867 867 289
 +289 867 867 289
 +289 9826
 +</​code>​
 +
 +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).
 +
 +<​code>​
 +289 867 289 867
 +
 +289 867 867 289
 +289 867 867 289
 +289 867 867 289
 +289 867 867 289
 +
 +289 867 867 289
 +289 867 867 289
 +289 867 867 289
 +289 867 867 289
 +
 +289 867 867 289
 +
 +289 867 867 289
 +
 +289 867 867 289
 +
 +289 9826
 +</​code>​
 +
 +If we now look at carefully at these groups you can distinguish two types of groups:
 +  - ''​289 867 867 289''​
 +  - ''​289 867 289 867''​
 +
 +So the first group is defined by a high 3th pulse and the second group has a low 3rd pulse. In this case we say a high 3rd pulse means a 0 and a high 3rd pulse means a 1. We then get the following output:
 +
 +<​code>​
 +1 0000 0000 0 0 0
 +</​code>​
 +
 +Each (group) of numbers has a specific meaning:
 +  * Unit: 1 till 5 (inversed)
 +  * ID: 6 till 9 (inversed)
 +  * All: 10
 +  * State: 11 (inversed)
 +  * Check: 12 (always 0)
 +
 +<​code>​
 +1 0000 0000 0 0 0
 +</​code>​
 +
 +  * The ''​Unit''​ is defined as a binary number
 +  * The ''​ID''​ is defined as a binary number
 +  * The ''​All''​ is defined as a binary number
 +  * The ''​Check''​ is always 0
 +  * The ''​State''​ defines whether a devices needs to turn on or off
 +
 +So this code represents:
 +
 +  * Unit: 1
 +  * ID: 1
 +  * All: 0
 +  * Check: always 0
 +  * State: On
home_easy_old_v5_0.txt ยท Last modified: 2015/11/27 22:09 (external edit)