diff --git a/fhem/CHANGED b/fhem/CHANGED index af14f3f34..385aa1770 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. + - feature 71_PHILIPS_AUDIO Added model attribute + - feature 71_YAMAHA_NP Added model attribute - feature 71_YAMAHA_NP: Smooth volume change added. General code cleanup - change: 49_SSCAM: routine "initonboot" changed - bugfix: 49_SSCAM: default recordtime 15 s is used if attribute "rectime" diff --git a/fhem/FHEM/71_PHILIPS_AUDIO.pm b/fhem/FHEM/71_PHILIPS_AUDIO.pm index 4b457b1b6..2e0a19ec5 100755 --- a/fhem/FHEM/71_PHILIPS_AUDIO.pm +++ b/fhem/FHEM/71_PHILIPS_AUDIO.pm @@ -368,6 +368,9 @@ sub PHILIPS_AUDIO_Define if(defined($a[2])) { $hash->{MODEL} = $a[2]; + + # Used by 'fheminfo' command for statistics + $attr{$name}{"model"} = $hash->{MODEL}; } $hash->{IP_ADDRESS} = $a[3]; diff --git a/fhem/FHEM/71_YAMAHA_NP.pm b/fhem/FHEM/71_YAMAHA_NP.pm index 6ce65d0af..6e30c14dd 100644 --- a/fhem/FHEM/71_YAMAHA_NP.pm +++ b/fhem/FHEM/71_YAMAHA_NP.pm @@ -23,7 +23,7 @@ # Some features may be unavailable. # (Online check for new firmware was excluded intentionally.) # -# Copyright by Radoslaw Watroba (ra666ack @ t 9 m @ 1 l d 0 t c 0 m) +# Copyright by Radoslaw Watroba (ra666ack a t 9 m a 1 l d 0 t c 0 m) # # This file is part of fhem. # @@ -1090,9 +1090,10 @@ sub YAMAHA_NP_ParseResponse $hash->{helper}{VOLUMESTRAIGHTMIN} = $4; $hash->{helper}{VOLUMESTRAIGHTMAX} = $5; $hash->{helper}{VOLUMESTRAIGHTSTEP} = $6; - } - - #$attr{$name}{"model"} = $hash->{MODEL}; + + # Used by 'fheminfo' command for statistics + $attr{$name}{"model"} = $hash->{MODEL}; + } } elsif($arg eq "getInputs") {