From 60a0aceac1409b24dc633adecef1c88e3cd18c19 Mon Sep 17 00:00:00 2001 From: zap <> Date: Wed, 3 Oct 2018 08:31:41 +0000 Subject: [PATCH] HMCCU: Detection of non standard addresses git-svn-id: https://svn.fhem.de/fhem/trunk@17454 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/CHANGED | 1 + fhem/FHEM/88_HMCCU.pm | 9 +++++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/fhem/CHANGED b/fhem/CHANGED index 2a6605a7e..729c8c831 100644 --- a/fhem/CHANGED +++ b/fhem/CHANGED @@ -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 diff --git a/fhem/FHEM/88_HMCCU.pm b/fhem/FHEM/88_HMCCU.pm index b559cb6bf..683a36d02 100755 --- a/fhem/FHEM/88_HMCCU.pm +++ b/fhem/FHEM/88_HMCCU.pm @@ -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; + } } }