Uploading a file to octoprint does not turn on PSU automatically. The function "Turn on prior to printing after API upload" is however enabled in the settings as shown on the octoprint screenshot below.
Octoprint settings screenshot:
Note 1: PSU control work well with the switch button in the octoprint webpage.
Note 2: Switching on the PSU after uploading a file with cura work well when I use the dedicated function in the cura-octoprint plug-in, (more info below in case 2).
What did you expect to happen?
PSU should turn ON after uploading a file to octoprint.
What happened instead?
PSU stay off
Version of OctoPrint-PSUControl
PSU Control (1.0.6)
PSU Control - RPi.GPIO (1.0.4)
Operating System running OctoPrint
OctoPrint 1.8.2
Python 3.7.3
OctoPi 0.18.0
Printer model & used firmware incl. version
Hardware: Ender 3v2 printer, the 24V power supply of the v4.2.2 board is toggled by a relay and controlled via the pin 17 of the raspberry (with PSU control - RPI.GPIO).
Software: Cura 5.1.0, cura-octoprintplugin v3.7.2
Link to octoprint.log with octoprnt.plugins.psucontrol set to DEBUG
For the record, I made three different case in this log:
Case 1: At 2022-09-13 10:23:23 I sent a file to octoprint with cura and it does not turn ON as expected.
Case 2: At 2022-09-13 10:24:09 I sent a file to octoprint with cura but I enabled "start print job after uploading" so PSU turns ON, (switched off manually at 2022-09-13 10:24:43), see screenshot "case 2") below
Case 3: At 2022-09-13 10:25:07 I manually switch on the PSU with the psu button in octoprint webpage (switched off at 2022-09-13 10:25:29).
What were you doing?
Uploading a file to octoprint does not turn on PSU automatically. The function "Turn on prior to printing after API upload" is however enabled in the settings as shown on the octoprint screenshot below.
Octoprint settings screenshot:
Note 1: PSU control work well with the switch button in the octoprint webpage. Note 2: Switching on the PSU after uploading a file with cura work well when I use the dedicated function in the cura-octoprint plug-in, (more info below in case 2).
What did you expect to happen?
PSU should turn ON after uploading a file to octoprint.
What happened instead?
PSU stay off
Version of OctoPrint-PSUControl
PSU Control (1.0.6) PSU Control - RPi.GPIO (1.0.4)
Operating System running OctoPrint
OctoPrint 1.8.2 Python 3.7.3 OctoPi 0.18.0
Printer model & used firmware incl. version
Hardware: Ender 3v2 printer, the 24V power supply of the v4.2.2 board is toggled by a relay and controlled via the pin 17 of the raspberry (with PSU control - RPI.GPIO). Software: Cura 5.1.0, cura-octoprintplugin v3.7.2
Link to octoprint.log with octoprnt.plugins.psucontrol set to DEBUG
gist.github.com log file
For the record, I made three different case in this log:
Case 2 screenshot