OutsourcedGuru / OctoPrint-USBControl

An OctoPrint plugin to allow USB ports to be programmatically turned OFF and ON from within the web interface

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

USBControl not working on latest iterations of OctoPi/OctoPrint

NewMC opened this issue · comments

commented

Updated to latest versions of OctoPi (0.18.0) and OctoPrint (1.5.3) on RPi 3B. USBControl has always worked for me on this specific hardware with several different iterations of OctoPi/OctoPrint. USBControl is installed but does not appear in the list of plugins. I also notice that after each OctoPrint restart instance USBControl is disabled in the plugin manager, enabling it does not seem to help. Any recommendation on next steps?

commented

I do see an icon in the plugin manager that indicates "Incompatible with OctoPrint or the underlying Python environment." Is it not compatible with Python versions > 3?

thought it would be more elegant to solve the problem with a plugin instead of a strip of paper, but have the same problem on a fresh octoprint 1.6.1 installation :-(
is this project still active and will there be a solution in near future?

Is this because OctoPrint moved to Python 3? Does this plugin need to be updated to work with 3?

Btw, @hugofant and others, if you fancy doing this slightly more manually, you can use uhubctl directly, which this plugin uses. The author has quite detailed steps on how to install it. And then you just control the usb power via ssh command line. Maybe theres a plugin somewhere to trigger ssh commands?

https://github.com/mvp/uhubctl

I noticed in the Network tab that a few others have forked this project, and added Python 3 / Rpi 4 support.

Check them out here: https://github.com/OutsourcedGuru/OctoPrint-USBControl/network