-
Notifications
You must be signed in to change notification settings - Fork 100
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
Motion Detection / Recording changes between 0.3.1 and 0.3.2? #867
Comments
I just downgraded one of my cameras to 0.3.1 (via local SD update) and there is no difference. But I am pretty sure that I was impressed that the camera also catches the moment before the actual movement and this is definitely no longer the case. I found an old recording where I can see the door closed before coming in. So the recording catched the moment of motion. Currently it is always 1-2 seconds too late. |
I notice a relatively high load on the camera (1.5 - 2) as soon as I enable "Disable Cloud". Is this normal? |
I still could not figure out why there is such a high load on my camera (all 3 of them). I tried disabling everything but "no cloud" + "motion detection", different SD cards, different methods to format them. Sometime I get motion recording where the start is before the motion but most of the time it is 1-2 seconds after the motion event has appeared. |
Motion recording is handled by Yi process and I can't change this behavior.
This could be a cause of your problem. Are you able to understand if the load is greater in the last hack version? |
Until now I have no idea why the load is so high and I could not spot any relevant differences between the versions. Perhaps this is normal load & behaviour? Or is it different for somebody else? Can you confirm that motion video recording always starts a little bit after the event? |
Here is my top:
I haven't got your model, so I can't test it. |
interesting. Right now I never have recordings that start before the event but I am sure that I had this in the past. And I have no idea what has changed. I wonder why the load is >1 but the CPU usage is <50%. There might be something else blocking the scheduler (IO?) |
What I wrote is not completely true.
I don't know, this load happens even without hack. |
Please, try to remove line 247 of system.sh:
|
That does the trick! (confirmed on two cameras) BUT then MQTT does no longer work (also confirmed on two cameras) |
I can't do any further tests over the weekend.
EDIT Maybe I fixed... |
Just started to debug, then saw your edit: Works! I am not sure if the watchdog is the best way but it works. If I find some time I will investigate why it does not start in the first place. I will continue testing over the day and let you know, but it looks very promising! Thanks for your work! |
"Long term testing" successful. Still recording events before the motion event and mqtt also still connected with your patched wd_rtsp.sh |
Probably, mqttv4 doesn't start in the first place because dispatch hasn't created yet the queues /dispatch_1 ... /dispatch_9. |
Might be, nevertheless it works! |
Yes, of course. |
Has anything changed regarding the motion detection or the recording?
I am pretty sure that before 0.3.2 a recording started before the motion was visible in the image but with 0.3.2 the recording starts a second after the motion has been detected.
Before when I opened the door to get in the room I could the the handle being pushed down and now the recording start when the door is completely open.
(using y623 cam, Base Firmware 12.0.51.01_202303091901)
The text was updated successfully, but these errors were encountered: