Site updated at 2017-02-26 00:49:31 UTC
This commit is contained in:
parent
092dbe14ce
commit
87b3c263a3
500 changed files with 9754 additions and 1957 deletions
|
@ -129,7 +129,7 @@
|
|||
</li>
|
||||
</ul>
|
||||
|
||||
<p>Variables for the different codes:</p>
|
||||
<p>Variables for the different codes (<code class="highlighter-rouge">on_code</code> and <code class="highlighter-rouge">off_code</code>):</p>
|
||||
|
||||
<ul>
|
||||
<li><strong>protocol</strong> (<em>Required</em>): Protocol to use, eg. <code class="highlighter-rouge">intertechno_old</code> or <code class="highlighter-rouge">daycom</code>.</li>
|
||||
|
@ -141,7 +141,15 @@
|
|||
<li><strong>‘on’</strong> (<em>Optional</em>): <code class="highlighter-rouge">1</code> or <code class="highlighter-rouge">0</code></li>
|
||||
</ul>
|
||||
|
||||
<p>For possible code entries look at the <a href="https://www.pilight.org/development/api/">pilight API</a>. All commands allowed by <a href="https://wiki.pilight.org/doku.php/psend">pilight-send</a> can be used. Which means that if for a certain protocol there are different parameters used, you should be able to replace the variables above by the proper ones required by the specific protocol. When using the <code class="highlighter-rouge">elro_800_switch</code> or <code class="highlighter-rouge">mumbi</code> protocol for example, you will have to replace the variable <code class="highlighter-rouge">unit</code> with <code class="highlighter-rouge">unitcode</code> or there will be errors occurring.</p>
|
||||
<p>For possible code entries look at the <a href="https://www.pilight.org/development/api/">pilight API</a>. All commands allowed by <a href="https://wiki.pilight.org/doku.php/psend">pilight-send</a> can be used. Which means that if for a certain protocol there are different parameters used, you should be able to replace the variables above by the proper ones required by the specific protocol. When using the <code class="highlighter-rouge">elro_800_switch</code> or <code class="highlighter-rouge">mumbi</code> protocol for example, you will have to replace the variable <code class="highlighter-rouge">unit</code> with <code class="highlighter-rouge">unitcode</code> or there will be errors occuring.</p>
|
||||
|
||||
<p>Variables for the different receive codes (<code class="highlighter-rouge">on_code_receive</code> and <code class="highlighter-rouge">off_code_receive</code>):</p>
|
||||
|
||||
<ul>
|
||||
<li><strong>echo</strong> (<em>Optional</em>) Set to <code class="highlighter-rouge">true</code> if the on-/off-code should be sent if the given code was received.</li>
|
||||
</ul>
|
||||
|
||||
<p>This is useful if you have paired your sender directly with the receiver to prevent sending the signal twice.</p>
|
||||
|
||||
<h2><a class="title-link" name="examples" href="#examples"></a> Examples</h2>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue