From 5f3493e7fd0c0e5016de9d34ced5b4756c212e62 Mon Sep 17 00:00:00 2001 From: rudolfkoenig <> Date: Mon, 25 Jan 2016 07:40:33 +0000 Subject: [PATCH] 98_update.pm: update event patch (Forum #47976) git-svn-id: https://svn.fhem.de/fhem/trunk@10617 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/98_update.pm | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/fhem/FHEM/98_update.pm b/fhem/FHEM/98_update.pm index b49203963..255fe41dc 100644 --- a/fhem/FHEM/98_update.pm +++ b/fhem/FHEM/98_update.pm @@ -218,11 +218,13 @@ doUpdateLoop($$) doUpdate(++$curr, $max, $srcLine, $arg); HttpUtils_Close(\%upd_connecthash); } - - if($updateInBackground) { - BlockingInformParent("DoTrigger", ["global", "UPDATE", 0 ], 0) - } else { - DoTrigger("global","UPDATE", 0); + + if($upd_nChanged) { + if($updateInBackground) { + BlockingInformParent("DoTrigger", ["global", "UPDATE", 0 ], 0) + } else { + DoTrigger("global","UPDATE", 0); + } } }