Open Electronlibre2012 opened 1 year ago
EDIT : i have install PSU Control RPI.Gpio and select as "switching method" instead of GPIO, and select the plugin PSU Control RPI.Gpio as switching plugin, and it works.
Strange behavior is it works great on my Anycubic Chiron and my MeCreator2 on the same OctoPi (i have 3 instence), only with "PSU Control" @kantlivelong
Any idea to solve the KeyError 'switch' please?
What were you doing?
What did you expect to happen?
it power ON
What happened instead?
Nothing. If i use Gpio control plugin, it work
Version of OctoPrint-PSUControl
1.0.6
Operating System running OctoPrint
OctoPi, RPI4.
Printer model & used firmware incl. version
Anycubic I3 Mega
Link to octoprint.log with octoprnt.plugins.psucontrol set to DEBUG
https://drive.google.com/file/d/18ZT3Rh9c2Bp1zNA2n6FpO7EqsKINhzAA/view?usp=sharing
2023-04-16 17:27:39,302 - octoprint.plugins.psucontrol - ERROR - Exception while writing GPIO line Traceback (most recent call last): File "/home/pi/oprint/lib/python3.7/site-packages/octoprint_psucontrol/init.py", line 478, in turn_psu_on self._configuredGPIOPins['switch'].write(pin_output) KeyError: 'switch'
i found some same problem but my plugins are all up to date and i i switch to safe mode, i have no more PSU Control plugin active.
What can i do to help to solve this please?