From 300f868fec7ec471368944a72bcb79f0d62cd5c3 Mon Sep 17 00:00:00 2001
From: damian-s <>
Date: Tue, 3 Nov 2015 19:43:23 +0000
Subject: [PATCH] 98_DOIF.pm: fixed: wait with microseconds
git-svn-id: https://svn.fhem.de/fhem/trunk@9766 2b470e98-0d58-463d-a4d8-8e2adae1ed80
---
fhem/FHEM/98_DOIF.pm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/fhem/FHEM/98_DOIF.pm b/fhem/FHEM/98_DOIF.pm
index 257809cfe..f1707cac9 100644
--- a/fhem/FHEM/98_DOIF.pm
+++ b/fhem/FHEM/98_DOIF.pm
@@ -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
define dummy Wochentag
set Wochentag 135
-define di_radio DOIF ([06:30|[Wochentag]] (set radio on) DOELSEIF ([07:30|[Wochentag]]) (set radio off)
+define di_radio DOIF ([06:30|[Wochentag]]) (set radio on) DOELSEIF ([07:30|[Wochentag]]) (set radio off)
Zeitsteuerung mit Zeitintervallen