diff --git a/fhem/FHEM/71_YAMAHA_AVR.pm b/fhem/FHEM/71_YAMAHA_AVR.pm index 6087d0be0..b86299c03 100755 --- a/fhem/FHEM/71_YAMAHA_AVR.pm +++ b/fhem/FHEM/71_YAMAHA_AVR.pm @@ -93,7 +93,7 @@ YAMAHA_AVR_GetStatus($;$) if(not defined($zone)) { - InternalTimer(gettimeofday()+$hash->{helper}{INTERVAL}, "YAMAHA_AVR_GetStatus", $hash, 1) unless($local == 1); + InternalTimer(gettimeofday()+$hash->{helper}{INTERVAL}, "YAMAHA_AVR_GetStatus", $hash, 0) unless($local == 1); return "No Zone available"; } @@ -103,7 +103,7 @@ YAMAHA_AVR_GetStatus($;$) if(not defined($return) or $return eq "") { - InternalTimer(gettimeofday()+$hash->{helper}{INTERVAL}, "YAMAHA_AVR_GetStatus", $hash, 1) unless($local == 1); + InternalTimer(gettimeofday()+$hash->{helper}{INTERVAL}, "YAMAHA_AVR_GetStatus", $hash, 0) unless($local == 1); return; } @@ -150,7 +150,7 @@ YAMAHA_AVR_GetStatus($;$) readingsEndUpdate($hash, 1); - InternalTimer(gettimeofday()+$hash->{helper}{INTERVAL}, "YAMAHA_AVR_GetStatus", $hash, 1) unless($local == 1); + InternalTimer(gettimeofday()+$hash->{helper}{INTERVAL}, "YAMAHA_AVR_GetStatus", $hash, 0) unless($local == 1); Log GetLogLevel($name,4), "YAMAHA_AVR $name: $hash->{STATE}"; diff --git a/fhem/FHEM/73_PRESENCE.pm b/fhem/FHEM/73_PRESENCE.pm index 8c8e637bd..bb6e9f729 100755 --- a/fhem/FHEM/73_PRESENCE.pm +++ b/fhem/FHEM/73_PRESENCE.pm @@ -130,7 +130,7 @@ PRESENCE_Define($$) $hash->{MODE} = $destination; RemoveInternalTimer($hash); - InternalTimer(gettimeofday()+2, "PRESENCE_StartLocalScan", $hash, 1) unless(exists($hash->{helper}{DISABLED}) and $hash->{helper}{DISABLED}); + InternalTimer(gettimeofday()+2, "PRESENCE_StartLocalScan", $hash, 0) unless(exists($hash->{helper}{DISABLED}) and $hash->{helper}{DISABLED}); return; } @@ -519,7 +519,7 @@ PRESENCE_ProcessLocalScan($) #Schedule the next check withing $timeout RemoveInternalTimer($hash); - InternalTimer(gettimeofday()+$hash->{TIMEOUT}, "PRESENCE_StartLocalScan", $hash, 1) unless($hash->{helper}{DISABLED}); + InternalTimer(gettimeofday()+$hash->{TIMEOUT}, "PRESENCE_StartLocalScan", $hash, 0) unless($hash->{helper}{DISABLED}); } 1;