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