diff --git a/fhem/FHEM/71_YAMAHA_AVR.pm b/fhem/FHEM/71_YAMAHA_AVR.pm
index 3a91a671e..4984551bb 100755
--- a/fhem/FHEM/71_YAMAHA_AVR.pm
+++ b/fhem/FHEM/71_YAMAHA_AVR.pm
@@ -205,7 +205,7 @@ YAMAHA_AVR_Set($@)
return "No Argument given" if(!defined($a[1]));
my $what = $a[1];
- my $usage = "Unknown argument $what, choose one of on off volume:slider,-80,1,16 input:".$inputs_comma." mute:on,off statusRequest";
+ my $usage = "Unknown argument $what, choose one of on off volume:slider,-80,1,16 input:".$inputs_comma." mute:on,off remoteControl:setup,up,down,left,right,return,option,display,enter statusRequest";
readingsBeginUpdate($hash);
@@ -251,7 +251,7 @@ YAMAHA_AVR_Set($@)
$command = YAMAHA_AVR_getCommandParam($hash, $a[2]);
if(defined($command) and length($command) > 0)
{
- $result = YAMAHA_AVR_SendCommand($hash, $address,"<$zone>".$command."$zone>");
+ $result = YAMAHA_AVR_SendCommand($hash, "<$zone>".$command."$zone>");
}
else
{
@@ -371,6 +371,49 @@ YAMAHA_AVR_Set($@)
}
}
}
+ elsif($what eq "remoteControl")
+ {
+ if($a[2] eq "up")
+ {
+ YAMAHA_AVR_SendCommand($hash, "<$zone>Up$zone>");
+ }
+ elsif($a[2] eq "down")
+ {
+ YAMAHA_AVR_SendCommand($hash, "<$zone>Down$zone>");
+ }
+ elsif($a[2] eq "left")
+ {
+ YAMAHA_AVR_SendCommand($hash, "<$zone>Left$zone>");
+ }
+ elsif($a[2] eq "right")
+ {
+ YAMAHA_AVR_SendCommand($hash, "<$zone>Right$zone>");
+ }
+ elsif($a[2] eq "display")
+ {
+ YAMAHA_AVR_SendCommand($hash,"<$zone>Display$zone>");
+ }
+ elsif($a[2] eq "return")
+ {
+ YAMAHA_AVR_SendCommand($hash,"<$zone>Return$zone>");
+ }
+ elsif($a[2] eq "enter")
+ {
+ YAMAHA_AVR_SendCommand($hash,"<$zone>Sel$zone>");
+ }
+ elsif($a[2] eq "setup")
+ {
+ YAMAHA_AVR_SendCommand($hash,"<$zone>On Screen$zone><$zone>Option$zone>");
+ }
+ else
+ {
+ return $usage;
+ }
+ }
elsif($what eq "statusRequest")
{
# Will be executed on the end of this function anyway, so no need to call it specificly
@@ -794,6 +837,59 @@ 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)
+
+ In many receiver models, inputs exist, which can't be used just by selecting them. These inputs needs
+ a manual interaction with the remote control to activate the playback (e.g. Internet Radio, Network Streaming).
+ For this application the following commands are available:
+
+ Cursor Selection:
+
+ remoteControl up
+ remoteControl down
+ remoteControl left
+ remoteControl right
+ remoteControl enter
+
Optional attribute to activate a smooth volume change.
@@ -927,6 +1023,57 @@ input server
volume -80..16 (Lautstärke zwischen -80 und +16 dB)
mute on
mute off
+
+
+Fernbedienung (je nach Modell nicht in allen Zonen verfügbar)
+
+ In vielen Receiver-Modellen existieren Eingänge, welche nach der Auswahl keinen Sound ausgeben. Diese Eingänge
+ 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
+