Notifications
Clear all

Pi cam to work in octoprint  

  RSS
gb
 gb
(@gb-2)
Active Member
Pi cam to work in octoprint

How do I get the web cam to work I have the octoprint up and running & I know the camera works I can another web cam into octoprint but what do I need to do to get it to use the pi cam.

Posted : 06/03/2019 9:03 pm
Patrick McNamara
(@patrick-mcnamara)
Estimable Member
Re: Pi cam to work in octoprint

http://blog.mmone.de/2017/08/29/howto-enable-the-raspicam-in-octoprint/

That's a good starting place. After that, you will need to tinker with the settings to get the best pictures. I ended up with:

camera_raspi_options="-fps 20 -ex beach --ev 10 -awb incandescent --mm matrix -q 95 -hf -vf -x 1296 -y 972"

Posted : 07/03/2019 7:13 am
gb
 gb
(@gb-2)
Active Member
Topic starter answered:
Re: Pi cam to work in octoprint

Hi
that is helpful but I still cant get a stream I am not getting DNS resolved for some reason I can only get to it across my network by IP address (it does not seem to resolve names)
Its resovles on itself ok

but if I Use the "ip address":8080 in a browser I get a snapshot fine but no stream do I still need to change some thing else?

not sure why dns does not appear to be working?

Posted : 07/03/2019 1:33 pm
Patrick McNamara
(@patrick-mcnamara)
Estimable Member
Re: Pi cam to work in octoprint

Getting DNS to work is something that isn't Octoprint related specificaly. You can get things to work short term by changing the streaming URL parameter to use the IP address of your Pi.

https://community.octoprint.org/t/i-cant-reach-my-octopi-under-octopi-local/210
https://unix.stackexchange.com/questions/224692/octopi-local-does-not-resolve-dns-name-resolution-issue

Above are a couple of links that might be of use in your situation.

Posted : 07/03/2019 4:43 pm
gb
 gb
(@gb-2)
Active Member
Topic starter answered:
Re: Pi cam to work in octoprint

ok
its a browser issue and is now working in firefox fine

thanks for the help

Posted : 07/03/2019 6:10 pm
Share: