User Tools

Site Tools


silvercrest_v7_0

Differences

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

Link to this comparison view

silvercrest_v7_0 [2015/11/27 22:09] (current)
Line 1: Line 1:
 +**Silvercrest**
  
 +^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^
 +|Silvercrest|silvercrest|
 +
 +==== Sender Arguments ====
 +<​code>​
 +-t --on             send an on signal
 +-f --off            send an off signal
 +-u --unit=unit ​     control a device with this unit code
 +-i --id=id ​         control a device with this id
 +</​code> ​
 +
 +==== Config ====
 +<​code>​
 +"​devices":​ {
 + "​Lamp":​ {
 + "​protocol":​ [ "​silvercrest"​ ],
 + "​id":​ [{
 + "​systemcode":​ 22,
 + "​unitcode":​ 0
 + }],
 + "​state":​ "​off"​
 + }
 +}
 +"​gui":​ {
 + "​Lamp":​ {
 + "​name":​ "TV Backlit",​
 + "​group":​ [ "​Lamps"​ ],
 + "​media":​ [ "​all"​ ]
 + }
 +}
 +</​code>​
 +
 +
 +==== Optional Settings ====
 +
 +GUI Settings
 +
 +^Setting^Default^Format^Description^
 +|readonly|0|1 or 0|Disable controlling this device from the GUIs|
 +|confirm|0|1 or 0|Ask for confirmation when switching device|
 +
 +==== Protocol ====
 +
 +This protocol sends 50 pulses like this
 +<​code>​
 +312 936 936 312
 +312 936 312 936
 +312 936 312 936
 +312 936 936 312
 +312 936 312 936
 +312 936 936 312
 +312 936 312 936
 +312 936 936 312
 +312 936 936 312
 +312 936 936 312
 +312 936 936 312
 +312 936 312 936
 +312 10608
 +</​code>​
 +
 +It has no ''​header''​ and the last 2 pulses are the ''​footer''​. These are meant to identify the pulses as genuine. The next step is to transform this output into 12 groups of 4 pulses (and thereby dropping the ''​footer''​ pulses).
 +
 +<​code>​
 +312 936 936 312
 +312 936 312 936
 +312 936 312 936
 +312 936 936 312
 +312 936 312 936
 +
 +312 936 936 312
 +312 936 312 936
 +312 936 936 312
 +312 936 936 312
 +312 936 936 312
 +
 +312 936 936 312
 +312 936 312 936
 +
 +312 10608
 +</​code>​
 +
 +If we now look at carefully at these groups you can distinguish two types of groups:
 +  - ''​312 936 936 312''​
 +  - ''​312 936 312 936''​
 +
 +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>​
 +01101 01000 01
 +</​code>​
 +
 +Each (group) of numbers has a specific meaning:
 +  * Unit: 0 till 5 (inversed)
 +  * ID: 6 till 10 (inversed)
 +  * Check: 11 (inverse of state)
 +  * State: 12 (inversed)
 +
 +<​code>​
 +10110 00010 0 0
 +</​code>​
 +
 +  * The ''​Unit''​ is defined as a binary number
 +  * The ''​ID''​ is defined as a binary number
 +  * The ''​Check''​ is always the inverse of the state
 +  * The ''​State''​ defines whether a devices needs to be turned On or Off
 +
 +So this code represents:
 +
 +  * Unit: 22
 +  * ID: 2
 +  * Fixed: Off
 +  * State: On
silvercrest_v7_0.txt ยท Last modified: 2015/11/27 22:09 (external edit)