mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-02-07 16:59:18 +00:00
98_HMInfo:improve update function - update actiondetector and vccu implicite
git-svn-id: https://svn.fhem.de/fhem/trunk@17311 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
bb953ab010
commit
1fc8aee772
@ -1,4 +1,5 @@
|
|||||||
##############################################
|
##############################################
|
||||||
|
##############################################
|
||||||
# $Id$
|
# $Id$
|
||||||
package main;
|
package main;
|
||||||
use strict;
|
use strict;
|
||||||
@ -233,6 +234,14 @@ sub HMinfo_status($){##########################################################
|
|||||||
my %errFltN;
|
my %errFltN;
|
||||||
my %err;
|
my %err;
|
||||||
|
|
||||||
|
if(defined $modules{CUL_HM}{defptr}{"000000"}){ #update action detector
|
||||||
|
CUL_HM_Set($defs{$modules{CUL_HM}{defptr}{"000000"}{NAME}},
|
||||||
|
$modules{CUL_HM}{defptr}{"000000"}{NAME},"update");
|
||||||
|
}
|
||||||
|
foreach(devspec2array("TYPE=CUL_HM:FILTER=model=CCU-FHEM:FILTER=DEF=......")){
|
||||||
|
CUL_HM_Set($defs{$_}, $_,"update"); #update all ccu devices
|
||||||
|
}
|
||||||
|
|
||||||
foreach (@erro){ #prepare reading filter for error counts
|
foreach (@erro){ #prepare reading filter for error counts
|
||||||
my ($p,@a) = split ":",$_;
|
my ($p,@a) = split ":",$_;
|
||||||
$errFlt{$p}{x}=1; # add at least one reading
|
$errFlt{$p}{x}=1; # add at least one reading
|
||||||
|
Loading…
x
Reference in New Issue
Block a user