diff --git a/fhem/FHEM/71_YAMAHA_AVR.pm b/fhem/FHEM/71_YAMAHA_AVR.pm
index 2490ea08f..f9ea1643d 100755
--- a/fhem/FHEM/71_YAMAHA_AVR.pm
+++ b/fhem/FHEM/71_YAMAHA_AVR.pm
@@ -168,7 +168,7 @@ YAMAHA_AVR_Get($@)
$what = $a[1];
- if($what =~ /^(power|input|volume_level|mute)$/)
+ if($what =~ /^(power|input|input_name|output|volume_level|mute)$/)
{
YAMAHA_AVR_GetStatus($hash, 1);
@@ -183,7 +183,7 @@ YAMAHA_AVR_Get($@)
}
else
{
- return "Unknown argument $what, choose one of param power input volume_level mute get";
+ return "Unknown argument $what, choose one of power input input_name volume_level mute".(exists($hash->{READINGS}{output})?" output":"");
}
}
@@ -1000,8 +1000,10 @@ mute off
Currently, the following commands are defined and return the current state of the receiver.
power
input
+input_name
mute
-volume_level
+volume_level
+output # only available in zones other than mainzone
Attributes
@@ -1022,6 +1024,15 @@ volume_level
For example the value 2 means the smooth process in general should take 2 seconds.
The value 0 means "as fast as possible". Default value is 0.
+
+ Generated Readings/Events:
+
+ - input - The selected input source according to the FHEM input commands
+ - input_name - The input description as seen on the receiver display
+ - mute - Reports the mute status of the receiver or zone (can be "on" or "off")
+ - power - Reports the power status of the receiver or zone (can be "on" or "standby")
+ - volume_level - Reports the current volume level of the receiver or zone (between -80.0 and +15 dB)
+
Implementator's note
@@ -1187,8 +1198,9 @@ mute off
Aktuell stehen folgende Parameter zur Verfügung welche den aktuellen Status des Receivers zurück geben.
- power - Betriebszustand des Receiveres/Zone (on oder off)
+ power - Betriebszustand des Receiveres/Zone (on oder standby)
input - Gewählter Eingang
+ input_name - Bezeichnung des gewählten Einganges wie im Display des Receivers
mute - Lautlos an oder aus (on oder off)
volume_level - Lautstärkepegel in dB
@@ -1213,6 +1225,15 @@ mute off
Als Beispiel bedeutet der Wert 2 dass innerhalb von 2 Sekunden die Lautstärkeanpassung durchgeführt werden soll.
Der Wert 0 bedeutet, dass die Anpassung so schnell wie möglich geschehen soll. Der Standardwert ist 0.
+
+ Generierte Readings/Events:
+
+ - input - Der ausgewählte Eingang entsprechend dem FHEM-Kommando
+ - input_name - Die Eingangsbezeichnung, so wie sie am Receiver eingestellt wurde und auf dem Display erscheint
+ - mute - Der aktuelle Stumm-Status("on" => Stumm, "off" => Laut)
+ - power - Der aktuelle Betriebsstatuse ("on" => an, "off" => aus)
+ - volume_level - Der aktuelle Lautstärkepegel (zwischen -80.0 und +15 dB)
+
Hinweise des Autors