From 5e46ce6bcf0a001ff078fae0837989a55bfb3786 Mon Sep 17 00:00:00 2001 From: Robert Tidey Date: Sat, 24 Oct 2015 21:19:20 +0100 Subject: [PATCH] tweak to autocamera --- www/schedule.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/www/schedule.php b/www/schedule.php index efab536d..aed0c1ae 100644 --- a/www/schedule.php +++ b/www/schedule.php @@ -763,7 +763,8 @@ function mainCLI() { if (($timenow - $modTime) > $schedulePars[SCHEDULE_AUTOCAMERAINTERVAL]) { writeLog("autocamera shutdown"); sendCmds('md 0;ru 0'); - $lastStatusTime = $timenow + $schedulePars[SCHEDULE_AUTOCAMERAINTERVAL]; + //allow a bit of time to ensure it doesn't switch straight back on + $lastStatusTime = $timenow + 5; } else { $lastStatusTime = $timenow; }