mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-10 08:04:00 +00:00
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:
parent
21db7a8b01
commit
300f868fec
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user