From be1d275151df626549f467c23a0356220382e223 Mon Sep 17 00:00:00 2001 From: betateilchen <> Date: Thu, 25 May 2017 13:53:13 +0000 Subject: [PATCH] fheminfo2: add debug code git-svn-id: https://svn.fhem.de/fhem/trunk@14364 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/contrib/statistics/98_fheminfo2.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fhem/contrib/statistics/98_fheminfo2.pm b/fhem/contrib/statistics/98_fheminfo2.pm index 6c670aa20..4ce0093a7 100644 --- a/fhem/contrib/statistics/98_fheminfo2.pm +++ b/fhem/contrib/statistics/98_fheminfo2.pm @@ -85,6 +85,8 @@ sub _fi2_Count() { $model = AttrVal($name,'model',$model); # $model = ReadingsVal($name,'type',$model); $model = ReadingsVal($name,'model',$model); +my $debug = "Name: $name Model: $model chanNo: "; +$debug .= if(defined($defs{$key}{'chanNo'})); $fhemInfo{$type}{$model}++ unless defined($defs{$key}{'chanNo'}); # exclude Homematic channels }