Cura-OctoPrintPlugin icon indicating copy to clipboard operation
Cura-OctoPrintPlugin copied to clipboard

Cannot change option Turn on printer with - unknown plug

Open FrancYescO opened this issue 4 years ago • 6 comments
trafficstars

I was using both PSU Control and Tuya Smarplug plugin on my octoprint instance, the tuya plugin was unstable so i totally removed the plugin from octoprint, i never figure out how to set the plugin to turn on via PSU Control as both options in the selectbox are disabled and i have no possibility to change, it automatically select the last option (that actually i assume is the unistalled tuya smartplug plugin)

image

plugin v3.5.18 cura 4.9 octoprint 1.6.0

FrancYescO avatar May 03 '21 08:05 FrancYescO

i've solved by going to (MacOS)/Users/user/Library/Application\ Support/cura/4.9/machine_instances/myprinter.cfg and removing the line octoprint_power_plug = tuyasmartplug/3D Printer/192.168.1.103 after the restart finally the Unknown plug option disappeared and i'm able to select PSU Control

but i think this should be considered a bug.

FrancYescO avatar May 05 '21 23:05 FrancYescO

I had this problem too. When you change the OctoPrint's IP address in Cura, it should update the octoprint_power_plug line as well. It only changes the OctoPrint address, but octoprint_power_plug is left with the old IP address, causing this bug.

melyux avatar Oct 02 '21 22:10 melyux

Sofar I've only seen this reported by Mac OS users. I'll get this fixed in the next release.

fieldOfView avatar Oct 04 '21 11:10 fieldOfView

This looks like a MacOS specific issue in Qt: https://forum.qt.io/topic/123101/quick-controls-1-combobox-items-unselectable-on-macos

Unfortunately the fix (changing the controls to QtQuick 2) means that the dropdown will look ugly and be unreadable on current Mac OS systems (possibly limited to M1, but I am not sure of that).

Stuck between a rock and a hard place... I'll keep looking for solutions.

fieldOfView avatar Oct 04 '21 14:10 fieldOfView

Can you check if this is still an issue with Cura 5? This post has a prerelease of the OctoPrint Connection plugin: https://community.ultimaker.com/topic/40313-fieldofview-plugins-for-cura-50/

fieldOfView avatar Apr 29 '22 08:04 fieldOfView