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.
# 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
- change: 73_DoorBird: Added wiki link
- feature: 39_alexa.pm: support for proactive event reporting

View File

@ -545,6 +545,14 @@ my $DENON_db = {
'60min' => '60M',
'off' => 'OFF',
},
'SSALSSET' => { #AutoLipSync
'on' => 'ON',
'off' => 'OFF',
},
'SSVCTZMADIS' => { #Lautstärkeanzeige
'relativ' => 'REL',
'absolute' => 'ABS',
},
'SV' => { #Video-Select
'DVD' => 'DVD',
'BD' => 'Blu-Ray',
@ -1511,6 +1519,26 @@ DENON_AVR_Parse(@)
$return = "volume/volumeStraight ".($volume / 10)."/".($volume / 10 - 80);
$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
elsif ($msg =~ /^PS(.+)/)
{