From 82bf1c31915344056a0be82e149fa4489c11bd79 Mon Sep 17 00:00:00 2001 From: Marko Oldenburg Date: Sat, 5 Nov 2016 14:55:48 +0100 Subject: [PATCH] =?UTF-8?q?l=C3=B6sche=20alle=20Routinen=20ausser=20autocr?= =?UTF-8?q?eate?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 73_NUKIBridge.pm | 4 ++-- 74_NUKIDevice.pm | 16 ++++++++-------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/73_NUKIBridge.pm b/73_NUKIBridge.pm index 38abe37..c73238c 100644 --- a/73_NUKIBridge.pm +++ b/73_NUKIBridge.pm @@ -46,7 +46,7 @@ use JSON; use HttpUtils; -my $version = "0.3.9"; +my $version = "0.3.11"; @@ -324,7 +324,7 @@ sub NUKIBridge_firstRun($) { RemoveInternalTimer($hash); NUKIBridge_Call($hash,$hash,"list",undef,undef) if( !IsDisabled($name) ); - InternalTimer( gettimeofday()+3, "NUKIBridge_GetCheckBridgeAlive", $hash, 1 ); + #InternalTimer( gettimeofday()+3, "NUKIBridge_GetCheckBridgeAlive", $hash, 1 ); Log3 $name, 4, "NUKIBridge ($name) - Call NUKIBridge_Get" if( !IsDisabled($name) ); diff --git a/74_NUKIDevice.pm b/74_NUKIDevice.pm index d379156..ae6af2e 100644 --- a/74_NUKIDevice.pm +++ b/74_NUKIDevice.pm @@ -33,7 +33,7 @@ use warnings; use JSON; #use Time::HiRes qw(gettimeofday); -my $version = "0.3.7"; +my $version = "0.3.11"; @@ -120,11 +120,11 @@ sub NUKIDevice_Define($$) { RemoveInternalTimer($hash); - if( $init_done ) { - NUKIDevice_GetUpdateInternalTimer($hash); - } else { - InternalTimer(gettimeofday()+20, "NUKIDevice_GetUpdateInternalTimer", $hash, 0); - } + #if( $init_done ) { + # NUKIDevice_GetUpdateInternalTimer($hash); + #} else { + # InternalTimer(gettimeofday()+20, "NUKIDevice_GetUpdateInternalTimer", $hash, 0); + #} return undef; } @@ -253,8 +253,8 @@ sub NUKIDevice_GetUpdateInternalTimer($) { my $name = $hash->{NAME}; - NUKIDevice_GetUpdate($hash); - Log3 $name, 5, "NUKIDevice ($name) - Call NUKIDevice_GetUpdate"; + #NUKIDevice_GetUpdate($hash); + #Log3 $name, 5, "NUKIDevice ($name) - Call NUKIDevice_GetUpdate"; RemoveInternalTimer($hash); #InternalTimer(gettimeofday()+$hash->{INTERVAL}, "NUKIDevice_GetUpdateInternalTimer", $hash, 0) if( $hash->{INTERVAL} );