User Tools

Site Tools


sc2262_v6_0

Differences

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

Link to this comparison view

sc2262_v6_0 [2015/11/27 22:09] (current)
Line 1: Line 1:
 +**SC2262 Contact**
  
 +^Feature^Support^
 +|Sending|{{http://​wiki.pilight.org/​lib/​images/​notsupported.gif}}|
 +|Receiving|{{http://​wiki.pilight.org/​lib/​images/​supported.gif}}|
 +|Config|{{http://​wiki.pilight.org/​lib/​images/​supported.gif}}|
 +
 +==== Supported Brands ====
 +^Brand^Protocol^
 +|SC2262|sc2262|
 +
 +==== Sender Arguments ====
 +
 +// Not supported //
 +
 +==== Config ====
 +<​code>​
 +"​devices":​ {
 + "​Lamp":​ {
 + "​protocol":​ [ "​sc2262"​ ],
 + "​id":​ [{
 + "​systemcode":​ 31,
 + "​unitcode":​ 0
 + }],
 + "​state":​ "​off"​
 + }
 +}
 +</​code>​
 +
 +==== Optional Settings ====
 +
 +// None //
 +
 +==== Protocol ====
 +
 +This protocol sends 50 pulses like this
 +<​code>​
 +432 1296 1296 432 432 1296 1296 432 432 1296 1296 432 432 1296 1296 432 432 1296 1296 432 432 1296 1296 432 432 1296 1296 432 432 1728 1296 432 432 1296 432 1296 432 1296 1296 432 1296 432 1296 432 1296 432 1296 432 432 14688
 +</​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>​
 +432 1296 1296 432
 +432 1296 1296 432
 +432 1296 1296 432
 +432 1296 1296 432
 +432 1296 1296 432
 +432 1296 1296 432
 +432 1296 1296 432
 +432 1728 1296 432
 +432 1296 432 1296
 +432 1296 1296 432
 +1296 432 1296 432
 +1296 432 1296 432
 +432 14688
 +</​code>​
 +
 +If we now look at carefully at these groups you can distinguish three types of groups:
 +  - ''​432 1296 1296 432''​
 +  - ''​432 1296 432 1296''​
 +  - ''​1296 432 1296 432''​
 +
 +So the first group is defined by a high 3th pulse, the second group has a low 3th pulse, and the third group is defined by a low 2nd pulse. In this case we say a high 3th pulse means a 0 and a low 3th pulse and the low 2nd pulse mean a 1. We then get the following output:
 +
 +<​code>​
 +00000 00010 1 1
 +</​code>​
 +
 +Each (group) of numbers has a specific meaning:
 +  * SystemCode: 0 till 4
 +  * UnitCode: 5 till 9
 +  * State: 11
 +
 +<​code>​
 +00000 00010 1 1
 +</​code>​
 +
 +  * The ''​SystemCode''​ is defined as a binary number
 +  * The ''​UnitCode''​ is defined as a binary number
 +  * The ''​State''​ defines whether a devices needs to be turned On or Off
 +
 +So this code represents:
 +
 +  * SystemCode: 0
 +  * UnitCode: 2
 +  * State: Closed
sc2262_v6_0.txt ยท Last modified: 2015/11/27 22:09 (external edit)