From b370fa90ac424faa58824595bfd8e46e4798c6fe Mon Sep 17 00:00:00 2001 From: markusbloch Date: Thu, 14 Mar 2013 21:46:05 +0000 Subject: [PATCH] removing
-Tags from documentation

git-svn-id: https://svn.fhem.de/fhem/trunk@2916 2b470e98-0d58-463d-a4d8-8e2adae1ed80
---
 fhem/FHEM/71_YAMAHA_AVR.pm | 300 +++++++++++++++++++------------------
 1 file changed, 151 insertions(+), 149 deletions(-)

diff --git a/fhem/FHEM/71_YAMAHA_AVR.pm b/fhem/FHEM/71_YAMAHA_AVR.pm
index b86299c03..42411eb35 100755
--- a/fhem/FHEM/71_YAMAHA_AVR.pm
+++ b/fhem/FHEM/71_YAMAHA_AVR.pm
@@ -769,13 +769,15 @@ sub YAMAHA_AVR_getInputs($)
     seconds), which periodically reads the status of the AV receiver (power state, selected
     input, volume and mute status) and triggers notify/filelog commands.

- Example: -
+    Example:

+
    define AV_Receiver YAMAHA_AVR 192.168.0.10 - - define AV_Receiver YAMAHA_AVR 192.168.0.10 mainzone 60 # With custom interval of 60 seconds -
+

+ define AV_Receiver YAMAHA_AVR 192.168.0.10 mainzone 60     # With custom interval of 60 seconds +
+ +

Zone Selection


For each Zone you will need an own YAMAHA_AVR device, which can be assigned to a different room. Each zone can be controlled separatly from all other available zones.

@@ -814,79 +816,79 @@ sub YAMAHA_AVR_getInputs($)

Currently, the following commands are defined; the available inputs are depending on the used receiver. The module only offers the real available inputs. The following input commands are just an example and can differ. - -
on
-off
-input hdmi1
-input hdmi2
-input hdmi3
-input hdmi4
-input av1
-input av2
-input av3
-input av3
-input av4
-input av5
-input av6
-input usb
-input airplay
-input tuner
-input v-aux
-input audio
-input server
-volume -80..16	(volume between -80 and +16 dB)
-mute on
-mute off
- +

+ +

Remote control (not in all zones available, depending on your model)



+ And in your 99_MyUtils.pm the following function:

+
+

The remote control commands must be separated with a sleep, because the receiver is loading meanwhile and don't accept commands.

- Now you can use this function by typing the following line in your FHEM command line or in your notify-definitions: -
+    Now you can use this function by typing the following line in your FHEM command line or in your notify-definitions:

+
+

@@ -897,11 +899,11 @@ mute off Attributes @@ -951,15 +953,15 @@ volume_level die Lautstärke zu ändern, den Receiver "Stumm" zu schalten, sowie den aktuellen Status abzufragen.

Bei der Definition eines YAMAHA_AVR-Moduls wird eine interne Routine in Gang gesetzt, welche regelmäßig - (einstellbar durch den optionalen Parameter <Status_Interval>; falls nicht gesetzt ist der Standardwert 30 Sekunden) + (einstellbar durch den optionalen Parameter <Status_Interval>; falls nicht gesetzt ist der Standardwert 30 Sekunden) den Status des Receivers abfragt und entsprechende Notify-/FileLog-Geräte triggert..

- Beispiel: -
-       define AV_Receiver YAMAHA_AVR 192.168.0.10
+    Beispiel:

+
+ define AV_Receiver YAMAHA_AVR 192.168.0.10 mainzone 60     # Mit modifiziertem Status Interval (60 Sekunden) +

Zonenauswahl
Fernbedienung (je nach Modell nicht in allen Zonen verfügbar)

@@ -1031,49 +1033,49 @@ mute off bedürfen manueller Interaktion mit der Fernbedienung um die Wiedergabe zu starten (z.B. Internet Radio, Netzwerk Streaming, usw.).

Für diesen Fall gibt es folgende Befehle:

- Cursor Steuerung: -
-    remoteControl up
-    remoteControl down
-    remoteControl left
-    remoteControl right
-    remoteControl enter
-    remoteControl return
-    
+ Cursor Steuerung:

+

- Menü Auswahl: -
-    remoteControl setup
-    remoteControl option
-    remoteControl display
-    
+ Menü Auswahl:

+

Die Befehlsnamen entsprechen den Tasten auf der Fernbedienung.

- Ein typisches Beispiel ist das automatische Einschalten und Abspielen eines Internet Radio Sender: -
-    # Die Gerätedefinition
+    Ein typisches Beispiel ist das automatische Einschalten und Abspielen eines Internet Radio Sender:

+
- Und in der 99_MyUtils.pm die folgende Funktion: -
-    sub startNetRadio
-    {
-      fhem "set AV_Receiver on";
-      sleep 5;
-      fhem "set AV_Receiver input netradio";
-      sleep 4;
-      fhem "set AV_Receiver remoteControl enter";
-      sleep 2;
-      fhem "set AV_Receiver remoteControl enter";
+    

+ Und in der 99_MyUtils.pm die folgende Funktion:

+
+

Die Kommandos der Fernbedienung müssen mit einem sleep pausiert werden, da der Receiver in der Zwischenzeit arbeitet und keine Befehle annimmt..

- Nun kann man diese Funktion in der FHEM Kommandozeile oder in notify-Definitionen wie folgt verwenden.: -
+    Nun kann man diese Funktion in der FHEM Kommandozeile oder in notify-Definitionen wie folgt verwenden.:

+
+