mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-16 10:46:03 +00:00
IR-Send Update
git-svn-id: https://svn.fhem.de/fhem/trunk@1076 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
5bf7ea1efb
commit
53c85131c4
@ -2451,11 +2451,11 @@ A line ending with \ will be concatenated with the next one, so long lines
|
|||||||
<ul>
|
<ul>
|
||||||
<code>define <name> CUL_IR <<a href="#IODev">IODev</a>></code> <br>
|
<code>define <name> CUL_IR <<a href="#IODev">IODev</a>></code> <br>
|
||||||
<br>
|
<br>
|
||||||
<<a href="#IODev">IODev</a>> is the devicename of the IR-receivung device, e.g. CUL1.<br><br>
|
<<a href="#IODev">IODev</a>> is the devicename of the IR-receivung device, e.g. CUNO1.<br><br>
|
||||||
|
|
||||||
Your definition should look like E.g.:
|
Your definition should look like E.g.:
|
||||||
<pre>
|
<pre>
|
||||||
define IR-Rec CUL_IR CUNO1</pre>
|
define IR-Dev CUL_IR CUNO1</pre>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<a name="CUL_IRset"></a>
|
<a name="CUL_IRset"></a>
|
||||||
@ -2469,6 +2469,24 @@ A line ending with \ will be concatenated with the next one, so long lines
|
|||||||
Attention: Before learning IR-Codes the CUL_IR device needs to be set in IR-Receiving mode
|
Attention: Before learning IR-Codes the CUL_IR device needs to be set in IR-Receiving mode
|
||||||
by modifying the <a href="#irReceive">irReceive</a> attribute.
|
by modifying the <a href="#irReceive">irReceive</a> attribute.
|
||||||
</li>
|
</li>
|
||||||
|
<a name="irSend"></a>
|
||||||
|
<li>irSend<br>
|
||||||
|
Sends out IR-commands via the connected IODev. The IR-command can be specified as buttonname according
|
||||||
|
to <a href="#Button.*">Button.*</a> or as IR-Code directly. If a buttonname is specified, the
|
||||||
|
corresponding IR-Code will be sent out.<br>
|
||||||
|
Example: <br>
|
||||||
|
<pre>set IR-Dev irSend ButtonA001 </pre>
|
||||||
|
If defining an IR-Code directly the following Code-Syntax needs to be followed:<br>
|
||||||
|
<pre>IRCode: <PP><AAAA><CCCC><FF> </pre>
|
||||||
|
with P = Protocol; A = Address; C = Command; F = Flags<br>
|
||||||
|
With the Flags you can modify IR-Repetition. Flags between 00-0E will produce
|
||||||
|
0-15 IR-Repetitions.
|
||||||
|
You can type the IR-Code as plain as above, or with a heading "I" as learnt for the buttons.<br>
|
||||||
|
Example: <br>
|
||||||
|
<code>set IR-Dev irSend 0A07070F0F02<br>
|
||||||
|
set IR-Dev irSend I0A07070F0F00 </code>
|
||||||
|
|
||||||
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<a name="CUL_IRget"></a>
|
<a name="CUL_IRget"></a>
|
||||||
@ -2498,7 +2516,7 @@ A line ending with \ will be concatenated with the next one, so long lines
|
|||||||
</ul>
|
</ul>
|
||||||
</li><br>
|
</li><br>
|
||||||
|
|
||||||
<li><a href="#Button.*">Button.*</a><br>
|
<li><a name="Button.*"></a>Button.*<br>
|
||||||
Button.* is the wildcard for all learnt IR-Codes. IR-Codes are learnt as Button-Attributes.
|
Button.* is the wildcard for all learnt IR-Codes. IR-Codes are learnt as Button-Attributes.
|
||||||
The name for a learnt Button - IR-Code is compiled out of three elements:<br>
|
The name for a learnt Button - IR-Code is compiled out of three elements:<br>
|
||||||
<pre>
|
<pre>
|
||||||
@ -2523,7 +2541,7 @@ A line ending with \ will be concatenated with the next one, so long lines
|
|||||||
attr <device-name> <attribute-name> <IR-Code> <command>
|
attr <device-name> <attribute-name> <IR-Code> <command>
|
||||||
</pre>
|
</pre>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#Group.*">Group.*</a><br>
|
<li><a name="Group.*"></a>Group.*<br>
|
||||||
Group.* is the wildcard for IR-Code groups. With these attributes one can define
|
Group.* is the wildcard for IR-Code groups. With these attributes one can define
|
||||||
IR-Code parts, which may match to several Button-IR-Codes.<br>
|
IR-Code parts, which may match to several Button-IR-Codes.<br>
|
||||||
This is done by defining group-attributes that contain only parts of the IR-Code.
|
This is done by defining group-attributes that contain only parts of the IR-Code.
|
||||||
@ -2535,11 +2553,11 @@ A line ending with \ will be concatenated with the next one, so long lines
|
|||||||
Group001 I02029A</pre>
|
Group001 I02029A</pre>
|
||||||
With this all IR-Codes starting with I02029A will match the Group001.
|
With this all IR-Codes starting with I02029A will match the Group001.
|
||||||
</li><br>
|
</li><br>
|
||||||
<li><a href="#learncount">learncount</a><br>
|
<li><a name="learncount"></a>learncount<br>
|
||||||
learncount is used to store the next button-code-number that needs to be learned.
|
learncount is used to store the next button-code-number that needs to be learned.
|
||||||
By manually modifying this attribute new button sequences can be arranged.
|
By manually modifying this attribute new button sequences can be arranged.
|
||||||
</li><br>
|
</li><br>
|
||||||
<li><a href="#learnprefix">learnprefix</a><br>
|
<li><a name="learnprefix"></a>learnprefix<br>
|
||||||
learnprefix is a string which will be added to the button-attribute-name. <br>
|
learnprefix is a string which will be added to the button-attribute-name. <br>
|
||||||
A button-attribute-name is constructed by:
|
A button-attribute-name is constructed by:
|
||||||
<pre>
|
<pre>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user