Skip to content

Commit

Permalink
Connected message
Browse files Browse the repository at this point in the history
  • Loading branch information
navaismo committed Dec 18, 2024
1 parent c16cf33 commit 2bd232b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion octoprint_E3V3SEPrintJobDetails/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ def on_after_startup(self):

def on_event(self, event, payload):
self._logger.info(f">>>>>> E3v3seprintjobdetailsPlugin Event detected: {event}") # Verify Events, Better to comment this


if event == "Connected":
self.send_O9000_cmd("OCON|")

if event == "PrintCancelled": # clean variables after cancellation
self.cleanup()
Expand Down Expand Up @@ -332,7 +336,7 @@ def get_elapsed_time(self):


__plugin_pythoncompat__ = ">=3,<4" # Only Python 3
__plugin_version__ = "0.0.1.1"
__plugin_version__ = "0.0.1.2"

def __plugin_load__():
global __plugin_implementation__
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
plugin_name = "OctoPrint-E3V3SEPrintJobDetails"

# The plugin's version. Can be overwritten within OctoPrint's internal data via __plugin_version__ in the plugin module
plugin_version = "0.0.1.1"
plugin_version = "0.0.1.2"

# The plugin's description. Can be overwritten within OctoPrint's internal data via __plugin_description__ in the plugin
# module
Expand Down

0 comments on commit 2bd232b

Please sign in to comment.