From 7bc0a006bcb51c066b6dc21e67e8b8eab802d195 Mon Sep 17 00:00:00 2001 From: JCsGotThis Date: Mon, 5 Feb 2024 15:51:39 -0500 Subject: [PATCH] minor updates version# formatting of Setup.pu and text in help tab. --- .../templates/sioreaction_settings.jinja2 | 42 ++++++++++++++++++- setup.py | 2 +- 2 files changed, 41 insertions(+), 3 deletions(-) diff --git a/octoprint_SIOReaction/templates/sioreaction_settings.jinja2 b/octoprint_SIOReaction/templates/sioreaction_settings.jinja2 index d321170..5fa7a0f 100644 --- a/octoprint_SIOReaction/templates/sioreaction_settings.jinja2 +++ b/octoprint_SIOReaction/templates/sioreaction_settings.jinja2 @@ -3,16 +3,54 @@

SIO Reaction Settings

+
+
+ Each reaction is run seperatly and each line in the commans of the Reaction is run seperately. They are run in the order that they are entered into the list. + You can add more than one reaction for the same IO point. GCODE reactions ignore the IO# (pin) setting and use the first line in the command list as the gcode + used to trigger the reaction. +
+
+

Command formating:

+
+
+ One command per new line in the command text box. Each command line must be prefixed with + 2 characters that indicate what type of command it is. +
+
+
+
"IO": Manupulate an IO point. This is only valid for configured output types.
+
+
Example (turns on IO point 11):
IO 11 on
+
+
IO supported actions 'on','off', and 'toggle'
+
+
"GC": Send GCode to GCode queue.
+
+
Example (sends gcode to gcode queue):
GC M118 Text for Printer
+
+
+
React to sent GCode
+
+
Example (detects gcode "M80" was sent to OctoPrint and turns on IO pin 11):
M80
IO 11 on
+
+
+ + + +
+
+
Add a row below for each reaction you want to create.
- You can add multiple commands to a reaction. One command per line. + You can add multiple commands to a reaction. One command per line. When configuring GCode Command reactions, the first command must be the GCode that the reaction will react to. + Command Lines must follow proper prefixing and format (See Help Tab).
diff --git a/setup.py b/setup.py index af00833..abb3e7d 100644 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ plugin_package = "octoprint_SIOReaction" plugin_name = "SIO Reaction" plugin_version = "0.1.0" -plugin_description = "Sub Plugin for SIO Control (v1+). Allows configuration of reactions to events like IO changes, gcode and more." +plugin_description = "Sub Plugin for SIO Control (v1+). Create reactions to changes in IO, GCode, and more." plugin_author = "jcassel" plugin_author_email = "jcassel@softwaresedge.com" plugin_url = "https://github.com/jcassel/OctoPrint-SIOReaction"