slintak / Octoslack

Slack/Mattermost plugin for OctoPrint

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Octoslack

An OctoPrint plugin for monitoring your printer and prints via Slack or Mattermost

Features

  • Support for both Slack and Mattermost
  • Monitor both print status as well as printer connectivity status
  • Slack+Mattermost WebHooks and Slack API Token
  • Respond to Slack commands to check print status or cancel/pause/resume a print
    • Requires use of the Slack API Token
  • Customizable messages
  • Support for posting to one more channels as well as event level channel overrides
  • Support for inclusion of RasPi temperature, bed temperature, nozzle temperates, and nozzle height
  • Custom bot name/icon/emoji
  • Optional inclusion of printer snapshot images with each message
    • Support for snapshot hosting on either Amazon S3 or Imgur (with album support)
  • Support for additional snapshot images from IP cameras

Supported Events

  • Print started
  • Print failed
  • Print cancelled
  • Print paused
  • Print resumed
  • Print finished
  • Print progress (% complete)
  • Print progress (time interval)
  • Print progress (Z height change)
  • G-code sent to printer
  • Timelapse render started
  • Timelapse render finished
  • Timelapse render failed
  • OctoPrint error
  • OctoPrint started
  • OctoPrint stopped
  • Printer connecting
  • Printer connected
  • Printer disconnecting
  • Printer disconnected

Manual installation steps

pip install "https://github.com/fraschetti/Octoslack/archive/master.zip"

Examples

Print Started

Print started example

Left = Slack / Right = Mattermost

Print Progress

Print progress example

Left = Slack / Right = Mattermost

Print Finished

Print finished example

Left = Slack / Right = Mattermost

About

Slack/Mattermost plugin for OctoPrint

License:MIT License


Languages

Language:Python 55.3%Language:JavaScript 23.2%Language:HTML 20.7%Language:CSS 0.8%