mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-22 08:11:44 +00:00
HMCCU: Detection of non standard addresses
git-svn-id: https://svn.fhem.de/fhem/trunk@17454 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
49e5fe4eca
commit
60a0aceac1
@ -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: 88_HMCCU: Detection of non standard addresses
|
||||
- feature: 93_Log2Syslog: TCP-Server in Collector-mode / SSL-support and a
|
||||
lot more, pls. see new get versionNotes command
|
||||
for further Information
|
||||
|
@ -4,7 +4,7 @@
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
# Version 4.3.003
|
||||
# Version 4.3.004
|
||||
#
|
||||
# Module for communication between FHEM and Homematic CCU2.
|
||||
#
|
||||
@ -108,7 +108,7 @@ my %HMCCU_CUST_CHN_DEFAULTS;
|
||||
my %HMCCU_CUST_DEV_DEFAULTS;
|
||||
|
||||
# HMCCU version
|
||||
my $HMCCU_VERSION = '4.3.003';
|
||||
my $HMCCU_VERSION = '4.3.004';
|
||||
|
||||
# Default RPC port (BidCos-RF)
|
||||
my $HMCCU_RPC_PORT_DEFAULT = 2001;
|
||||
@ -4438,8 +4438,13 @@ sub HMCCU_GetCCUDeviceParam ($$)
|
||||
}
|
||||
else {
|
||||
if (exists ($hash->{hmccu}{adr}{$param})) {
|
||||
# param is a device name
|
||||
$add = $hash->{hmccu}{adr}{$param}{address};
|
||||
}
|
||||
elsif (exists ($hash->{hmccu}{dev}{$param})) {
|
||||
# param is a non standard device or channel address
|
||||
$add = $param;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user