Notifications
Clear all

MK4 + Octoprint  

Page 3 / 4
  RSS
cphoton
(@cphoton)
Eminent Member
RE: MK4 + Octoprint

I'm wondering if the problem here is related to using Raspberry Pi 4's USB-C port in host mode.

To folks who experienced the problem: are you connecting the USB-C port of the printer to the USB-C port of the Raspberry Pi? if yes, can you try connecting it to one of the USB 2/3 ports?

Posted : 10/04/2023 8:43 pm
ScottW
(@scottw)
Estimable Member
RE:

Uh, no.  They ARE connected to a Pi usb2 or usb3 port.  The usb-c port of the Pi4 is for power INPUT to the Pi only -- it cannot be used for communication.

Posted by: @cphoton

I'm wondering if the problem here is related to using Raspberry Pi 4's USB-C port in host mode.

To folks who experienced the problem: are you connecting the USB-C port of the printer to the USB-C port of the Raspberry Pi? if yes, can you try connecting it to one of the USB 2/3 ports?

 

Posted : 10/04/2023 8:57 pm
gglockner liked
ScottW
(@scottw)
Estimable Member
RE:

 

Posted by: @scottw

Uh, no.  They ARE connected to a Pi usb2 or usb3 port.  The usb-c port of the Pi4 is for power INPUT to the Pi only -- it cannot be used for communication.

To clarify, I suppose they *could* if the pi4 were being powered elsewhere (like gpio pins) and they've properly set the usb-c for host mode.  But it is rare for people to do that, there was no mention of it in any of the posts, *and* I saw at least one post with this problem (either here or on reddit) specifically mentioning they were using a USB-A to USB-C cable.  So, whatever the issue/conflict some are having is when wifi/ethernet is connected, it isn't related to using the Pi4's usb-c port for printer connection.  Seems more likely a Prusa firmware or board issue?

Posted : 10/04/2023 10:05 pm
cphoton
(@cphoton)
Eminent Member
RE: MK4 + Octoprint

It is actually possible to use the USB-C port in OTG/Host mode, although that’s disabled by default and there’s some caveats. Just wanted to chime in to discard this not being a case of folks trying to connect the Pi in a less common setup.

Posted by: @scottw

Uh, no.  They ARE connected to a Pi usb2 or usb3 port.  The usb-c port of the Pi4 is for power INPUT to the Pi only -- it cannot be used for communication.

Posted by: @cphoton

I'm wondering if the problem here is related to using Raspberry Pi 4's USB-C port in host mode.

To folks who experienced the problem: are you connecting the USB-C port of the printer to the USB-C port of the Raspberry Pi? if yes, can you try connecting it to one of the USB 2/3 ports?

 

 

Posted : 10/04/2023 10:08 pm
Zakoplex
(@zakoplex)
Eminent Member
RE: MK4 + Octoprint

I had hoped to do this but the Upload via WiFi from PrusaSlicer direct to the MK4 is super slow.  Even the the ethernet is a little slow for sending files direct.  Just came to this thread to see if I could plug in a Pi to the USB so I can send from PrusaSlicer to OctoPrint.  Other thing is that a piCamera is just easier and less to deal with that an old android phone plugged in sending a photo every 30 seconds.  

I'm hoping the PrusaLink/Connect comes along but the MK4 onboard module is very very slow.  It's included, and I've been using it for a few days, but wow.  Snails pace.  

Posted by: @neolker

Since https://connect.prusa3d.com/ is mature enough, I recommend use Prusa Connect instead of Octoprint.

 

Posted : 10/04/2023 11:10 pm
cphoton
(@cphoton)
Eminent Member
RE: MK4 + Octoprint

Yeah, I agree - the only thing that made me think otherwise is the poster that made it work with a Raspberry Pi 3 without having to disable Wi-Fi. Most likely a software issue, or some weird interference between the Wi-Fi module and the USB-C interface.

Posted by: @scottw

 

Posted by: @scottw

Uh, no.  They ARE connected to a Pi usb2 or usb3 port.  The usb-c port of the Pi4 is for power INPUT to the Pi only -- it cannot be used for communication.

To clarify, I suppose they *could* if the pi4 were being powered elsewhere (like gpio pins) and they've properly set the usb-c for host mode.  But it is rare for people to do that, there was no mention of it in any of the posts, *and* I saw at least one post with this problem (either here or on reddit) specifically mentioning they were using a USB-A to USB-C cable.  So, whatever the issue/conflict some are having is when wifi/ethernet is connected, it isn't related to using the Pi4's usb-c port for printer connection.  Seems more likely a Prusa firmware or board issue?

 

