Skip to content
Simple plugin to control Orvibo S20 socket
Python HTML JavaScript CSS
Branch: master
Clone or download
Latest commit 7ff3b99 Sep 29, 2019

README.md

OctoPrint-OrviboS20

Work inspired by OctoPrint TP-Link WiFi SmartPlug, this plugin controls a TP-Link Smartplug via OctoPrint's nav bar. Python code to control the switch comes from Orvibo

Screenshots

screenshot

screenshot

screenshot

Setup

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

https://github.com/cprasmu/OctoPrint-OrviboS20/archive/master.zip

Configuration

Once installed go into settings and enter the ip address for your Orvibo S20 device. Adjust additional settings as needed.

Settings Explained

  • 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.
  • Warning Prompt
    • Always warn when checked.
  • Warn While Printing
    • Will only warn when printer is printing.
  • GCODE Trigger
    • 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
    • Added with version 0.1.0 you can now use the custom gcode commands @ORVIBOON and @ORVIBOOFF followed by the IP address of the plug. This option will only work for plugs with GCODE processing enabled. For example if your plug is 192.168.1.2 your gcode command would be @ORVIBOON 192.168.1.2
  • Auto Connect
    • 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.
  • Auto Disconnect
    • 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.
  • Run System Command After On
    • When checked will run system command configured in System Command On setting after a delay in seconds configured in System Command On Delay.
  • Run System Command Before Off
    • When checked will run system command configured in System Command Off setting after a delay in seconds configured in System Command Off Delay.
You can’t perform that action at this time.