kantlivelong / OctoPrint-PSUControl

Smart control of your power supply via GPIO, GCODE Command, System Command, or variety of sub-plugins.
GNU Affero General Public License v3.0
202 stars 112 forks source link

PSUControl doesn't work or is inconsistent in Docker installation #254

Closed 4rianton closed 1 year ago

4rianton commented 1 year ago

What were you doing?

  1. Installed Octoprint via prind, and turned up the containers
  2. Installed PSUControl Plugin
  3. Configured the PSUControl plugin according to my wiring.

What did you expect to happen?

To be able to turn off and on the relay via PSU Control provided UI

What happened instead?

It doesn't turn on. It did turn on once and I was able to turn the PSU on and off, but then it randomly stopped working again and I haven't gotten it to work again.

To make sure that my wiring is correct, I have tested my setup by using raspi-gpio on the terminal via SSH to set the GPIO pin (16) to output and then driving it low to turn my relay on.

Version of OctoPrint-PSUControl

1.0.6

Operating System running OctoPrint

Raspian 11 Bullseye

Printer model & used firmware incl. version

Ender-5, using Klipper

Link to octoprint.log with octoprnt.plugins.psucontrol set to DEBUG

https://gist.github.com/4rianton/f7c3a2aa71f0a0782e1add3fef97162e

kantlivelong commented 1 year ago

This is likely either a container issue or a wiring issue. Have you tested on bare metal?

4rianton commented 1 year ago

Hi @kantlivelong , thanks for your response. I just gave up on this after spending a lot of time. I moved to Klipper and Mainsail using KIUAH for now. This issue may be closed.