diff --git a/fhem/CHANGED b/fhem/CHANGED index 2a18ca03a..140968fd2 100644 --- a/fhem/CHANGED +++ b/fhem/CHANGED @@ -1,6 +1,8 @@ # Add changes at the top of the list. Keep it in ASCII, and 80-char wide. # Do not insert empty lines here, update check depends on it. - SVN + - bugfix: YAMAHA_AVR: fix missing greater-than sign. Use different + Control-Tag name for RX-Vx75 series - bugfix: PRESENCE: fixing not working re-initialization when disabled attribute is set to 0 in lan-bluetooth mode - feature: LightScene: added attribute lightSceneParamsToSave for diff --git a/fhem/FHEM/71_YAMAHA_AVR.pm b/fhem/FHEM/71_YAMAHA_AVR.pm index 5c042883a..1a93fb3f6 100755 --- a/fhem/FHEM/71_YAMAHA_AVR.pm +++ b/fhem/FHEM/71_YAMAHA_AVR.pm @@ -217,6 +217,7 @@ YAMAHA_AVR_Set($@) my $inputs_piped = defined($hash->{helper}{INPUTS}) ? YAMAHA_AVR_InputParam2Fhem(lc($hash->{helper}{INPUTS}), 0) : "" ; my $inputs_comma = defined($hash->{helper}{INPUTS}) ? YAMAHA_AVR_InputParam2Fhem(lc($hash->{helper}{INPUTS}), 1) : "" ; + my $scenes_piped = defined($hash->{helper}{SCENES}) ? YAMAHA_AVR_InputParam2Fhem(lc($hash->{helper}{SCENES}), 0) : "" ; my $scenes_comma = defined($hash->{helper}{SCENES}) ? YAMAHA_AVR_InputParam2Fhem(lc($hash->{helper}{SCENES}), 1) : "" ; @@ -451,41 +452,45 @@ YAMAHA_AVR_Set($@) } elsif($what eq "remoteControl") { + + # the RX-Vx75 series use a different tag name to access the remoteControl commands + my $control_tag = ($hash->{MODEL} =~ /RX-V\d75/ ? "Cursor_Control" : "List_Control"); + if($a[2] eq "up") { - YAMAHA_AVR_SendCommand($hash, "<$zone>Up"); + YAMAHA_AVR_SendCommand($hash, "<$zone><$control_tag>Up"); } elsif($a[2] eq "down") { - YAMAHA_AVR_SendCommand($hash, "<$zone>Down"); + YAMAHA_AVR_SendCommand($hash, "<$zone><$control_tag>Down"); } elsif($a[2] eq "left") { - YAMAHA_AVR_SendCommand($hash, "<$zone>Left"); + YAMAHA_AVR_SendCommand($hash, "<$zone><$control_tag>Left"); } elsif($a[2] eq "right") { - YAMAHA_AVR_SendCommand($hash, "<$zone>Right"); + YAMAHA_AVR_SendCommand($hash, "<$zone><$control_tag>Right"); } elsif($a[2] eq "display") { - YAMAHA_AVR_SendCommand($hash,"<$zone>Display"); + YAMAHA_AVR_SendCommand($hash,"<$zone><$control_tag>Display"); } elsif($a[2] eq "return") { - YAMAHA_AVR_SendCommand($hash,"<$zone>Return"); + YAMAHA_AVR_SendCommand($hash,"<$zone><$control_tag>Return"); } elsif($a[2] eq "enter") { - YAMAHA_AVR_SendCommand($hash,"<$zone>Sel"); + YAMAHA_AVR_SendCommand($hash,"<$zone><$control_tag>Sel"); } elsif($a[2] eq "setup") { - YAMAHA_AVR_SendCommand($hash,"<$zone>On Screen<$zone><$control_tag>On Screen"); } elsif($a[2] eq "option") { - YAMAHA_AVR_SendCommand($hash,"<$zone>Option"); + YAMAHA_AVR_SendCommand($hash,"<$zone><$control_tag>Option"); } elsif($a[2] eq "tunerPresetUp") {