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

Not switching on at start of print job #39

Closed
FlyingPete opened this issue Oct 26, 2021 · 7 comments · Fixed by #55 or #77
Closed

Not switching on at start of print job #39

FlyingPete opened this issue Oct 26, 2021 · 7 comments · Fixed by #55 or #77
Labels
bug Something isn't working

Comments

@FlyingPete
Copy link

Hi, I have a small Prusa i3Mk3S+ print farm, all running OctoPrint with relay controlled nights on each printer.
I have tested with the OctoRelay plugin but I cannot get the switch on at start of print job to function, the switch off at completion works fine.
I have also tested with the Enclosure plugin, and switch on at start of print job works with that plugin.

@mattdy
Copy link

mattdy commented Nov 8, 2021

I'm also experiencing this after updating to OctoPrint 1.7.2

Auto-off after print completion still appears to work, but auto-on is no longer functioning.

@schneemaier
Copy link

I have the same issue. I usually print through Cura, but now i have connect to octoprint an manualy turn on the printer.

@FalcoonM
Copy link

Issue is still present I guess. Turning off after a print job works flawlessly, but relay does not engage at start. Might this be related to how upload is handled. New print just show on a list and are unable to start if printer is not connected. I have just a data cable - no 5V between Pi and board, don't kno if this would affect the issue.

@tonysprenk
Copy link

I'm having the same issue

@hcooper
Copy link
Contributor

hcooper commented Nov 28, 2022

I just filed #55 which fixes this for me.

The cause for me was that octorelay is processing other unactive configs too. In my case I was using pin 18, however there was an unactive config for "relay 3" which also used pin 18 which had inverted_output=True. So my pin 18 would go on, and then get turned off again straight away by the other config.

Until the fix is committed, if you use pins that conflict with any of the defaults listed below you might want to go in a put fake pin numbers in these configs:

R1 4
R2 17
R3 18
R4 23
R5 24
R6 25
R7 8
R8 7

@ninthclowd
Copy link

ninthclowd commented Jun 1, 2023

Until the fix is committed, if you use pins that conflict with any of the defaults listed below you might want to go in a put fake pin numbers in these configs:

R1 4
R2 17
R3 18
R4 23
R5 24
R6 25
R7 8
R8 7

thanks @hcooper for the workaround until #55 is merged!

@RobinTail RobinTail linked a pull request Jul 2, 2023 that will close this issue
@RobinTail RobinTail added the bug Something isn't working label Jul 19, 2023
@RobinTail
Copy link
Collaborator

🚀 @FlyingPete , the issue should be fixed in v1.4.1.
Please check it out, and in case it's not, please create another issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
8 participants