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 typing 1 then Enter:

  • Install 14) [Crownest] by typing 14 then Enter.

  • For 1 instance, nothing is asked and installation is automatic.

    • For more than 1 instance, when asked to continue with configuration select Yes by typing y.

    • For more than 1 instance when asked to continue to install Crowsnest select Yes by typing Y then Enter.

    • 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 typing N then Enter.

    • For more than 1 instance when asked to add Crowsnest Update Manager entry to moonraker.conf select No by typing N then Enter.

  • When asked to reboot NOW select Yes by typing y then Enter.

  • 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
    managed_services: crowsnest
    install_script: tools/install.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 the WEBCAMS 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 typing 3 then Enter:

  • Remove 9) [Crownest] by typing 9 then Enter.

  • When asked if you want to remove Crowsnest select Yes by typing y.

  • When asked if you want to remove crowsnest.conf file select Yes by typing y.

  • 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
    managed_services: crowsnest
    install_script: tools/install.sh
    
  • When it's done, restart the Speeder Pad.

⚠️ **GitHub.com Fallback** ⚠️