Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is this git still a valid option for Klipper #27

Open
greatguitartist opened this issue Feb 20, 2024 · 0 comments
Open

Is this git still a valid option for Klipper #27

greatguitartist opened this issue Feb 20, 2024 · 0 comments

Comments

@greatguitartist
Copy link

I followed the instructions on this github to try and install DWC2 for Klipper, but I can't seem to get it working. I updated the dwc2.cfg file with the IP address and a port that isn't being used for Mainsail, but when I try to connect to the printer's IP on the specified port, the page doesn't open up. Any help would be appreciated.

PS: The klipper.service file was not updated since the -a argument was already updated to point to the klipper unix socket

Klipper.Service

[Unit]
Description=Klipper 3D Printer Firmware SV1
Documentation=https://www.klipper3d.org/
After=network-online.target
Before=moonraker.service
Wants=udev.target

[Install]
Alias=klippy
WantedBy=multi-user.target

[Service]
Type=simple
User=pi
RemainAfterExit=yes
WorkingDirectory=/home/pi/klipper
EnvironmentFile=/home/pi/printer_data/systemd/klipper.env
ExecStart=/home/pi/klippy-env/bin/python $KLIPPER_ARGS
Restart=always
RestartSec=10

Klipper.env

KLIPPER_ARGS="/home/pi/klipper/klippy/klippy.py /home/pi/printer_data/config/printer.cfg -l /home/pi/printer_data/logs/klippy.log -I /home/pi/printer_data/comms/klippy.serial -a /home/pi/printer_data/comms/klippy.sock"

dwc2.cfg

will make the webif reachable at http://192.168.10.130:4750

adress can 0.0.0.0 too which make it listen on all interfaces.

[webserver]
listen_adress: 192.168.1.81
web_root: ~/sdcard/web
port: 82

one can filter gcode replys.

That is usefull if you set acceleraions midprint.

on longer prints it prevents you log from that spam.

[reply_filters]
regex:
max_accel: \d+.\d+
max_accel_to_decel: \d+.\d+
square_corner_velocity: \d+.\d+
max_velocity: \d+.\d+

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant