98_DOIF.pm: fixed: wait with microseconds

git-svn-id: https://svn.fhem.de/fhem/trunk@9766 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
damian-s
2015-11-03 19:43:23 +00:00
parent 0d33e86cdf
commit 50f61a7f4b

View File

@@ -1124,7 +1124,7 @@ DOIF_SetSleepTimer($$$$$$)
}
}
if ($sleeptime) {
my ($seconds, $microseconds) = gettimeofday();
my $seconds = gettimeofday();
my $next_time = $seconds+$sleeptime;
$hash->{helper}{sleeptimer}=$nr;
$hash->{helper}{sleepsubtimer}=$subnr;
@@ -1619,7 +1619,7 @@ Anstatt einer Zifferkombination kann ein Status oder Reading in eckigen Klammern
<code>define dummy Wochentag<br>
set Wochentag 135<br>
<br>
define di_radio DOIF ([06:30|[Wochentag]] (set radio on) DOELSEIF ([07:30|[Wochentag]]) (set radio off)</code><br>
define di_radio DOIF ([06:30|[Wochentag]]) (set radio on) DOELSEIF ([07:30|[Wochentag]]) (set radio off)</code><br>
<br>
<b>Zeitsteuerung mit Zeitintervallen</b><br>
<br>