Teacher of Computing | Automatically Shutdown Your Creality Printer Smart Plugs and OctoPrint @AhcMeUk | Uploaded 4 years ago | Updated December 14 2023
How to Shut Down your 3D Printer with a Smart Plug and octoprint plugin
Install URL: https://github.com/jneilliii/OctoPrint-TPLinkSmartplug/archive/master.zip
What the Settings mean:
IP
IP or hostname of plug to control.
Label
Label to use for title attribute on hover over button in navbar.
Icon Class
Class name from fontawesome to use for icon on button.
Warn
The left checkbox will always warn when checked.
The right checkbox will only warn when printer is printing.
GCODE
When checked this will enable the processing of M80 and M81 commands from gcode to power on/off plug. Syntax for gcode command is M80/M81 followed by hostname/ip. For example if your plug is 192.168.1.2 your gcode command would be M80 192.168.1.2
postConnect
Automatically connect to printer after plug is powered on.
Will wait for number of seconds configured in Auto Connect Delay setting prior to attempting connection to printer.
preDisconnect
Automatically disconnect printer prior to powering off the plug.
Will wait for number of seconds configured in Auto Disconnect Delay prior to powering off the plug.
How to Shut Down your 3D Printer with a Smart Plug and octoprint plugin
Install URL: https://github.com/jneilliii/OctoPrint-TPLinkSmartplug/archive/master.zip
What the Settings mean:
IP
IP or hostname of plug to control.
Label
Label to use for title attribute on hover over button in navbar.
Icon Class
Class name from fontawesome to use for icon on button.
Warn
The left checkbox will always warn when checked.
The right checkbox will only warn when printer is printing.
GCODE
When checked this will enable the processing of M80 and M81 commands from gcode to power on/off plug. Syntax for gcode command is M80/M81 followed by hostname/ip. For example if your plug is 192.168.1.2 your gcode command would be M80 192.168.1.2
postConnect
Automatically connect to printer after plug is powered on.
Will wait for number of seconds configured in Auto Connect Delay setting prior to attempting connection to printer.
preDisconnect
Automatically disconnect printer prior to powering off the plug.
Will wait for number of seconds configured in Auto Disconnect Delay prior to powering off the plug.