安装Klipperscreen

2023-09-27 0 659

首先安装Klipper和 Moonraker

Klipperscreen安装

执行以下命令:

cd ~/
git clone https://github.com/jordanruthe/KlipperScreen.git
cd ~/KlipperScreen
./scripts/KlipperScreen-install.sh

此脚本将安装手动安装下列出的软件包,在 创建 python 虚拟环境并安装 systemd 服务文件。

~/.KlipperScreen-env

如果需要配置文件的自定义位置,可以将 -c 或 –configfile 添加到 systemd 文件中并指定 配置文件的位置。

此时KlipperScreen应该可以工作

moonraker.conf 配置

在moonraker.conf中,确保设备的IP是受信任的客户端:

moonraker.conf

[authorization]
cors_domains:
    https://my.mainsail.xyz
    http://my.mainsail.xyz
    http://*.local
    http://*.lan
trusted_clients:
    10.0.0.0/8
    127.0.0.0/8
    169.254.0.0/16
    172.16.0.0/12
    192.168.0.0/16
    FE80::/10
    ::1/128
    127.0.0.1

如果您希望使用moonraker for KlipperScreen的更新管理器功能,请将以下块添加到moonraker.conf:

[update_manager KlipperScreen]
type: git_repo
path: ~/KlipperScreen
origin: https://github.com/KlipperScreen/KlipperScreen.git
virtualenv: ~/.KlipperScreen-env
requirements: scripts/KlipperScreen-requirements.txt
system_dependencies: scripts/system-dependencies.json
managed_services: KlipperScreen
资源下载此资源仅限注册用户下载,请先
收藏 (0) 打赏

感谢您的支持,我会继续努力的!

打开微信/支付宝扫一扫,即可进行扫码打赏哦,分享从这里开始,精彩与您同在
点赞 (0)

迪米特 3D打印机 安装Klipperscreen https://www.dimit.cn/3ds/printer/id-03537.html

常见问题

相关文章

官方客服团队

为您解决烦忧 - 24小时在线 专业服务