nlef / moonraker-telegram-bot

Telegram bot to interact with Moonraker (Klipper Web API Server)
Creative Commons Zero v1.0 Universal
251 stars 65 forks source link

Message whem Filament runs out #273

Closed Dave2526 closed 1 year ago

Dave2526 commented 1 year ago

Hello, Thanks for this very good addon, but i have the following Problem: Today i have started a Print and the Filament was broken. So my filement Sensor Pause the Print, but i got No Message via the bot. Ist this a settting i am Missing or ist this Not possible at the moment?

Thanks!

Otann commented 1 year ago

You can add the RESPOND command to your filament runout config, for example:

[filament_motion_sensor runout]
detection_length: 14.0
extruder: extruder
pause_on_runout: FALSE
runout_gcode:
  {action_respond_info("RUNOUT: Filament runout")}
  RESPOND PREFIX=tgnotify MSG="Filament runout detected"
  PAUSE
Dave2526 commented 1 year ago

Ok right I have searched for a runout code.. The respond command was not in my mind, thanks s lot