dw-0 / kiauh

Klipper Installation And Update Helper
GNU General Public License v3.0
3.4k stars 491 forks source link

Cannot get camera to work on Octoprint #366

Closed joelstitch closed 1 year ago

joelstitch commented 1 year ago

Linux Distribution

Raspbian Bullseye

What happened

Cannot get any of the printers to show the PiCam connected to the Raspberry Pi

What did you expect to happen

I expected the video feed to show up on at least one of the octoprint instances

How to reproduce

Try to see the camera contents on Octoprint

Additional information

No response

dw-0 commented 1 year ago

Please elaborate what the issue is related to KIAUH.

joelstitch commented 1 year ago

Not sure what the issue is related to honestly. When I run Octoprint by itself the PiCam works fine but If I use a Octoprint installed through Kiauh the Picam does not work.

On Wed, Jul 26, 2023 at 12:12 PM th33xitus @.***> wrote:

Please elaborate what the issue is related to KIAUH.

— Reply to this email directly, view it on GitHub https://github.com/th33xitus/kiauh/issues/366#issuecomment-1652203747, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACZIZHTYMF25QOIEX42LQL3XSFFXLANCNFSM6AAAAAA2WKHRO4 . You are receiving this because you authored the thread.Message ID: @.***>

dw-0 commented 1 year ago

When I run Octoprint by itself the PiCam works fine

Octoprint pre installed on Octopi? In that case a required camera streamer is probably installed as well. That doesn't happen during the Octoprint installation with KIAUH. It's an assumption of what you might want to say, though im absolutely not sure if thats what you actually try to say.

joelstitch commented 1 year ago

Must be the streamer then. I'll do some research on how to add it and update the issue on github.

On Jul 26, 2023, 12:42 PM, at 12:42 PM, th33xitus @.***> wrote:

When I run Octoprint by itself the PiCam works fine

Octoprint pre installed on Octopi? In that case a required camera streamer is probably installed as well. That doesn't happen during the Octoprint installation with KIAUH. It's an assumption of what you might want to say, though im absolutely not sure if thats what you actually try to say.

-- Reply to this email directly or view it on GitHub: https://github.com/th33xitus/kiauh/issues/366#issuecomment-1652243066 You are receiving this because you authored the thread.

Message ID: @.***>

wolfnacht44 commented 1 year ago

@joelstitch when installing octoprint with kiauh, ive had to install mjpeg-streamer, and point webcam to http://octoprintip:8080/?action=stream to use webcam

I vaugely remember having to raspi-config and enabling legacy support as well using raspi official HQ camera double check your driver setting under /boot/config.txt as well if using libcamera/camera-streamer driver info found here

there may be more configuration in mjpeg-streamer

sidenote: Also Octopi ships with mjpeg-streamer installed and configured if youre installing octopi from the raspi imager then I believe you're using a different fork with camera-streamer stack Refer to THIS blog post