From 53c85131c4b1bad7498301773c1f471bdd9a5032 Mon Sep 17 00:00:00 2001 From: odroegehorn <> Date: Sun, 16 Oct 2011 13:32:19 +0000 Subject: [PATCH] IR-Send Update git-svn-id: https://svn.fhem.de/fhem/trunk@1076 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/docs/commandref.html | 32 +++++++++++++++++++++++++------- 1 file changed, 25 insertions(+), 7 deletions(-) diff --git a/fhem/docs/commandref.html b/fhem/docs/commandref.html index d3d63d477..c0f06cbc3 100644 --- a/fhem/docs/commandref.html +++ b/fhem/docs/commandref.html @@ -2451,11 +2451,11 @@ A line ending with \ will be concatenated with the next one, so long lines @@ -2468,7 +2468,25 @@ A line ending with \ will be concatenated with the next one, so long lines attributes learncount and learnprefix.
Attention: Before learning IR-Codes the CUL_IR device needs to be set in IR-Receiving mode by modifying the irReceive attribute. - + + +
  • irSend
    + Sends out IR-commands via the connected IODev. The IR-command can be specified as buttonname according + to Button.* or as IR-Code directly. If a buttonname is specified, the + corresponding IR-Code will be sent out.
    + Example:
    +
    set IR-Dev irSend ButtonA001 
    + If defining an IR-Code directly the following Code-Syntax needs to be followed:
    +
    IRCode: <PP><AAAA><CCCC><FF> 
    + with P = Protocol; A = Address; C = Command; F = Flags
    + 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.
    + Example:
    + set IR-Dev irSend 0A07070F0F02
    + set IR-Dev irSend I0A07070F0F00
    + +
  • @@ -2498,7 +2516,7 @@ A line ending with \ will be concatenated with the next one, so long lines
    -
  • Button.*
    +
  • Button.*
    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:
    @@ -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>
             
  • -
  • Group.*
    +
  • Group.*
    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.
    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 With this all IR-Codes starting with I02029A will match the Group001.

  • -
  • learncount
    +
  • learncount
    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.

  • -
  • learnprefix
    +
  • learnprefix
    learnprefix is a string which will be added to the button-attribute-name.
    A button-attribute-name is constructed by: