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

How can I get this working with the wired picamera? #8

Closed
mutemute opened this issue Feb 4, 2019 · 14 comments
Closed

How can I get this working with the wired picamera? #8

mutemute opened this issue Feb 4, 2019 · 14 comments

Comments

@mutemute
Copy link

mutemute commented Feb 4, 2019

Module runs fine, but there's no activity led on the camera, so it's not being accessed.. thank you!

@mutemute
Copy link
Author

mutemute commented Feb 4, 2019

Also.. I'm running magic mirror on a 2.8" pitft screen attached to the gpio pins.. I attached a usb webcam to test (that worked) BUT it won't blank the little screen, it will blank the HDMI port, but the little screen stays on. Thanks again for any input!

@rejas
Copy link
Owner

rejas commented Feb 5, 2019

Sorry, I havent got a pi camera to test this module with :-( Any help is welcome though.

@rejas rejas closed this as completed Feb 5, 2019
@adamlove86
Copy link

Hi there, I have a Pi camera and would love to get it working.
The raspistill command etc works perfectly; no additional installation - just enable it with raspi-config. Little red light comes on when it's capturing.
However, no red light when this module is activated. How can I troubleshoot? Did you want to experiment with mine remotely via ssh?

@rejas
Copy link
Owner

rejas commented Mar 12, 2019

This module here works by using the navigator.mediaDevices.getUserMedia functionality of the browser / electron. I assume this isnt possible with the raspi cam out of the box.
Unfortunatly my interaction possibilities are limited ATM. Maybe you can try this out https://reprage.com/post/pi-camera-module-in-the-browser and see if it shows up then?

@adamlove86
Copy link

Not sure if I did the right thing but I added module MMM-iFrame. First up tried just putting camera.html locally on the pi, and I'd get "Cannot GET [local path]/camera.html". The camera.html file being the page outlined on https://reprage.com/post/pi-camera-module-in-the-browser.

Then tried putting camera.html on http://[another mini server on my home network]/camera.html.
Both times the space for the iFrame would load, but no picture was coming up. 2nd time no error though. Doesn't appear to be activating the camera (no red light either).

I'm not sure below link is of any assistance to point me in the right direction? They also refer to getUserMedia
raspberrypi/linux#1498

@rejas
Copy link
Owner

rejas commented Mar 27, 2019

Re-openign so I might have a look at it later. Got no pi-camera though yet.

@rejas rejas reopened this Mar 27, 2019
@rev138
Copy link

rev138 commented Apr 15, 2019

  1. Open /etc/modules-load.d/modules.conf
  2. Add bcm2835-v4l2 to the end of the file and save it.
  3. Reboot.
  4. Profit

@rejas
Copy link
Owner

rejas commented Apr 15, 2019

So you got my module working with the pi camera @rev138 ?

@rev138
Copy link

rev138 commented Apr 15, 2019

@rejas I did, yes. It works fine, you just need to load the kernel module for the video.

@rejas
Copy link
Owner

rejas commented Apr 16, 2019

Thx for the info @rev138 Is that module already installed in the standard raspberry image? WOndering if those 4 steps are all that is needed so I can add it to the README for other users to follow.

@rev138
Copy link

rev138 commented Apr 16, 2019

It should be, yes.

@rejas
Copy link
Owner

rejas commented Apr 16, 2019

Added your tips to the README!

@rejas rejas closed this as completed Apr 16, 2019
@rev138
Copy link

rev138 commented Apr 16, 2019

Thanks for making this module!

@rejas
Copy link
Owner

rejas commented Apr 16, 2019

Thanks to https://github.com/alexyak :-) I just polished it :-)

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