From a2e5d0cbc94973db729eb44854fb866487146c10 Mon Sep 17 00:00:00 2001 From: martinp876 <> Date: Sun, 24 Aug 2014 10:13:41 +0000 Subject: [PATCH] powermeter powerOn detection git-svn-id: https://svn.fhem.de/fhem/trunk@6449 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/10_CUL_HM.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fhem/FHEM/10_CUL_HM.pm b/fhem/FHEM/10_CUL_HM.pm index 8bf23c407..40e2f030e 100755 --- a/fhem/FHEM/10_CUL_HM.pm +++ b/fhem/FHEM/10_CUL_HM.pm @@ -1776,7 +1776,7 @@ sub CUL_HM_Parse($$) {######################################################### push @evtEt,[$defs{$devH->{channel_05}},1,"state:$U" ] if ($devH->{channel_05}); push @evtEt,[$defs{$devH->{channel_06}},1,"state:$F" ] if ($devH->{channel_06}); - if($eCnt == 0 && $mTp eq "5E" && hex($mNo) < 3 ){ + if($eCnt == 0 && hex($mNo) < 3 ){ push @evtEt,[$devH,1,"powerOn:$tn"]; my $eo = ReadingsVal($shash->{NAME},"energy",0)+ ReadingsVal($shash->{NAME},"energyOffset",0);