odwdinc / DWIN_T5UIC1_LCD

Python class for the Ender 3 V2 LCD
GNU General Public License v3.0
176 stars 73 forks source link

Can not find the klipper file in /etc/default/klipper how to enable klipper socket #12

Open samirthegreat opened 2 years ago

samirthegreat commented 2 years ago

By default, the Klipper's API socket is not enabled. In order to use the API server, the file /etc/default/klipper need to be updated form

KLIPPY_ARGS="/home/pi/klipper/klippy/klippy.py /home/pi/printer.cfg -l /tmp/klippy.log" To:

KLIPPY_ARGS="/home/pi/klipper/klippy/klippy.py /home/pi/printer.cfg -a /tmp/klippy_uds -l /tmp/klippy.log"

MicroSur commented 2 years ago

It is already done in systemd service file.