Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Turn on prior to printing after API upload does not turn PSU on after an upload #249

Open
Simonlebucheron opened this issue Sep 13, 2022 · 1 comment

Comments

@Simonlebucheron
Copy link

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:
2022-09-02 (2)

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 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).

Case 2 screenshot
2022-09-13

@DanForever
Copy link

For what it's worth, this happens to me too. I'm using the Shelly smart plug plugin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants