Closed Anathema-Device closed 5 months ago
That error number appears to be related to this knowledge base FAQ: https://help.prusa3d.com/article/puppy-error-17516-xl_400144?
Yes, I already found the Prusa docs long ago and opened the forum post. However the problem ONLY occurs if I try to have the auto-connect configured when turning on with the TPLinkSmartPlug plugin regardless of the delay. When the USB port is enabled it apparently sends a reset to the port and that results in the printer boot failing. Seems to me that it could be resolved by not programming the USB connection at all until it is time to connect.
Weird. The plugin doesn't really manage the USB ports themselves, just the process of powering on the plug and doing the connection from OctoPrint. So what you're saying is if the plugin is disabled, the printer turned off, and OctoPrint powered on and connected; when you power on the printer and then go to OctoPrint and hit the connect button it doesn't cause the same error?
It is odder than that. If I configure the plugin to not auto-connect when powered on then I can turn the printer on with the plugin then when it has started click connect in Octoprint and it connects perfectly with the USB cable plugged in all the time.
can you do me a favor and enable debug logging in the plugin settings and restart octoprint. try the process and then when it fails again, share with me the plugin_tplinksmartplug_debug.log, octoprint.log, and screenshots of your settings for the individual plug and the overall setting for the plugin.
This issue has been automatically marked as stale because it has not had activity in 14 days. It will be closed if no further activity occurs in 7 days
Describe the bug When Octoprint with the TPLINKSmartplug plugin is plugged into a Prusa XL and the TPLinkSmartplug plugin is configured to connect on power-up the printer will fail to boot with "Puppy Error 17516". Setting the connect time to 60 seconds or more does not resolve the problem. It can be recovered by going to the printer and pressing reset then back in Octoprint clicking connect when the printer has started.
My guess would be that the USB serial connection is being programmed BEFORE the configured delay and that is causing the issue
To Reproduce Steps to reproduce the behavior:
Expected behavior At step 5 the printer should start then after the configured delay the USB connection will be configured and connect
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context None that I can think of