getumbrel / umbrel-apps

The official app repository of the Umbrel App Store. Submit apps and updates here. Learn how → https://github.com/getumbrel/umbrel-apps#readme
https://apps.umbrel.com
530 stars 397 forks source link

[Octoprint] - webcam support #1818

Open TheLankyScottishNerd opened 3 days ago

TheLankyScottishNerd commented 3 days ago

I'm not sure if this has come up before but it would seem webcams do not work in the current Octoprint setup, which for long prints and some of the AI print monitoring plugins is simply a must have for some printers like myself.

Looking at the docker compose it may be missing the "Environment" section. A working docker-compose.yaml has the following sections:

devices:

I can see that the docker-compose.yaml is different when deployed on Umbrel and the devices are taken care of by included the entire /dev mount but I think adding the Environment section would resolve the cameras not working in OctoPrint and specifying the path to ffmpeg inside the Octoprint application to '/usr/bin/ffmpeg'.

I'm not sure if anything else is required but this is the difference I see between the Umbrel deployment and a working Docker deployment.