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

Latest OctoPrint update broke the "Automatically turn PSU OFF when idle" #252

Open
akamakamak opened this issue Oct 3, 2022 · 17 comments
Open

Comments

@akamakamak
Copy link

akamakamak commented Oct 3, 2022

What were you doing?

  1. After upgrading to OctoPrint 1.8.3/OctoPrint 1.8.4 the printer no longer shuts off when idle
  2. I reverted back to OctoPrint 1.8.0 and everything works
  3. ...

What did you expect to happen?

What happened instead?

Version of OctoPrint-PSUControl

Operating System running OctoPrint

Printer model & used firmware incl. version

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

@mdeeter
Copy link

mdeeter commented Oct 5, 2022

I fixed mine (Octoprint 1.8.4) using my Ender 3 S1 by adding M155 to the ignore commands option in the plug in.

image

https://marlinfw.org/docs/gcode/M155.html
M155 is the temperature report .

I noticed that the M155 command is kicked off in the terminal at Octoprint startup.

@akamakamak
Copy link
Author

Thank you Michael.
I have tried it but it does not work for me.

@nettunoroberto
Copy link

thanks Michael, but even for me it does not solve the problem. I have Klipper

@courtpl
Copy link

courtpl commented Nov 22, 2022

I have exactly the same behaviour.
The printer no longer shuts off when idle

@ClassicGOD
Copy link

If you are using LightsOut plugin remember to add the gcode commands used by this plugin to the ignored command list. LightsOut sends the set gcode command (to turn the lights off) every configured period of inactivity (not just once) if the PSU Control idle timeout is longer it will never see printer as idle even if the sent gcode is only "virtual" gcode for a plugin like GCODE System Commands.

If it still does not trigger for you observe the Terminal to see what other gcode is sent to your printers.

@courtpl
Copy link

courtpl commented Jan 30, 2023

I d'ont use this LightsOut plugin

@anthonielamay
Copy link

Was there ever a resolution for this? Recently flashed the new Octopi 1.0.0 and the "Automatically turn PSU OFF when idle" does not seem to work anymore. Using a Prusa MK3S+. Octopi connected via RPi4/USB. Checked terminal; it does not seem to be sending anything to the printer. Just the printer sending temp messages.

@akamakamak
Copy link
Author

akamakamak commented Feb 27, 2023

Was there ever a resolution for this? Recently flashed the new Octopi 1.0.0 and the "Automatically turn PSU OFF when idle" does not seem to work anymore. Using a Prusa MK3S+. Octopi connected via RPi4/USB. Checked terminal; it does not seem to be sending anything to the printer. Just the printer sending temp messages.

Can you downgrade the OctoPrint with the latest OctoPi?
For me the last working is OctoPrint 1.7.3, but I am still on OctoPi 0.18.0

@kantlivelong
Copy link
Owner

@akamakamak
Copy link
Author

https://raw.githubusercontent.com/kantlivelong/OctoPrint-PSUControl/master/.github/ISSUE_TEMPLATE.md

Also include serial logs.

Is the add-on working for you?

@kantlivelong
Copy link
Owner

https://raw.githubusercontent.com/kantlivelong/OctoPrint-PSUControl/master/.github/ISSUE_TEMPLATE.md
Also include serial logs.

Is the add-on working for you?

My printing environment is offline at the moment.

@courtpl
Copy link

courtpl commented Mar 12, 2023

Definitively, I have exactly the same behaviour.
The printer no longer shuts off when idle

