mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
71_YAMAHA_NP: Added model attribute
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@11077 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
012b500abb
commit
13b7557a7f
2
CHANGED
2
CHANGED
@ -1,5 +1,7 @@
|
|||||||
# 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 71_PHILIPS_AUDIO Added model attribute
|
||||||
|
- feature 71_YAMAHA_NP Added model attribute
|
||||||
- feature 71_YAMAHA_NP: Smooth volume change added. General code cleanup
|
- feature 71_YAMAHA_NP: Smooth volume change added. General code cleanup
|
||||||
- change: 49_SSCAM: routine "initonboot" changed
|
- change: 49_SSCAM: routine "initonboot" changed
|
||||||
- bugfix: 49_SSCAM: default recordtime 15 s is used if attribute "rectime"
|
- bugfix: 49_SSCAM: default recordtime 15 s is used if attribute "rectime"
|
||||||
|
@ -368,6 +368,9 @@ sub PHILIPS_AUDIO_Define
|
|||||||
if(defined($a[2]))
|
if(defined($a[2]))
|
||||||
{
|
{
|
||||||
$hash->{MODEL} = $a[2];
|
$hash->{MODEL} = $a[2];
|
||||||
|
|
||||||
|
# Used by 'fheminfo' command for statistics
|
||||||
|
$attr{$name}{"model"} = $hash->{MODEL};
|
||||||
}
|
}
|
||||||
|
|
||||||
$hash->{IP_ADDRESS} = $a[3];
|
$hash->{IP_ADDRESS} = $a[3];
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
# Some features may be unavailable.
|
# Some features may be unavailable.
|
||||||
# (Online check for new firmware was excluded intentionally.)
|
# (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.
|
# This file is part of fhem.
|
||||||
#
|
#
|
||||||
@ -1090,9 +1090,10 @@ sub YAMAHA_NP_ParseResponse
|
|||||||
$hash->{helper}{VOLUMESTRAIGHTMIN} = $4;
|
$hash->{helper}{VOLUMESTRAIGHTMIN} = $4;
|
||||||
$hash->{helper}{VOLUMESTRAIGHTMAX} = $5;
|
$hash->{helper}{VOLUMESTRAIGHTMAX} = $5;
|
||||||
$hash->{helper}{VOLUMESTRAIGHTSTEP} = $6;
|
$hash->{helper}{VOLUMESTRAIGHTSTEP} = $6;
|
||||||
}
|
|
||||||
|
# Used by 'fheminfo' command for statistics
|
||||||
#$attr{$name}{"model"} = $hash->{MODEL};
|
$attr{$name}{"model"} = $hash->{MODEL};
|
||||||
|
}
|
||||||
}
|
}
|
||||||
elsif($arg eq "getInputs")
|
elsif($arg eq "getInputs")
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user