I’m using motioneye with a Dafang Hack cameras, all of which have their own built-in motion detection. And create an MQTT binary switch for motion detection, which HA can auto-discover.
Which would be best in terms of lower CPU / RAM resource use? Let the DaFang Cameras do the motion detection or let MotionEye handle it?
The main reason for wanting to use MotionEye is that it has a very handy feature of auto-uploading stills and video to my Google Drive. So I have an off-site backup.
Thanks, currently only have one cam, and will add an additional one this summer. They are LTS cams, so probably more than I need, but they work great. Plus I get a great deal on them. I figured if I didn’t have MotionEye handle streaming it would work better (since the camera is already doing it, and supports still, ONVIF, etc).
Lately I noticed every time I go to the MotionEye add-on, I have to login over and over again. This while the remember me button is turned on. Something to do with cache or…?
I have an issue that has persisted since I first started using the addon. Every time the addon is restarted I get a critical error which makes it unusable:
CRITICAL: media directory "/var/lib/motioneye" does not exist or is not writable
The only workaround is for me to unistall and re-install the add-on. Fortunately I have a backup config for the addon so that I can reconfigure it quickly. The above error is always for the same directory.
Can someone please guide how to use PS3Eye camera to be able to use MotionEye for Motion detection. For motioneye itself I guess pretty much a lot of documentation would be availabe to make it work.
Providing the ESP32 camera is broadcasting an RTSP stream, you should be able to access it in MotionEye as a Network Camera.
A quick Google search seems to imply that the following address is what you need. rtsp://yourdevipaddr:8554/mjpeg/1 the trailing address after the port number maybe different in your case.
I noticed that my CPU usage was very high and after investigating the source (thanks to @tom_l and the help on using Portainer) the culprit was confirmed to be MotionEye. Without ME running CPU is generally below 5%. However, as soon as I start up ME it rockets and is always >85% and causes the RPi to overheat.
Given I am only driving 3xRTSP camera’s off ME, I’m struggling to understand why it has such a massive impact on the RPi. Each of the cameras is configured as follows and is set to the lowest frame rate;
A pi is a small and limited computer. It can do quite a bit. But video is heavy… 3 streams and all the rest, to be honest I’m amazed it even manages to do it without instantly crashing