2020-07-16 16:33:44 +02:00
2020-07-16 15:07:00 +02:00
2020-07-16 16:33:44 +02:00
2020-07-13 16:59:40 +02:00
2020-07-16 15:54:57 +02:00
2020-05-22 11:34:04 +02:00
2020-07-15 23:33:20 +02:00

THIS VERSION IS WORK IN PROGRESS!!!

KIAUH

Klipper Installation And Update Helper

kiauh

This script was actually created for my personal use only but i then decided to make the script accessible for everyone. It is meant to help guiding you through a complete fresh install of Klipper and optionally the DWC2 web UI + DWC2-for-Klipper. There are also functions for updating your current installations or removing them from your system.

First things first: When you decide to use this script, you use it at your own risk!

Give it a try if you want and if you have suggestions or encounter any problems, please report them. But i can't guarantee that i will fix them immediately (or at all).

Instructions:

In order to run this script you have to make it executable. Use the following commands in the given order to download and execute the script. Make sure you don't skip checking out the development branch if you want to use this new version of the script.

cd ~
git clone https://github.com/th33xitus/kiauh.git
cd kiauh && git checkout dev-2.0
chmod +x ~/kiauh/kiauh.sh
chmod +x ~/kiauh/scripts/*
./kiauh.sh

Restrictions:

  • Tested only on Raspbian Buster Lite

Functions and Features:

  • Installing:

    • Klipper
    • dwc2-for-klipper + Duet Web Control
    • Moonraker + Mainsail
    • OctoPrint
  • Updating:

    • Klipper
    • dwc2-for-klipper + Duet Web Control
    • Moonraker + Mainsail
  • Removing:

    • Klipper
    • dwc2-for-klipper + Duet Web Control
    • Moonraker + Mainsail
    • OctoPrint
  • Build Klipper Firmware

  • Flash MCU

  • Read ID of currently connected printer

  • Write several entries to your printer.cfg, some of them customizable right in the console

  • Switch between Klipper Forks:

    • scurve-shaping
    • scurve-smoothing
    • moonraker
  • Toggle auto-create backups before updating

  • Toggle OctoPrint Service (usefull when using DWC2/Mainsail and Octoprint at the same time)

tbc ...

What this script can't do:

  • Updating OctoPrint. Use OctoPrint for updating!

Q&A

Q: Can i install octoprint with this script?

A: Soon™ Yes :)

Q: Can i use this script to install multiple instancec of Klipper on the same Pi? (Multisession?)

A: No, and at the moment i don't plan to implement this function. For multisession installations take a look at this script manu7irl created: https://github.com/manu7irl/klipper-DWC2-installer . Keep in mind that klipper-DWC2-installer and KIAUH are NOT compatible with each other.

Languages
Python 99.3%
Shell 0.7%