Add Webcams Support - Guilouz/Klipper-Flsun-Speeder-Pad GitHub Wiki
It's possible to improve Webcams support and in particular the framerate by uninstalling mjpg-streamer and installing Crowsnest daemon (see Crowsnest Documentation for more info).
Installing Crowsnest:
Show / Hide
-
Launch Kiauh by entering this command:
./kiauh/kiauh.sh
-
Enter in
1) [Install]
menu by typing1
thenEnter
: -
Install
14) [Crownest]
by typing14
thenEnter
. -
For 1 instance, nothing is asked and installation is automatic.
-
For more than 1 instance, when asked to continue with configuration select
Yes
by typingy
. -
For more than 1 instance when asked to continue to install Crowsnest select
Yes
by typingY
thenEnter
. -
For more than 1 instance when asked to specify path for config file (crowsnest.conf) type:
/home/pi/printer_1_data/config
-
For more than 1 instance when asked to specify path for log file (crowsnest.logs) type:
/home/pi/printer_1_data/logs
-
For more than 1 instance when asked to specify path for environment file (crowsnest.env) type:
/home/pi/printer_1_data/systemd
-
For more than 1 instance when asked if Raspicam Fix should be applied select
No
by typingN
thenEnter
. -
For more than 1 instance when asked to add Crowsnest Update Manager entry to moonraker.conf select
No
by typingN
thenEnter
.
-
-
When asked to reboot NOW select
Yes
by typingy
thenEnter
. -
After restart, go to your Mainsail Web interface then click on
Machine
tab. -
Open the
moonraker.conf
file and add the following lines at the end of the file:[update_manager crowsnest] type: git_repo path: ~/crowsnest origin: https://github.com/mainsail-crew/crowsnest.git install_script: tools/pkglist.sh
-
Once done, click on
SAVE & RESTART
at the top right to save the file. -
You can now click the refresh button (still in the Machine tab) on the Update Manager tile.
-
You will see a new crowsnest line appear.
-
You can now configure your webcam (resolution, fps, focus etc...) by clicking on the
EDIT CROWSNEST.CONF
link in theWEBCAMS
tab of Mainsail settings.
Uninstalling Crowsnest:
Show / Hide
-
If needed you can uninstall Crowsnest by entering this command:
./kiauh/kiauh.sh
-
Enter in
3) [Remove]
menu by typing3
thenEnter
: -
Remove
9) [Crownest]
by typing9
thenEnter
. -
When asked if you want to remove Crowsnest select
Yes
by typingy
. -
When asked if you want to remove crowsnest.conf file select
Yes
by typingy
. -
Go to your Mainsail Web interface then click on
Machine
tab. -
Open the
moonraker.conf
file and and remove this lines:[update_manager crowsnest] type: git_repo path: ~/crowsnest origin: https://github.com/mainsail-crew/crowsnest.git install_script: tools/pkglist.sh
-
When it's done, restart the Speeder Pad.