Skip to content
Alexander Krasnov edited this page Nov 25, 2024 · 10 revisions

Moonraker-telegram-bot wiki

Table of contents

  1. Features
  2. Sample commands
  3. Installation

Features

  • Printing progress notifications at custom intervals with pictures from a webstream/webcam
  • Light control for pictures and videos, confiugurable delay for camera adjustment
  • Configurable timelapsing
  • Configurable keyboard for easy control without command typing in the bot
  • Macro/gcode execution via the bot chat
  • Moonraker power device control for PSU/MCU
  • Sampling of photos/videos on request at any time
  • Pause, Cancel, Resume
  • Emergency stop
  • Upload g-code files to the chat to print them

Sample commands available

This is a basic overview of different commands available "out of the box" after installation. To get an indepth overview over available functionality you can check out the sample config page.
To get a better understanding on how to do useful stuff with the bot, see the page on klipper interaction and for ideas on usage check out the macro page. Commands can be entered directly in chat, suggested by telegram hightlightning or placed as buttons.

Command Description
/status get the status (printing, paused, error) of the printer
/pause pause the current print
/resume resume the current print
/cancel cancel the current print
/files list available G-code files for printing
/macros list all available non-hidden macros
/gcode %gcode% run any gcode command, spaces are supported
/%macro_name% run any macro available on your system
/photo capture a picture from the webstream/webcam
/video capture a video from the webstream/webcam
/power turn off a specified moonraker power device
/light toggle a specified moonraker power device
/emergency run an emergency stop
/logs get logs from klipper, moonraker and the bot as an archive
/upload_logs upload the logs to the log analyzer kindly made and provided by CODeRUS
/ip get the private ip of the machine the bot is installed on
/bot_restart restart the bot to apply config changes
/shutdown shut down the host system

Installation

Please refer to the installation instructions.