2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-10 09:16:53 +00:00

70_DENON_AVR: more surround modes, commands, and readings

git-svn-id: https://svn.fhem.de/fhem/trunk@21248 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
delmar 2020-02-22 20:56:22 +00:00
parent 9531772bef
commit da1d77adff
2 changed files with 46 additions and 17 deletions

View File

@ -1,5 +1,6 @@
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide. # 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. # Do not insert empty lines here, update check depends on it.
- feature: 70_DENON_AVR: more surround modes, commands, and readings
- feature: 37_NotifyAndroidTV.pm added fontsize parameter - feature: 37_NotifyAndroidTV.pm added fontsize parameter
- change: 73_DoorBird: Added wiki link - change: 73_DoorBird: Added wiki link
- feature: 39_alexa.pm: support for proactive event reporting - feature: 39_alexa.pm: support for proactive event reporting

View File

@ -525,25 +525,33 @@ my $DENON_db = {
}, },
}, },
'SLP' => { #sleep-Mode 'SLP' => { #sleep-Mode
'10min' => '010', '10min' => '010',
'15min' => '015', '15min' => '015',
'30min' => '030', '30min' => '030',
'40min' => '040', '40min' => '040',
'50min' => '050', '50min' => '050',
'60min' => '060', '60min' => '060',
'70min' => '070', '70min' => '070',
'80min' => '080', '80min' => '080',
'90min' => '090', '90min' => '090',
'100min' => '100', '100min' => '100',
'110min' => '110', '110min' => '110',
'120min' => '120', '120min' => '120',
'off' => 'OFF', 'off' => 'OFF',
}, },
'STBY' => { #autoStandby-Mode 'STBY' => { #autoStandby-Mode
'15min' => '15M', '15min' => '15M',
'30min' => '30M', '30min' => '30M',
'60min' => '60M', '60min' => '60M',
'off' => 'OFF', 'off' => 'OFF',
},
'SSALSSET' => { #AutoLipSync
'on' => 'ON',
'off' => 'OFF',
},
'SSVCTZMADIS' => { #Lautstärkeanzeige
'relativ' => 'REL',
'absolute' => 'ABS',
}, },
'SV' => { #Video-Select 'SV' => { #Video-Select
'DVD' => 'DVD', 'DVD' => 'DVD',
@ -1511,6 +1519,26 @@ DENON_AVR_Parse(@)
$return = "volume/volumeStraight ".($volume / 10)."/".($volume / 10 - 80); $return = "volume/volumeStraight ".($volume / 10)."/".($volume / 10 - 80);
$hash->{helper}{volume} = $volume / 10; $hash->{helper}{volume} = $volume / 10;
} }
#Auto-LipSync
elsif ($msg =~ /^SSALSSET ([A-Z]+)/)
{
my $status = DENON_GetKey('SSALSSET', $1);
readingsBulkUpdate($hash, "autoLipSync", $status) if($status ne "unknown");
$return = "autoLipSync ".$status;
}
#Lautstärkeanzeige
elsif ($msg =~ /^SSVCTZMADIS ([A-Z]+)/)
{
my $status = DENON_GetKey('SSVCTZMADIS', $1);
readingsBulkUpdate($hash, "volumeDisplayType", $status) if($status ne "unknown");
$return = "volumeDisplayType ".$status;
}
#Einschaltlautstärke
elsif ($msg =~ /^SSVCTZMAPON (.+)/)
{
readingsBulkUpdate($hash, "volumePowerOn", $1.$percent);
$return = "volumePowerOn ".$1;
}
#Sound Parameter #Sound Parameter
elsif ($msg =~ /^PS(.+)/) elsif ($msg =~ /^PS(.+)/)
{ {