Install Official Builds (Multiple instances) - Guilouz/Klipper-Flsun-Speeder-Pad GitHub Wiki

[!CAUTION] Make sure you have followed this Update Dependencies section before!

Note: Multiple instances corresponds to the use of several printers on the Speeder Pad.

In this section, we will install 3 instances but you can install 2 if you want (no more than 3 is recommended).

  • Relaunch Kiauh by entering this command:
    ./kiauh/kiauh.sh
    
  • Enter in 1) [Install] menu by typing 1 then Enter:
  • Install 1) [Klipper] by typing 1 then Enter.

  • Select 1) [Python 3.x] (recommended) by typing 1 then Enter.

  • Then enter the number of Klipper instances by typing 3 and Enter to confirm:

Capture d’écran 2022-12-12 à 02 23 50

  • When asked to assign custom names, select NO by typing N then Enter:

Capture d’écran 2022-12-12 à 02 26 10

  • When it's done, install 2) [Moonraker] by typing 2 then Enter and confirm by typing Y.

  • Then enter the number of Moonraker instances by typing 3 then Enter and confirm by typing Y:

Capture d’écran 2022-12-12 à 02 34 51

  • When it's done, you get your 3 instances with their IP addresses and ports, write them down they will be useful later:

Capture d’écran 2022-12-12 à 02 44 04

  • Install 3) [Mainsail] by typing 3 then Enter and select no by typing n when asked to add the recommended macros.

  • When it's done, go back to main menu by typing B then Enter.

  • Exit Kiauh by typing Q then Enter.

  • Enter the following commands (one at a time) to install KlipperScreen:

    cd ~ && git clone https://github.com/Guilouz/KlipperScreen-Flsun-Speeder-Pad.git /home/pi/KlipperScreen
    
    ./KlipperScreen/scripts/KlipperScreen-install.sh
    

    Note: Installation may take several minutes.

  • When installer asks if you want to install KlipperScreen in standalone mode, select Yes by typing Y and confirm with Enter.

  • When installer asks to choose graphical backend, select Xserver by typing X and confirm with Enter.

  • When installer asks to install NetworkManager for the network panel, select No by typing N and confirm with Enter.

  • When it's done, enter this commands (one at a time):

    cd ~ && ln -s ~/gcode_files/USB-Disk ~/printer_1_data/gcodes/USB-Disk
    
    ln -s ~/gcode_files/USB-Disk ~/printer_2_data/gcodes/USB-Disk
    
    ln -s ~/gcode_files/USB-Disk ~/printer_3_data/gcodes/USB-Disk
    
    sudo reboot
    
  • After reboot, go to your Mainsail Web interface then select the Machine tab.

  • Open the moonraker.conf file and add the following lines at the end of the file:

    [update_manager KlipperScreen]
    type: git_repo
    path: ~/KlipperScreen
    origin: https://github.com/Guilouz/KlipperScreen-Flsun-Speeder-Pad.git
    virtualenv: ~/.KlipperScreen-env
    requirements: scripts/KlipperScreen-requirements.txt
    system_dependencies: scripts/system-dependencies.json
    managed_services: KlipperScreen
    
  • Once done, click on SAVE & RESTART at the top right to save the file.

  • You will get the latest versions of KlipperScreen which point to my repo (More info are available here: KlipperScreen-Flsun-Speeder-Pad).

  • Your Speeder Pad now running official builds with multiple instances.