mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-03 16:56:54 +00:00
HMCCU: Optimized reading update performance
git-svn-id: https://svn.fhem.de/fhem/trunk@13900 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
eedc05ffab
commit
585a15ae1a
@ -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.
|
||||||
|
- update: 88_HMCCU: Optimized reading update performance
|
||||||
- feature: 00_SONOS: New lists for groupinformations
|
- feature: 00_SONOS: New lists for groupinformations
|
||||||
- bugfix: 88_HMCCU: Fixed toggle function for HMCCUCHN devices
|
- bugfix: 88_HMCCU: Fixed toggle function for HMCCUCHN devices
|
||||||
- change: 93_DbLog: new version 2.14.4, new set-commands exportCache,
|
- change: 93_DbLog: new version 2.14.4, new set-commands exportCache,
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
#
|
#
|
||||||
# $Id$
|
# $Id$
|
||||||
#
|
#
|
||||||
# Version 3.9.012
|
# Version 3.9.013
|
||||||
#
|
#
|
||||||
# Module for communication between FHEM and Homematic CCU2.
|
# Module for communication between FHEM and Homematic CCU2.
|
||||||
# Supports BidCos-RF, BidCos-Wired, HmIP-RF, virtual CCU channels,
|
# Supports BidCos-RF, BidCos-Wired, HmIP-RF, virtual CCU channels,
|
||||||
@ -101,7 +101,7 @@ my %HMCCU_CUST_CHN_DEFAULTS;
|
|||||||
my %HMCCU_CUST_DEV_DEFAULTS;
|
my %HMCCU_CUST_DEV_DEFAULTS;
|
||||||
|
|
||||||
# HMCCU version
|
# HMCCU version
|
||||||
my $HMCCU_VERSION = '3.9.012';
|
my $HMCCU_VERSION = '3.9.013';
|
||||||
|
|
||||||
# RPC Ports and URL extensions
|
# RPC Ports and URL extensions
|
||||||
my %HMCCU_RPC_NUMPORT = (
|
my %HMCCU_RPC_NUMPORT = (
|
||||||
@ -2203,9 +2203,9 @@ sub HMCCU_UpdateSingleDevice ($$$)
|
|||||||
|
|
||||||
# Check for updated data
|
# Check for updated data
|
||||||
my ($devaddr, $cnum) = HMCCU_SplitChnAddr ($clthash->{ccuaddr});
|
my ($devaddr, $cnum) = HMCCU_SplitChnAddr ($clthash->{ccuaddr});
|
||||||
# return 0 if (!exists ($objects->{$devaddr}));
|
return 0 if (!exists ($objects->{$devaddr}));
|
||||||
# return 0 if ($clttype eq 'HMCUCCHN' && !exists ($objects->{$devaddr}{$cnum}) &&
|
return 0 if ($clttype eq 'HMCUCCHN' && !exists ($objects->{$devaddr}{$cnum}) &&
|
||||||
# !exists ($objects->{$devaddr}{0}));
|
!exists ($objects->{$devaddr}{0}));
|
||||||
|
|
||||||
# Get attributes of IO device
|
# Get attributes of IO device
|
||||||
my $ccuflags = AttrVal ($ccuname, 'ccuflags', 'null');
|
my $ccuflags = AttrVal ($ccuname, 'ccuflags', 'null');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user