Posted : 11/04/2023 1:34 am
Helikopeter
(@helikopeter)
Active Member
RE:

It is indeed strange, as it also seems to be a problem when only the Ethernet Cable is plugged in without WIFI (I cannot test it yet as have no MK4 yet). I do think interference therefore might not be the explanation, but who knows. As far as I know the 32 Bit Board on the MINI works perfectly with Raspberry Pi, hope Prusa can fix the problem with a next firmware update as many (want to) use Octopi the MK4 with Octoprint and Raspberry 3 or 4.

Posted by: @cphoton

Yeah, I agree - the only thing that made me think otherwise is the poster that made it work with a Raspberry Pi 3 without having to disable Wi-Fi. Most likely a software issue, or some weird interference between the Wi-Fi module and the USB-C interface.

Posted by: @scottw

 

Posted by: @scottw

Uh, no.  They ARE connected to a Pi usb2 or usb3 port.  The usb-c port of the Pi4 is for power INPUT to the Pi only -- it cannot be used for communication.

To clarify, I suppose they *could* if the pi4 were being powered elsewhere (like gpio pins) and they've properly set the usb-c for host mode.  But it is rare for people to do that, there was no mention of it in any of the posts, *and* I saw at least one post with this problem (either here or on reddit) specifically mentioning they were using a USB-A to USB-C cable.  So, whatever the issue/conflict some are having is when wifi/ethernet is connected, it isn't related to using the Pi4's usb-c port for printer connection.  Seems more likely a Prusa firmware or board issue?

 

 

This post was modified 12 months ago by Helikopeter
Posted : 11/04/2023 6:37 am
Zakoplex
(@zakoplex)
Eminent Member
RE: MK4 + Octoprint

Looks like there are two similar threads.  I ended up putting OctoPrint on a Pi and connecting it to the USBC port successfully.  Only thing I needed to do was go into the menus and disable PrusaLink.  After that, OctoPrint connected successfully to the MK4.

https://forum.prusa3d.com/forum/english-forum-original-prusa-i3-mk4-general-discussion-announcements-and-releases/prusa-mk4-octoprint/paged/2/#post-651480

Posted : 11/04/2023 9:54 pm
Helikopeter
(@helikopeter)
Active Member
RE: MK4 + Octoprint

Thanks, better to continue in the thread you mentioned:

https://forum.prusa3d.com/forum/english-forum-original-prusa-i3-mk4-general-discussion-announcements-and-releases/prusa-mk4-octoprint/paged/2/#post-651480

 

Posted : 12/04/2023 9:04 am
addohm
(@addohm)
Estimable Member
RE: MK4 + Octoprint

I'm connecting to the USB2/3 ports.  AFIAK the USB-C port is for power only and I have no idea if the MK4 can deliver the 3A requirement.  Honestly, why would you need a wifi\ethernet connection both the pi and the MK4?  I can see one or the other but not both.

Posted by: @cphoton

I'm wondering if the problem here is related to using Raspberry Pi 4's USB-C port in host mode.

To folks who experienced the problem: are you connecting the USB-C port of the printer to the USB-C port of the Raspberry Pi? if yes, can you try connecting it to one of the USB 2/3 ports?

 

Posted : 18/04/2023 10:25 pm
addohm
(@addohm)
Estimable Member
RE: MK4 + Octoprint

I did disable prusalink and prusaconnect in my troubleshooting.  In the end it was switching the network option from Wifi to Eth that fixed it.  Now that I know the wifi module can be removed, that's another fix.

Posted by: @zakoplex

Looks like there are two similar threads.  I ended up putting OctoPrint on a Pi and connecting it to the USBC port successfully.  Only thing I needed to do was go into the menus and disable PrusaLink.  After that, OctoPrint connected successfully to the MK4.

https://forum.prusa3d.com/forum/english-forum-original-prusa-i3-mk4-general-discussion-announcements-and-releases/prusa-mk4-octoprint/paged/2/#post-651480

 

Posted : 18/04/2023 10:28 pm
Cloud1983
(@cloud1983)
Estimable Member
RE: MK4 + Octoprint

 

Posted by: @darthraptor

The blog post states that the new board has a Service USB-C port, does that mean I can still use a Raspberry Pi and Octoprint to control the printer? (Just need to buy a USB-A to USB-C cable) I know the new board has inbuild WiFi and Ethernet support, but I like the flexibility Octoprint offers with it's plugins.

With my Mk4. Octoprint with raspberry pi 4  works. But it is not 100% compatible. The Display from the printer don't show print status if you print and some other little things like octolaps don't work. But you can print with it. 

Posted : 22/04/2023 12:12 pm
bazmarc
(@bazmarc)
Active Member
RE: MK4 + Octoprint

Sadly the latest firmware 4.6.1 does nothing for enabling serial connection OCTO screen like on the mini 🙁  guess they have other things to fix before getting to that

Posted : 30/04/2023 4:55 am
Thowil
(@thowil)
New Member
RE: MK4 + Octoprint

 

Posted by: @bazmarc

Sadly the latest firmware 4.6.1 does nothing for enabling serial connection OCTO screen like on the mini 🙁  guess they have other things to fix before getting to that

Just because I was also annoyed by this and for some reason, I did not think of using this feature while a print was running until now:

The feedrate setting on Octoprint's control page works at any time. The "Speed"-item which can be set up for the LCD-footer also updates correctly when rates are changed in that way. 

 

Posted : 30/04/2023 7:00 am
bazmarc liked
bazmarc
(@bazmarc)
Active Member
RE: MK4 + Octoprint

Brilliant,  I wasn't sure if Flow Rate or Feed Rate was same as simply Speed on the user menu on the Mini... but i have now increase the Feed Rate on octiprint and sure enough the speed value on the footer of the printer updated and the printer went faster!

So that solves the main issue i had with Octo+MK4 ; being able to vary the speed of print in middle of printing for jobs sent from Octoprint 🙂

Thanks

 

 

Posted by: @thowil

 

Posted by: @bazmarc

Sadly the latest firmware 4.6.1 does nothing for enabling serial connection OCTO screen like on the mini 🙁  guess they have other things to fix before getting to that

Just because I was also annoyed by this and for some reason, I did not think of using this feature while a print was running until now:

The feedrate setting on Octoprint's control page works at any time. The "Speed"-item which can be set up for the LCD-footer also updates correctly when rates are changed in that way. 

 

 

Posted : 30/04/2023 7:00 pm
kevman
(@kevman)
Estimable Member
RE: MK4 + Octoprint

I just got a fresh octopi build connected and working with the Mk4, was wondering what changes need to be made withing Octoprint for the Mk4 ? is the bounding box the same?

Posted : 22/05/2023 9:58 pm
Walter Layher
(@walter-layher)
Honorable Member
RE: MK4 + Octoprint

Yes, the same bounding box works as on the MK3S. The -4 value is not necessary, that was for the priming line on the MK3S. The MK4 does that right next to the print.

Posted : 22/05/2023 11:32 pm
kevman
(@kevman)
Estimable Member
RE:

I have found one odd issue so far. My printers are connected via TP-Link Smartplugs and with a plugin ( https://github.com/jneilliii/OctoPrint-TPLinkSmartplug) , they automatically turn off after a set period of time when the printer is done and idle. This doesnt seem to work with the MK4, the plugin/octoprint isn't able to detect and idle state for the mk4

This post was modified 10 months ago by kevman
Posted : 02/06/2023 9:19 pm
Walter Layher
(@walter-layher)
Honorable Member
RE: MK4 + Octoprint

Yes, I have observed the same with the OctoPrint plugin for Tasmota that I use. The printer does not send its status back to OctoPrint when it is idle. But the shut-off for lost connection works. Happened for me a few times when the printer had a red screen. The connection was lost and the Tasmota plugin shut off the plug.

Posted : 02/06/2023 9:30 pm
Cloud1983
(@cloud1983)
Estimable Member
RE: MK4 + Octoprint

I even had the problem that my printer was connected to OctoPrint and I was printing from USB stick. After a while, OctoPrint just turned off the heater, because it didn't know that the printer was printing, but still noticed that the heater was on. And after a while OctoPrint then reports Time Out and switches off. Interesting is that the printer does not give an error message, although the hotend temperature is getting lower and lower. At some point, the printer simply stopped extruding, which is obvious.

Posted : 03/06/2023 5:54 pm
Page 3 / 4
Share: