Closed letkan closed 5 months ago
FYI, Motioneye same version works on DietPi.
Have you already tried enabling the legacy camera stack? https://projects.raspberrypi.org/en/projects/getting-started-with-picamera (as far as I know this only works in Bullseye)
And I had to load the bcm2835-v4l2 kernel module: https://github.com/motioneye-project/motioneye/wiki/Troubleshooting
Legacy camera only works in Bullseye indeed, as I mentioned earlier, I switched to Dietpi Bookworm and the app works without any changes. I'm rather new to this platform and a lot of info available is outdated, for the time being I'll stick with "out-of-the-box" solutions. Thanks for replying, anyway.
Everything finally came into place. More reading, more trial and error.
Legacy camera support has been removed from the new RPi firmware/kernel stack, RPi OS Bookworm ships with. Since it requires some other reworks, DietPi did not switch to this new stack with their Bookworm images yet, hence it does still work.
However, this is indeed not future prove. When switching to the new kernel stack and hence modern libcamera API, there seems to be no other way for motionEye to support it, but using the libcamerify
wrapper. See some issues here, which contain info about how to set this up: https://github.com/motioneye-project/motioneye/issues?q=is%3Aissue+is%3Aopen+libcamerify
When I find time, I'll implement it as option, and finally probably pre-install on RPi with motioneye_init
. A new camera type for RPi libcamera modules will then use libcamerify as motion wrapper automatically.
I've tried Motioneye on Bookworm and Bullseye and while I get no errors while installing Motioneye and I can access it from the browser, the camera never works. I've looked everywhere for solutions but none worked. Funny enough, MotioneyeOS works perfectly. I just wanted to run it on a recent version of Debian. I've used the instructions from https://github.com/motioneye-project/motioneye/blob/main/README.md. I've also read a very long thread in Issues about the camera not working but the conclusion seemed to be that the problem has been fixed. Here's some more info of my setup on Raspberry pi Zero 2 w:
libcamera-hello: