2
0
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:
zap 2018-10-03 08:31:41 +00:00
parent 49e5fe4eca
commit 60a0aceac1
2 changed files with 8 additions and 2 deletions

View File

@ -1,5 +1,6 @@
# 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.
- bugfix: 88_HMCCU: Detection of non standard addresses
- feature: 93_Log2Syslog: TCP-Server in Collector-mode / SSL-support and a - feature: 93_Log2Syslog: TCP-Server in Collector-mode / SSL-support and a
lot more, pls. see new get versionNotes command lot more, pls. see new get versionNotes command
for further Information for further Information

View File

@ -4,7 +4,7 @@
# #
# $Id$ # $Id$
# #
# Version 4.3.003 # Version 4.3.004
# #
# Module for communication between FHEM and Homematic CCU2. # Module for communication between FHEM and Homematic CCU2.
# #
@ -108,7 +108,7 @@ my %HMCCU_CUST_CHN_DEFAULTS;
my %HMCCU_CUST_DEV_DEFAULTS; my %HMCCU_CUST_DEV_DEFAULTS;
# HMCCU version # HMCCU version
my $HMCCU_VERSION = '4.3.003'; my $HMCCU_VERSION = '4.3.004';
# Default RPC port (BidCos-RF) # Default RPC port (BidCos-RF)
my $HMCCU_RPC_PORT_DEFAULT = 2001; my $HMCCU_RPC_PORT_DEFAULT = 2001;
@ -4438,8 +4438,13 @@ sub HMCCU_GetCCUDeviceParam ($$)
} }
else { else {
if (exists ($hash->{hmccu}{adr}{$param})) { if (exists ($hash->{hmccu}{adr}{$param})) {
# param is a device name
$add = $hash->{hmccu}{adr}{$param}{address}; $add = $hash->{hmccu}{adr}{$param}{address};
} }
elsif (exists ($hash->{hmccu}{dev}{$param})) {
# param is a non standard device or channel address
$add = $param;
}
} }
} }