A simple but hacky workaround for raising Klipper service priorities on lower end SBCs like BTT-CB1, to avoid timeouts and failed prints.
Start by checking out the repository to your home directory.
git clone https://github.com/Dids/klipper-priority-fix.git ~/klipper-priority-fixNow you can run the install script, which should automatically setup everything for you.
~/klipper-priority-fix/scripts/install.shWhile optional, it is highly recommended that you also setup automatic updates, simply by adding the following update_manager entry to your moonraker.conf (or to the file where you configure Moonraker's update manager).
# Update manager entry for klipper-priority-fix
[update_manager klipper-priority-fix]
type: git_repo
channel: dev
path: ~/klipper-priority-fix
origin: https://github.com/Dids/klipper-priority-fix.git
primary_branch: master
install_script: scripts/install.sh
managed_services: klipper-priority-fixWhile the installation script should already take care of this, ensure that the line klipper-priority-fix is added to the bottom of your ~/printer_data/moonraker.asvc file, so that Moonraker can control the klipper-priority-fix service.
If you setup the automatic updates above, you may additionally need to restart Moonraker.
systemctl restart moonrakerNow klipper-priority-fix be installed, running and kept up-to-date automatically.
See LICENSE.