Klipper固件-Moonraker配置打完发送邮件给自己实现提醒功能 writeor的博客 wr的小窝喔~
  • 欢迎访问wr的小窝~,推荐使用最新版火狐浏览器和Chrome浏览器访问本网站.
  • 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏吧
  • 嘟嘟嘟嘟嘟嘟啦~~

Klipper固件-Moonraker配置打完发送邮件给自己实现提醒功能

3D打印 writeor 1年前 (2024-01-11) 242次浏览 已收录 0个评论

有些代码是gpt生成的,我不确定哪些能用…写有ok字样的被确认可以使用。将配置填写在moonraker.cfg文件中,可以都写上,不能用的也不碍事。

### 开始打印通知ok
[notifier print_start]
## QQ号,改成你自己的。密钥写在邮箱里获得的授权码
url: mailto://QQ号:授权码@qq.com/?to=QQ号@qq.com
title:打印任务已开始
events: started
body: 模型“'{event_args[1].filename}'”开始打印……

### 打印完成通知ok
[notifier print_complete]
url: mailto://QQ号:授权码@qq.com/?to=QQ号@qq.com
title:打印任务已完成
events: complete
body: 模型“'{event_args[1].filename}'”打印完成。

### 打印错误
[notifier print_error]
url: mailto://QQ号:授权码@qq.com/?to=QQ号@qq.com
title:打印任务发生错误
events: error
body: 错误:{event_args[1].message}

### 打印状态改变
[notifier print_status_change]
url: mailto://QQ号:授权码@qq.com/?to=QQ号@qq.com
title: 打印状态已改变
events: status_changed
body: 打印状态已从'{event_args[1].old_status}'改变为'{event_args[1].new_status}'

#任务已取消 ok
[notifier print_cancelled]
url: mailto://QQ号:授权码@qq.com/?to=QQ号@qq.com
title: 打印任务已取消
events: cancelled
body: 打印任务已被取消,取消原因:{event_args[1].reason}
### 打印任务暂停通知 ok
[notifier print_paused]
url: mailto://QQ号:授权码@qq.com/?to=QQ号@qq.com
title: 打印任务已暂停
events: paused
body: 打印任务已被暂停。

### 打印任务恢复通知
[notifier print_resumed]
url: mailto://QQ号:授权码@qq.com/?to=QQ号@qq.com
title: 打印任务已恢复
events: resumed
body: 打印任务已恢复。

### 耗材耗尽通知
[notifier filament_runout]
url: mailto://QQ号:授权码@qq.com/?to=QQ号@qq.com
title: 耗材已耗尽
events: filament_runout
body: 打印时耗材已耗尽,请及时更换耗材。

### 耗材更换通知
[notifier filament_change]
url: mailto://QQ号:授权码@qq.com/?to=QQ号@qq.com
title: 需要更换耗材
events: filament_change
body: 需要更换耗材,请及时进行更换。

 


wr的小窝 , 版权所有丨如未注明 , 均为原创丨本网站采用BY-NC-SA协议进行授权
转载请注明原文链接:Klipper固件-Moonraker配置打完发送邮件给自己实现提醒功能
喜欢 (1)
[1528532472@qq.com]
分享 (0)

您必须 登录 才能发表评论!

wpChatIcon
wpChatIcon