Hi,
I’m trying to get a pi camera working with balena-octoprint. I’ve changed the gpu memory and start_x to the right values stated in the balena docs to connect the pi camera.
The command “vcgencmd get_camera” is returning “supported=1 detected=1” but I don’t know how to get the octoprint to use the camera.
I deployed this repository for my application:
I notice there is someone asking about connecting a pi camera in the issues tab of that repository.
Hi Gregor, I don’t have a 3D printer, so I haven’t tried this repo / project, but I do have a quick question…what purpose does a camera serve in a 3D-printer project? I am just curious.
I assume its to keep an eye on the printer from a remote location, is that correct?
It adds a lot of extra features, which have been working well.
So far I have not been able to get it working with the camera. However, I will check the config file in this repository and see if that could be the solution.
Edit: I have now checked and this is the config file for this new repo:
I’ll keep trying and if I get it working I’ll reply back here.
Yeah, I set the variables. However, I’m not convinced that my CAMERA_DEV = /dev/video0 is right as I’m not sure how to check which device the camera module is attached to.
Hi Gregor I’ve just been testing Octobalena here and couldn’t get the webcam working either - I’d recommend adding an issue to the repo to ask the maintainers; I know it’s worked out of the box for me in the past, and it shouldn’t be this difficult. Perhaps something has broken within the project or maybe there’s some incompatibility with the latest OS.
Thanks for the reply. That’s a shame that there isn’t an easy fix. I posted an issue on the GitHub page about a week ago regarding this, so hopefully, the maintainers will see it.
Once I get a solution, I’ll update this post with the details.