fieldOfView / OctoPrint-TerminalResponse

Octoprint plugin to monitor terminal outputs for regular expressions then respond with a command when matched.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OctoPrint-TerminalResponse

Monitors OctoPrint terminal for your defined regular expressions. When it detects a match, it will send your commands. Code is based off OctoPrint-ActionCommandsPlugin by benlye.

Setup

Install via the bundled Plugin Manager or manually using this URL:

https://github.com/xia0/OctoPrint-TerminalResponse/archive/master.zip

Configuration

Plugin settings

Enter your regular expression on the left. Place values you would like to extract in parentheses. Enter your commands on the right with a new line for each command. Enter (1), (2), etc... to substitute your values.

About

Octoprint plugin to monitor terminal outputs for regular expressions then respond with a command when matched.


Languages

Language:Python 74.3%Language:Jinja 16.4%Language:JavaScript 9.3%