From 1d49e7fd936be1939c50735ae8d38fc665e0732c Mon Sep 17 00:00:00 2001 From: markusbloch Date: Fri, 16 Oct 2015 07:46:56 +0000 Subject: [PATCH] YAMAHA_AVR: fixing not working remoteControl commands for several models (Forum: #41763) git-svn-id: https://svn.fhem.de/fhem/trunk@9462 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/CHANGED | 2 ++ fhem/FHEM/71_YAMAHA_AVR.pm | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/fhem/CHANGED b/fhem/CHANGED index b76c931ce..d482076b4 100644 --- a/fhem/CHANGED +++ b/fhem/CHANGED @@ -1,5 +1,7 @@ # 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. + - bugfix: YAMAHA_AVR: fixing not working remoteControl commands for + several models - feature: PRESENCE: support for Solaris ping (mode: local-ping) - feature: HUEbridge: added support for HUE scenes (get: scenes; set: savescene, modifyscene, scene) diff --git a/fhem/FHEM/71_YAMAHA_AVR.pm b/fhem/FHEM/71_YAMAHA_AVR.pm index 0f5f1bdd5..8fb2ef8d0 100755 --- a/fhem/FHEM/71_YAMAHA_AVR.pm +++ b/fhem/FHEM/71_YAMAHA_AVR.pm @@ -642,8 +642,8 @@ YAMAHA_AVR_Set($@) } elsif($what eq "remoteControl") { - # the RX-Vx75 series use a different tag name to access the remoteControl commands - my $control_tag = (exists($hash->{MODEL}) and $hash->{MODEL} =~ /RX-V\d75/ ? "Cursor_Control" : "List_Control"); + # the RX-Vx71, RX-Vx73, RX-Ax10, RX-Ax20 series use a different tag name to access the remoteControl commands + my $control_tag = (exists($hash->{MODEL}) and $hash->{MODEL} =~ /^(RX-V\d{1,2}7(1|3)|RX-A\d{1,2}(1|2)0)$/ ? "List_Control" : "Cursor_Control"); if($a[2] eq "up") {