This shows you the differences between two versions of the page.
silvercrest [2014/06/01 18:59] curlymo |
silvercrest [2015/11/27 21:09] |
||
---|---|---|---|
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| | ||
- | |Unitech|unitech| | ||
- | |||
- | 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> | ||
- | "living": { | ||
- | "name": "Living", | ||
- | "switch": { | ||
- | "name": "switch", | ||
- | "protocol": [ "silvercrest" ], | ||
- | "id": [{ | ||
- | "id": 22 | ||
- | "unit": 0 | ||
- | }], | ||
- | "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> | ||
- | 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> | ||
- | 10100 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 |