motioneye icon indicating copy to clipboard operation
motioneye copied to clipboard

Cameras randomly stop detecting motion

Open zaphod24 opened this issue 3 years ago • 6 comments

I have been using Wansview Q5 cameras in addition to RPi0W (running motioneyeOS). As electrical storms have slowly taken out my RPi0W cameras (and because supply chain issues make them VERY expensive to replace), I have replaced everything with Q5 cameras. After changing over the last camera (I run 7 total atm, only 3 are setup for motion and recording), I am noticing that one or more cameras now randomly stops detecting motion. I can still view the camera feed on the motioneye web page and the Q5 has embedded time which is current, but no motion events and recording is triggered.

I am running dev motioneye on an Odroid N2 with Ubtunu 20.04.4. CPU usage is usually around 400% and there is around half of the total memory free or available for buffers.

Any idea what is causing motion to stop detecting? If I restart the motioneye service, everything works again for a while.

zaphod24 avatar Jul 19 '22 01:07 zaphod24

I think I have the same problem. Videos are missing randomly for my 5 cameras.

In log files I only have :

Jul 20 23:34:17 motioneye motion: [9:nc9:Camera 3] [ERR] [NET] netcam_rtsp_handler_reconnect: norm: Reconnecting with camera....

But I don't think that's the root cause because it concerns only 2 cameras while my 5 cameras have the problem.

I don't know for how long I have this but it's clearly related to Python3 release and that's really annoying.

cryptage21 avatar Jul 20 '22 21:07 cryptage21

I was seeing 400+ percent CPU utilization, so I've decided to cut it down to the 3 outside cameras I actually want alerts for, for now, and see if that eliminates the issue...

zaphod24 avatar Jul 20 '22 22:07 zaphod24

That's not my case, no important CPU usage.

cryptage21 avatar Jul 22 '22 21:07 cryptage21

Looks like mine may have been the result of the newer Q5 cameras changing from H264 to H265/HEVC. I wasn't detecting motion, just using the overview to monitor some rooms with the newer Q5s. I haven't had random motion detection stops for several days since removing the newer Q5 cameras from motioneye.

zaphod24 avatar Jul 25 '22 14:07 zaphod24

Which motion version do you have ? I reverted back to Motion 4.3 from 4.4 (I didn't see before there were problems with this version).

It looks better... Will check in the next days.

cryptage21 avatar Jul 25 '22 19:07 cryptage21

4.3

zaphod24 avatar Jul 27 '22 18:07 zaphod24

I'm about to add motion 4.4 support: #2462

MichaIng avatar Oct 09 '22 11:10 MichaIng