Skip to main content

Shaketune Klippain Belt Magic

You want to use the fantastic Shaketune Repo for your Qidi?


Note: latest version of Klippain requires an updated version of Klipper. Therefore it is not possible to achieve the installation of Klippain following the guide below.

Older version of Klippain 2.5.0 is also not working because of missing dependency on matplotlib==3.8.2 that cannot be installed on latest Qidi firmware (Jan 2024).

You can try to use the old version of Klippain 1.2.0


With those limitations in mind, continue on:

 

No Prob. Go here and install everything:

https://github.com/Frix-x/klippain-shaketune/blob/main/install.sh

image.png

Preparation

Qidi uses old v10 Klipper in the stock configuration. This means you have problems and manually need to change pathways.

Before you do anything set the system time correct via SSH!

SSH:

ssh mks@IP 
password: makerbase


NTP install and useful alternatives to check out:

apt install ntp
and then 
dpkg-reconfigure tzdata to select timezone

sudo date -s '2023-12-02 10:22:00'
sudo ntpdate -s ntp.ubuntu.com
(doesn't work)

_____________


https://klp1.com/issues/wrong-time/

Wrong system time & date - KLP1 Knowledge Base
Fix wrong time and/or date that's showing in history, logs and console
Wrong system time & date - KLP1 Knowledge Base

if chrony doesn't autostart you can add a crontab line from root account
@reboot /usr/sbin/chronyd

Wrong system time & date
SSH to the IP address of KLP1.

Login with username root and password makerbase.

Run command sudo dpkg-reconfigure tzdata and select your timezone.

Time zone should now be set correctly, now you need to enable time syncing.

Run sudo apt-get install chrony -y.

This will uninstall ntp and install chrony, a service used to sync time.s

Run timedatectl to check if the time and date are now properly synced.

mks@mkspi:~$ timedatectl
               Local time: Fri 2023-11-17 21:56:55 CET
           Universal time: Fri 2023-11-17 20:56:55 UTC
                 RTC time: Fri 2023-11-17 20:56:54
                Time zone: Europe/Zagreb (CET, +0100)
System clock synchronized: yes
              NTP service: inactive
          RTC in local TZ: no
Comments

Change pathways

Qidi uses other paths for Klipper binaries and config in stock v10 Klipper.

You simply need to adjust those paths used by all python scripts.


Klipper config -> /home/mks/klipper_config/
Klipper binaries -> /home/mks/klipper/

Copy commands:

Copy Command to transfer stuff and generated graphs to your USB drive.

cp

cd /printer_data/config/K-ShakeTune_results/belts
cd printer_data/config/K-ShakeTune_results/
cd /home/mks/gcode_files/sda1

cp -r K-ShakeTune_results /home/mks/gcode_files/sda1/20231203

mks@mkspi:~/printer_data/config/K-ShakeTune_results/belts$ cp belts_20231126_053146.png /home/mks/gcode_files/sda1/belts_20231126_053146.png