Skip to content

Triodes/OctoPrint-PSUControl-Shelly

 
 

Repository files navigation

OctoPrint PSU Control - Shelly

Adds Shelly support to OctoPrint-PSUControl as a sub-plugin
many thanks to @edekeijzer for initially developing this plugin

Setup

  • Install the plugin using Plugin Manager from Settings
  • Configure this plugin
  • Select this plugin as Switching and Sensing method in PSU Control
  • Turn off Auto-On in PSU Control or at least reduce the GCODEs that trigger it, the plugin will wait for a status update, which will lead to stuttering on slow connections or connection time-outs!

Configuration

The plugin can be used either with a direct connection to your Shelly or via Shelly Cloud.

Local connection

  • Uncheck the Use Shelly Cloud checkbox
  • Enter IP address
  • If your Shelly is password protected, check Use authentication and enter your username and password.

Shelly Cloud

  • Login at Shelly Cloud
  • Go to User Settings > Security > Autorisation Cloud Key
  • Click Get Key
  • Copy your server address (for example: https://shelly-13-eu.shelly.cloud) to the Server address field
  • Copy your authorization key (the long random string) to the Auth key field
  • Go to your Shelly device and click Settings > Device Information
  • Copy the device ID (the hexadecimal ID, not the numeric part between parentheses) to the Device ID field

Both options

If your Shelly has multiple outputs select the correct output. For single output Shelly devices keep it at 0.

Next Gen Devices

Devices starting from Gen 2 use Digest Auth instead of Basic. So tick the box if you are using a Gen 2 device or higher.

Support

Please check your logs first. If they do not explain your issue, open an issue in GitHub. Please set octoprint.plugins.psucontrol and octoprint.plugins.psucontrol_shelly to DEBUG and include the relevant logs. I'm currently not able to accomodate feature request and will only fix bugs at this time

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Python 63.4%
  • Jinja 36.6%