-
Notifications
You must be signed in to change notification settings - Fork 662
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Working Schedule does not work #2663
Comments
Hi the issue is also open? The project is under development? |
The issue still exists for me, but i did not receive any feedback. |
Thanks for reporting. There is quite much stuff to do/review here, and this is not my main project. If anyone is able to read Python, HTML and in case Jinja2 templates, please test and have a look into it. Are you guys seeing any errors either in browser console when applying/changing these settings or in motionEye logs? journalctl -u motioneye |
I have this error: DietPi motion[1260512]: [1:ml1:Studio] [CRT] [NET] motion_init: Substream not available. Image sizes not modulo 16. |
I have no error. |
Same issue here, getting notifications whatever the working schedule is.... |
Hi! any update? same problem here |
Hi! |
+1 Same issue here, I am running 0.43.1b1 on Docker :edge image and working schedule doesn't seem to be working at all. Whatever hour/schedule I set, motion detection is always on. |
I think I found the problem, change active to ACTIVE in: motioneye/motioneye/motionctl.py Line 232 in 2862efe
Solved the problem for me. |
Here is the output of my journalctl -u motioneye when I enable motion detection in the working schedule: May 25 18:38:03 raspberrypi motion[28489]: [0:cn0] [DBG] [STR] webu_parseurl: Sent url: /1/detection/status And this is what I get when I deactivate motion detection in the working schedule: May 25 18:36:13 raspberrypi motion[28231]: [0:cn0] [DBG] [STR] webu_parseurl: Sent url: /1/detection/status The problem here (I think) is that motioneye thinks motion detection is disabled while this is not the case. curl http://localhost:7999/1/detection/status This gives ACTIVE in capital letters and motioneye only searches for active, url = f'http://127.0.0.1:{settings.MOTION_CONTROL_PORT}/{motion_camera_id}/detection/status'
When I edit: enabled = bool(resp_body.count('active')) to: May 25 19:07:23 raspberrypi motion[30826]: [0:cn0] [DBG] [STR] webu_parseurl: Sent url: /1/detection/status Problem solved I think...... |
Good catch! That would explain this well. Seems like |
Thanks, hope someone can fix this in dev? |
There's the PR, I hope someone can do a quick test with that. |
Merged, we'll push a new beta soon. I'll just test and in case merge #2903 as well. |
I've tried to set the working schedule for motion detection, but i think it doesn't work correctly.
I have set days and hour but the motion detection keeps sending notifications and recording videos.
What's wrong?
The text was updated successfully, but these errors were encountered: