-
-
Notifications
You must be signed in to change notification settings - Fork 58
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
[BUG]: With Prusa MK4 connected , the plugin fails to detect idle state and doesnt turn off the plug. #336
Comments
Please share screenshots of your overall settings and the individual plug's settings. Typically this is because you didn't enable the plug settings to turn off on idle. |
great, wasn't what I thought. If you don't mind, I see you have debug logging enabled and as long as OctoPrint was restarted after enabling that you should see a file plugin_tplinksmartplug_debug.log in the logging section of OctoPrint's settings. just to double-check use the icon to power off/on the printer and after the amount of time has elapsed for the idle timeout to trigger, let's see what's in that file. |
[2023-06-03 11:41:16,284] DEBUG: IP 192.168.1.196 is valid. |
This is a new one. If you go to your terminal tab in OctoPrint, please share a temperature report line. It appears they may have added something that option is trying to turn off and can't maybe. The rest issue timer happens when you connect to the web interface, so that's kind of expected. |
Recv: FIRMWARE_NAME:Prusa-Firmware-Buddy 5.0.0-ALPHA1+11007 (Github) SOURCE_CODE_URL:https://github.com/prusa3d/Prusa-Firmware-Buddy PROTOCOL_VERSION:1.0 MACHINE_TYPE:Prusa-mini EXTRUDER_COUNT:5 UUID: |
Do you happen to know what X is in that report? |
and A for that matter. |
haha no idea...this is a prusa Mk4 so its different I guess? |
Yeah, it's new and the idle timer keeps getting reset because the "target" is never able to be turned off. @kantlivelong will probably want to know about this as well, as I borrowed that idle timer code from PSU Control. |
Going to need full logs rather than snippets. Requested a new ticket be opened in the core plugin repo supplying all info. Edit: As mentioned in the ticket, if you're not actually using PSUControl then instead supply full debug logs for TPLinkSmartplug. |
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 |
re-opening this request @kevman28 as it is possible for me to work around this issue, just odd that Prusa is sending those additional temperatures. |
I've added a setting in the latest 1.0.4rc2 release that allows for setting heaters to be ignored coming from that temperature report. You should be able to add You can change the plugin's release channel in OctoPrint's Software Update settings to If it does work, please report back here and to the Prusa Forum post about OctoPrint compatibility that I saw you mentioning this issue as well. |
Thank you! I will test this out today and report back. EDIT2: it works somewhat I think , after a cancelled job it did exactly what it was setup for. However when I turn on thej printer and let it sit without any jobs it tends to stay on. not sure if this is by design or something else is missed in the output Here is my log - it turned off after a cancelled print [2023-07-02 09:19:40,041] DEBUG: Print cancelled, resetting job_power to 0 |
please share updated log after upgrading to debug why it's still not working as anticipated. |
I'm happy to report that this is resolved completely with the MK4 in the release candidate. Thank you for your great efforts here. |
I know this is closed but wanted to add some info about the MK4 temperature report format in case someone comes across it when searching. The "X:" is the heatbreak temperature (actual / target). Heatbreak target is set with "M142 Snn". The firmware controls the heatbreak fan speed in an attempt to keep it at or below the target temp. The "A:" is the controller board (MK4 "buddy board") temperature. If Prusa followed the same design as for their MINI model, the thermistor is located adjacent to the high-load connection for the heated bed - but I do not have confirmation of that yet. Only actual temp is reported (target is always 0). |
I think this problem might affect MK3 as well. My printer also no longer turns off on idle. Here's what the terminal outputs: Recv: T:28.1 /0.0 B:27.9 /0.0 T0:28.1 /0.0 @:0 B@:0 P:28.8 A:34.8 |
Looks like you will probably need the release candidate as well and add the |
I take that back. My printer just turned off by itself. I guess I just didn't wait as long as I thought I did. |
Describe the bug
With Prusa MK4 connected , the plugin fails to detect idle state and doesn't turn off the plug.
The text was updated successfully, but these errors were encountered: