Skip to content
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

Cannot use Pi camera for this module, but followed the documentation #55

Open
Jochbart opened this issue Jan 29, 2022 · 12 comments
Open

Comments

@Jochbart
Copy link

I changed the module file, but I get an error now when rebooting the pi:
image
image

Please help.

@rejas
Copy link
Owner

rejas commented Jan 29, 2022

Sorry, cant help you directly since I dont own a pi camera. But what does your output say when running
"systemctl status systemd-modules-load.service"
as mentioned in the error log above?

@Jochbart
Copy link
Author

image

@rejas
Copy link
Owner

rejas commented Jan 29, 2022

Looks like you got a typo there: you wrote v412 but it should be v4l2

@Jochbart
Copy link
Author

Hi rejas,

sorry, my bad, you were right. The rebooting is working now, but still get an error in MM:
image

@rejas
Copy link
Owner

rejas commented Feb 5, 2022

Can confirm that happens on a fresh installation of raspi OS starting with their latest releases. You need to enable the legacy camera support in the raspi-config tool.

I updated the README accordingly. Can you confirm that it solves your problem?

@Jochbart
Copy link
Author

Jochbart commented Feb 8, 2022

Hi rejas,
I did it, but same error.

@fernandosalomao
Copy link

Same here

@rejas
Copy link
Owner

rejas commented Mar 2, 2022

Hi guys, just found out that there is now a "legacy" raspberry os, which uses the old debian. Maybe you can check this out? https://www.raspberrypi.com/software/operating-systems/#raspberry-pi-os-legacy

@fernandosalomao
Copy link

fernandosalomao commented Mar 2, 2022

Looks like there is an issue with PiCamera in Chromium since 89.0.4389.128
https://stackoverflow.com/questions/69300651/electron-rpi-requested-device-not-found-camera

The current version of MagicMirror (v2.18.0) uses Electron 16.0.5 that uses Chromium 96.0.4664.55
That said, for now the supported version of MagicMirror for this module using PiCamera is MagicMirror v2.16.0 (Electron 11.4.9 / Chromium 87.0.4280.141)

Alternativelly you can run the current version (v2.18.0) on "server mode" and downgrade your OS Chromium to < 89.0.4389.128 and run the client from there.

@vijaybala1
Copy link

Is this broken ? Or does it work with latest version of MM ? Using PI 4 with PI camera.

@rejas
Copy link
Owner

rejas commented Jul 1, 2023

Is this broken ? Or does it work with latest version of MM ? Using PI 4 with PI camera.

Its working for me with latest version of MM when using my PS3 camera.

I dont have the time at the moment to test it with the latest raspiOS release (the underlying operating system) and a PI camera. Any help would be appreciated.

@vijaybala1
Copy link

Happy to help. Its not working with Pi-Camera ( V2) . I also have a standard 720 Webcam (MIcrosoft Brand) that also not work. I get a "NotfoundError" . Happy to help debug .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants