Notifications
Clear all

Print From OctoPrint Leaves Printer In Wrong State  

  RSS
Elmo
 Elmo
(@elmo)
Eminent Member
Print From OctoPrint Leaves Printer In Wrong State

I have been having issues when using an external OctoPrint server to send jobs to my MK3. After the job ends, or if I have to cancel it, the MK3 is left in a state like it is printing a model from the SD card. Messages sent to the LCD by OctoPrint are not displayed, but instead, a model name from the SD card is. This doesn't happen all the time or right as the print starts. There is a SD card loaded and I think that might part of the problem because when I first started printing through OctoPrint, I didn't have a SD card in the slot and I don't remember this happening then.

Is there some special gcodes that need to be sent at the start/end of jobs from OctoPrint?

Napsal : 22/04/2018 7:08 pm
TwoWeims
(@twoweims)
Eminent Member
Re: Print From OctoPrint Leaves Printer In Wrong State

I have noticed the same thing. I thought it was a fluke. Mine displays some random file name from the card. Very strange. I am glad to hear it is not just me.

Napsal : 22/04/2018 8:06 pm
Scincidae
(@scincidae)
Member
Re: Print From OctoPrint Leaves Printer In Wrong State

I also have the same issue. My RPi has an SD card but my SD card slot on my printer doesn't work (well partially). My only fix is to click disconnect in OctoPrint and then reconnect which is annoying but doesn't take too much time.

Napsal : 22/04/2018 10:09 pm
reid.b
(@reid-b)
Reputable Member
Re: Print From OctoPrint Leaves Printer In Wrong State

Odd... mine doesn't do this, nor has it ever in the past. I am using a Raspberry PI B 3+, plugged into the USB port. Because it is a 3+, I have to use one of the nightly OctoPi builds- perhaps that is why I don't have the problem.

Napsal : 22/04/2018 10:54 pm
Elmo
 Elmo
(@elmo)
Eminent Member
Topic starter answered:
Re: Print From OctoPrint Leaves Printer In Wrong State


Odd... mine doesn't do this, nor has it ever in the past. I am using a Raspberry PI B 3+, plugged into the USB port. Because it is a 3+, I have to use one of the nightly OctoPi builds- perhaps that is why I don't have the problem.

I did see a comment in another post about a fix in 1.3.9 that fixes some sort of race condition with OctoPrint but not sure how OctoPrint itself would be causing the issue. If there is something OctoPrint is suppose to do at the end of a job, if we knew what it was we could add it to the end script. I don't have this problem on any of the other printers I use OctoPrint with.

Napsal : 23/04/2018 2:20 am
michael.c50
(@michael-c50)
Active Member
Re: Print From OctoPrint Leaves Printer In Wrong State

I also had this. I set the "After print job completes" script in Octoprint settings to "M84"... hasn't done that since. Let me know if that helps (I made quite a lot of changes during initial setup so not 100% that was it).

Napsal : 24/04/2018 3:25 am
Elmo
 Elmo
(@elmo)
Eminent Member
Topic starter answered:
Re: Print From OctoPrint Leaves Printer In Wrong State


I also had this. I set the "After print job completes" script in Octoprint settings to "M84"... hasn't done that since. Let me know if that helps (I made quite a lot of changes during initial setup so not 100% that was it).

Now I feel like an idiot. I forgot all about those scripts in OctoPrint. I used to use this one on a different printer and it still had code for it. Nothing that should cause the problem I brought up here, but does explain some of the behaviour I have been seeing. I already had a M84 in the slicer's end code, but added it to OctoPrint and will see what happens here.

EDIT: I had a job that was about finished and entered the changes in time. The unexpected behavior I was seeing at the end went away, but the panel on the printer still was in the wrong state. 🙁 Started another job, but it won't be finished until late. Will check the panel in the morning.

Napsal : 24/04/2018 3:36 am
Share: