This is my first time fiddling with RaspberryPi and wanted to go about building a single camera CCTV system.
I’d been looking into a platform called MotionEye (MotionEyeOS) and fits the bill for my needs. I’m having issues following the install instructions, I’ve run into alot of errors and warnings stating outdated packages when I’ve tried installing this over the top of Raspberry Pi OS (64bit).
I’ve had different issues when trying to use the actual OS environment installed straight onto the SD Card, where its “Unable to open video device”.
The camera is working as I’ve managed to do a libcamera-still check on RaspberryPi OS but I’m not sure other things to try.
Has anyone had any success with this platform or knows of another CCTV software/OS that can motion detect, send notifications, and record/take stills?
Any help is appreciated and please let me know if you needed any further details
I did some more digging following on from the links which you provided, and have now got the MotionEye system running as a service on Raspbian Buster 03/05/23.
The service appears to be working however I’ve run I’m unable to open the camera by running raspistill -0 /Desktop/Image.png
I get this returned
mmal: mmal_vc_component_enable: failed to enabled component: ENOSPC
mmal: camera component couldn’t be enabled.
mmal: main: failed to create camera component.
mmal: failed to run camera app. please check for firmware updates.
I’ve run apt update, apt upgrade as well as rpi-update but none of these have worked. I’ve tried reseating the camera but this has not worked either.
Hey @Quinn262858 - after some light research it seems like there might one of multiple possibilities.
This StackExchange post has a few people weighing in on the issue.
sanity check:
is the camera peripheral enabled from sudo raspi-config?
For what it’s worth, running rpi-update is apparently not recommended since it may ‘upgrade’ you to an unstable version of the kernal… according to a user in that StackExchange thread anyway.
I have used MotioneyeOS for a few years now. Mostly problem free. I have a couple of Pi Zero 2W boards with the Jawsper version of the software(might only work on wifi boards?). Maybe try it,or try another camera.
Best of luck.
The board I currently have is the Pi Zero 2w with the camera module v3 wide.
I used the Raspberry Pi 3 image of the Jawsper build of MotionEyeOS but the camera displayed “Unable to open video device” both when I selected mmal camera and the v…something something camera.
Would you mind sharing your build specs as well as camera settings and any other steps I might be missing that weren’t documented? I’d really appreciate it.
Hi Quinn,I have a very basic setup. Pi Zero 2 W board with a plain Pi camera.(MMAL camera) Using the Jawsper branch of MotioneyeOS. I add the following to the extra motion options: mmalcam_control_params -awb greyworld
to correct the negative image. That’s about it. The camera is currently in a box in my yard and not connecting to wifi due to distance.
Sounds like you have had a bunch of trouble with this MotionEye, it gets tricky when using it with the Raspberry Pi Zero 2 W as it is not natively supported. There are a couple of ways to get it set up including the Jawsper version, though that hasnt been updated since Jan 2022 so isnt a preffered option.
Have you had a look into the alternative software such as Shinobi? Depending on what you are doing with the camera and your plans in future with the Pi (Home automation), it may just be a better way of getting this project on its way to completion.
On the MotionEyeOs webinterface:
login, on the left upper corner klick on “Camera 1” → add Camera:
Camera Type: Local V4L2 Camera (for USB-Webcam, for CameraModule i dont know. Camera: try Out till it works, i needed to try out two different entrys, then i got a picture.
I installed this Jawsper Release 20220119-dev straight onto the SD with the writeimage.sh script.
If wifi doesnt work, edit the wpa_supplicant.conf on the SD.
To change the Admin and User Passwords i needed to edit the “motion.conf” on the SD card manually.
Welcome to the forums!
Thanks for your input I’m glad to hear you have a solution that works for you, hopefully this helps out @Quinn262858 in some way.