silvanmelchior / RPi_Cam_Web_Interface

A web interface for the RPi Cam
MIT License
1.52k stars 489 forks source link

Scheduler doesn't apply to different days settings #678

Open simmoinard opened 1 year ago

simmoinard commented 1 year ago

Hi, I have a problem and I'm not sure if it is a bug or it is a bad settings... ;)

I want to activate motion during specified times, and video capture in case of detection. I want this during the night (from 06:30PM to 08:00AM the next morning) and during the whole weekend

I did this : image

First line to 'disable' the motion and capture on Monday-Friday days Second line to enable it Sunday & Saturday in Days Third line to enable everytime after 06:30PM Fourth line because it looks like after 00:00, the green case (top left in the picture above) is lost. So I "forced it"...

With this it looks like it doesn't work on weekends, it continues just like a week day ! Any idea ? :)

roberttidey commented 1 year ago

Time periods must be in increasing order for them to work.

Also they should be unique, so the second 8:30 will be ignored. Make it 8:31

simmoinard commented 1 year ago

Thank you so much ! I did this, can't wait to see this weekend !!

image

[EDIT] Maybe just 3 lines will work ? image