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

Print stutters while Homeassistant is unavailable #262

Open
MrJoki007 opened this issue Mar 6, 2023 · 3 comments
Open

Print stutters while Homeassistant is unavailable #262

MrJoki007 opened this issue Mar 6, 2023 · 3 comments

Comments

@MrJoki007
Copy link

MrJoki007 commented Mar 6, 2023

Im using the PSU Control and PSU Control Homeassistant plugin, to turn my printer automaticaly off.
If my homeassistant gets unavailabe my printer starts to stutter.

  1. Start print
  2. Turn off homeassistant
  3. ...

What did you expect to happen?

Print continues as normal

What happened instead?

Print stutters

Version of OctoPrint-PSUControl

PSU Control (1.0.6)
PSU Control - Home Assistant (1.0.5)

Operating System running OctoPrint

DietPi on ThinClient

Printer model & used firmware incl. version

Prusa i3 MK3s+ 3.11.2

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

https://gist.github.com/MrJoki007/a048b1c4c08eb1c9d5ceeca03c597708

@ulope
Copy link

ulope commented Jun 30, 2023

Same problem here.
I think there are multiple issues here:

  1. There's no need to try "turning on" the printer while it's clearly already printing (i.e. serial connection is established and state is printing)
  2. The network request to HASS shouldn't block the whole octoprint main thread.

@ulope
Copy link

ulope commented Jun 30, 2023

Similar issues with other sub-plugins: #259, #243

@AJolly
Copy link

AJolly commented Dec 21, 2023

I get this issue even when HA is available, and everything has a wired ethernet connection. Was wondering wtf had happened to my printer.

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

3 participants