Poket-Jony / Marlin-A4MaxPro-2.0.x

🖨 Marlin 2.0.x optimized for the Anycubic 4Max Pro 3D printer
GNU General Public License v3.0
54 stars 18 forks source link

[BUG] Auto shutoff always enabled even when you disable #35

Closed reclaimer5146 closed 4 years ago

reclaimer5146 commented 4 years ago

Bug Description

Auto shut off enables itself after disabling it when leaving the Status menu. If the printer sits idle for too long (with no print running), it auto shuts itself off after 15+ minutes, even after disabled. Tested both on and off Octoprint. Octorint log shows following (pay no attention to the current command, its irrelevant): octoprint.log.2020-03-07:| Recv: Error:!! KILL caused by too much inactive time - current command: M117 192.168.200.54

My Configurations

Configs.zip

Required: Please include a ZIP file containing your Configuration.h and Configuration_adv.h files.

Steps to Reproduce

  1. On screen go to SETUP --> Next Screen --> STATUS
  2. Uncheck "Auto shut off" (Top right of screen)
  3. Back out of STATUS and go back in. It's enabled again. Even if you disable and leave the printer alone it will auto shut off.

Expected behavior: [What you expect to happen] When you uncheck "Auto shut off" it should not auto shut off the printer after some time. It also should not enable itself again after you uncheck it. Actual behavior: [What actually happens] Printer auto shuts off even after you disable "Auto shut off". It also enables itself again when you leave the menu and go back.

Additional Information

reclaimer5146 commented 4 years ago

Tried using v2.1.9-rc as recommended in another reported issue. However, while the "Auto shut off" is disabled and doesn't enable again in the menu, it still auto kills due to inactive time even though the "auto shut off" has been turned off.

reclaimer5146 commented 4 years ago

This can be closed. Version v2.1.9-rc works. I realized the reason it was disabling is because I don't have Octoprint set to auto connect. So I would disable Auto Shut Off before Octoprint would connect. Once Octoprint connected it would restart the printer and would require disabling the auto shut off again. This is the same issue mentioned in bug #36 where a reboot would enable the auto shutoff again.