2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 18:59:33 +00:00

PIONEERAVR: bugfix: set StatusRequest now updates the input names. This is important if you start Fhem when the PioneerAVR is not accessible via network. As soon as the connection is established also the input names are reread

git-svn-id: https://svn.fhem.de/fhem/trunk@8612 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
hofrichter 2015-05-20 22:13:38 +00:00
parent 5742df6b15
commit 5462350e80
2 changed files with 4 additions and 4 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.
- bugfix: 70_PIONEERAVR: set statusRequest updates now input names
- feature: 30_pilight_dimmer: up|down commands to change the dimlevel
- bugfix: 76_MSGMail: Add MSGMail_Attr()
- feature: 70_PIONEERAVR: new set <dev> hdmiOut <1/2>to switch hdmi outputs

View File

@ -803,10 +803,8 @@ PIONEERAVR_Define($$) {
#### statusRequest
# Update Input alias names, available and enabled Inputs
# This updates $hash->{helper}{INPUTNAMES}
PIONEERAVR_askForInputNames($hash,5);
#### we execute all 'get <name> XXX'
# This updates $hash->{helper}{INPUTNAMES}
#### Additionally we execute all 'get <name> XXX'
PIONEERAVR_statusUpdate($hash);
return $ret;
@ -2118,6 +2116,7 @@ sub PIONEERAVR_statusUpdate($) {
select(undef, undef, undef, 0.1);
}
}
PIONEERAVR_askForInputNames($hash,5);
}
#########################################################
sub PIONEERAVR_askForInputNames($$) {