mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 18:59:33 +00:00
98_BOSEST: changed reading name type to model
git-svn-id: https://svn.fhem.de/fhem/trunk@14882 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
32d16099c9
commit
d7eaa1842f
@ -7,10 +7,13 @@
|
||||
# FHEM module to communicate with BOSE SoundTouch system
|
||||
# API as defined in BOSE SoundTouchAPI_WebServices_v1.0.1.pdf
|
||||
#
|
||||
# Version: 2.1.0
|
||||
# Version: 2.1.1
|
||||
#
|
||||
#############################################################
|
||||
#
|
||||
# v2.1.1 - 20170812
|
||||
# - CHANGE: changed reading name type to model
|
||||
#
|
||||
# v2.1.0 - 20170129
|
||||
# - NEW REQUIREMENT: TTS: sox, libsox-fmt-mp3 (only required for TTS)
|
||||
# - FEATURE: TTS: add 1 second silence before TTS message for speak to
|
||||
@ -331,7 +334,7 @@ sub BOSEST_Define($$) {
|
||||
$hash->{helper}{supportedBassCmds} = "";
|
||||
|
||||
if (int(@a) < 3) {
|
||||
Log3 $hash, 3, "BOSEST: BOSE SoundTouch v2.1.0";
|
||||
Log3 $hash, 3, "BOSEST: BOSE SoundTouch v2.1.1";
|
||||
#start discovery process 30s delayed
|
||||
InternalTimer(gettimeofday()+30, "BOSEST_startDiscoveryProcess", $hash, 0);
|
||||
|
||||
@ -1826,7 +1829,7 @@ sub BOSEST_parseAndUpdateInfo($$) {
|
||||
$info->{name} = Encode::encode('UTF-8', $info->{name});
|
||||
readingsBeginUpdate($hash);
|
||||
BOSEST_XMLUpdate($hash, "deviceName", $info->{name});
|
||||
BOSEST_XMLUpdate($hash, "type", $info->{type});
|
||||
BOSEST_XMLUpdate($hash, "model", $info->{type});
|
||||
BOSEST_XMLUpdate($hash, "deviceID", $info->{deviceID});
|
||||
BOSEST_XMLUpdate($hash, "softwareVersion", $info->{components}->{component}[0]->{softwareVersion});
|
||||
readingsEndUpdate($hash, 1);
|
||||
|
Loading…
Reference in New Issue
Block a user