jneilliii / OctoPrint-BambuPrinter

GNU Affero General Public License v3.0
110 stars 6 forks source link

Obico not seeing printer is printing #41

Open clutchkick512 opened 3 weeks ago

clutchkick512 commented 3 weeks ago

So I have a great stream from the webcam connected to my pi, bambu plugin is connected with auth key for my cloud A1. But obico never detects that a print has started. Im sure im missing something simple here but im not sure what it is.

jneilliii commented 3 weeks ago

In OctoPrint do you ever see the state panel change from operational to printing?

hashoom8 commented 2 weeks ago

the problem came back

jneilliii commented 2 weeks ago

In isssue #22 you mentioned that restarting your network fixed the issue @hashoom8. In either case, I need to have you guys enable debug logging in OctoPrint's logging settings for the plugin, reproduce the issue, and then share your plugin_bambuprinter_debug.log file.

hashoom8 commented 2 weeks ago

please explain which one you want Screenshot 2024-08-30 032319 Screenshot 2024-08-30 032301

jneilliii commented 2 weeks ago

share the plugin_bambu_printer_serial.log for starts.

aslabsalbeh commented 1 week ago

Same here. The problem possibly started with the 0.1.3 update. Octoprint sees the print and shows the temp values etc.. but it doesn't show when a print is started. It stays on "operational".

Attached my log file hoping that it might help... Thanks!!

plugin_bambu_printer_serial.log

jneilliii commented 1 week ago

from this log it appears to be getting into a file listing loop. can you also share octoprint.log there will be some additional information in there as well.

aslabsalbeh commented 1 week ago

octoprint.log

I started a print today and everything went fine after having the above issue in the last few days. The only thing I did was disconnect/reconnect the printer from Octoprint. That might have fixed the issue?

I attached the octoprint log anyways. Thank you for your support !

jneilliii commented 1 week ago

That very well could have knocked something loose. I know the A1/P1 devices are more susceptible to stop sending info to connected clients and reconnecting basically tells the printer "send your updates to me".

What happens when you send a print from the slicer the plugin realizes that the print starts and then checks to see if it is aware of the file's info (shows in file list). If it doesn't then it requests a file list from the printer to know what the file size is. It's that file size that is used to display print progress within OctoPrint.