browser.user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36 Edg/110.0.1587.69
connectivity.connection_check: 1.1.1.1:53
connectivity.connection_ok: True
connectivity.enabled: True
connectivity.online: True
connectivity.resolution_check: octoprint.org
connectivity.resolution_ok: True
env.hardware.cores: 4
env.hardware.freq: 1400.0
env.hardware.ram: 780967936
env.os.bits: 32
env.os.id: linux
env.os.platform: linux
env.plugins.pi_support.model: Raspberry Pi 3 Model B Plus Rev 1.3
env.plugins.pi_support.octopi_version: 0.17.0
env.plugins.pi_support.throttle_check_enabled: True
env.plugins.pi_support.throttle_check_functional: True
env.plugins.pi_support.throttle_state: 0x80000
env.python.pip: 20.2.3
env.python.version: 3.7.3
env.python.virtualenv: True
octoprint.last_safe_mode.date: unknown
octoprint.last_safe_mode.reason: unknown
octoprint.safe_mode: False
octoprint.version: 1.8.7
printer.firmware: Prusa-Firmware 3.12.1 based on Marlin
systeminfo.generated: 2023-03-12T20:40:00Z
systeminfo.generator: zipapi

@kantlivelong
Copy link
Owner

Definitively, I have exactly the same behaviour. The printer no longer shuts off when idle

browser.user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36 Edg/110.0.1587.69 connectivity.connection_check: 1.1.1.1:53 connectivity.connection_ok: True connectivity.enabled: True connectivity.online: True connectivity.resolution_check: octoprint.org connectivity.resolution_ok: True env.hardware.cores: 4 env.hardware.freq: 1400.0 env.hardware.ram: 780967936 env.os.bits: 32 env.os.id: linux env.os.platform: linux env.plugins.pi_support.model: Raspberry Pi 3 Model B Plus Rev 1.3 env.plugins.pi_support.octopi_version: 0.17.0 env.plugins.pi_support.throttle_check_enabled: True env.plugins.pi_support.throttle_check_functional: True env.plugins.pi_support.throttle_state: 0x80000 env.python.pip: 20.2.3 env.python.version: 3.7.3 env.python.virtualenv: True octoprint.last_safe_mode.date: unknown octoprint.last_safe_mode.reason: unknown octoprint.safe_mode: False octoprint.version: 1.8.7 printer.firmware: Prusa-Firmware 3.12.1 based on Marlin systeminfo.generated: 2023-03-12T20:40:00Z systeminfo.generator: zipapi

https://raw.githubusercontent.com/kantlivelong/OctoPrint-PSUControl/master/.github/ISSUE_TEMPLATE.md

@edwork
Copy link

edwork commented Mar 13, 2023

I began having this issue after installing the plugin on a fresh installation of the RasPi image based install. I realized this plugin wasn't working and subscribed to this thread.

Recently I realized that it started working again not having changed anything related to the plugin directly but I speculate it was after installing one or more additional plugins.

I've listed all installed plugins below, I highly suspect Octolapse was the package that "fixed" the Auto Off functionality.

Backup Scheduler
Enclosure Plugin
Filament Manager
Firmware Check
Firmware Updater
Heater Timeout
HomeAssistant Discovery
MQTT
MultiCam
OctoPod Notifications
Octolapse
PSU Control
PSU Control - Home Assistant
Preheat Button
PrintTimeGenius Plugin
Printer Dialogs
Printer Notifications
Slic3r
Telegram
Themeify

@akamakamak
Copy link
Author

akamakamak commented Mar 13, 2023

I had the Octolapse plugin installed all along.

@kumters
Copy link

kumters commented May 14, 2023

I have PRUSA MINI and MK3S. There were no problems with PSU Control on MINI at all. Some months ago, I discovered the same issue as these guys on my MK3S. I have tried many things (based on this topic) without success. I tried to enable debug and check logs - nothing in the logs (it needs more detailed debug logs - by the way).

Today I decided to do some more debugging again, and based on this "Octolapse info", I checked my plugins and discovered that I had installed and enabled it on MINI but installed and disabled it on MK3S. I enabled Octolapse on MK3S and Woala, and it started to work. If @kantlivelong wants to do some deep debugging and testing, I'm ready to help:)

@kumters
Copy link

kumters commented May 15, 2023

OK, I was happy too early:( more printing and some testing = it works after a full octoprint reboot. It will stop working after the print.

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

No branches or pull requests

9 participants