Notifications
Clear all

Connectivity issue with OctoPrint and Mini  

Strona 1 / 2
  RSS
iacyclone
(@iacyclone)
Active Member
Connectivity issue with OctoPrint and Mini

All,

I've been struggling off and on for about a week trying to get Octoprint to recognize my mini.  From this post ( https://forum.prusa3d.com/forum/user-mods-octoprint-enclosures-nozzles/when-will-we-have-octoprint-support/paged/2/#post-180213) it appears others have been successful.  Below are my setup details and the Octoprint log.  

Besides the /dev/tty* options I also have /dev/ttyAMA0 /dev/printk and /dev/ttyS0 .  In order for the test to get past "permission denied" on /dev/ttyS0 I had to chmod 777 but I know that's not a good idea.  I have tried reinstalling Octoprint and different USB cables (micro to type A)

Any thoughts on what to try next?

Raspberry Pi 4

Octoprint v 1.4.0

Serial Connection>General>SerialPort: Auto

Serial Connection>General>Baudrate: Auto

Serial Connection>General>Autoconnect: unselected

Serial Connection>General>Additional Serial Ports: empty

Serial Connection>General>AdditionalBaudrates: empty

Serial Connection>General>request exclusive access: unselected

Serial Connection>General>apply parity double open: always

2020-03-17 18:47:45,470 - Changing monitoring state from "Offline" to "Detecting serial port"
2020-03-17 18:47:45,497 - Serial port list: [u'/dev/ttyS0']
2020-03-17 18:47:45,497 - Connecting to: /dev/ttyS0
2020-03-17 18:47:45,504 - Changing monitoring state from "Detecting serial port" to "Error: Connection error, see Terminal tab"
2020-03-17 18:47:45,507 - Unexpected error while connecting to serial port: AUTO SerialException: '[Errno 13] could not open port /dev/ttyS0: [Errno 13] Permission denied: '/dev/ttyS0'' @ comm.py:_openSerial:2691 (hook default)
2020-03-17 18:48:35,005 - Changing monitoring state from "Offline" to "Detecting serial port"
2020-03-17 18:48:35,056 - Serial port list: [u'/dev/ttyS0']
2020-03-17 18:48:35,056 - Connecting to: /dev/ttyS0
2020-03-17 18:48:35,058 - Changing monitoring state from "Detecting serial port" to "Opening serial port"
2020-03-17 18:48:35,061 - Connected to: Serial<id=0xaa794590, open=True>(port='/dev/ttyS0', baudrate=115200, bytesize=8, parity='N', stopbits=1, timeout=10.0, xonxoff=False, rtscts=False, dsrdtr=False), starting monitor
2020-03-17 18:48:35,062 - Starting baud rate detection...
2020-03-17 18:48:35,063 - Changing monitoring state from "Opening serial port" to "Detecting baudrate"
2020-03-17 18:48:36,067 - Trying baudrate: 115200
2020-03-17 18:48:36,078 - Send: N0 M110 N0*125

........ tries all other baud rates unsuccessfully

2020-03-17 18:49:20,293 - Changing monitoring state from "Detecting baudrate" to "Error: No more baudrates to test, and no suitable baudrate found."
2020-03-17 18:49:20,313 - Changing monitoring state from "Error: No more baudrates to test, and no suitable baudrate found." to "Offline (Error: No more baudrates to test, and no suitable baudrate found.)"
2020-03-17 18:49:20,343 - Connection closed, closing down monitor

Best Answer by 3ddruckerlernen.de:

Happy to say, today with the new firmware 4.0.5 it works now with Octoprint and the PRUSA Mini. Tested on my previous installed image on a Raspberry Pi 4 from above, where i had problems with the connection.

Opublikowany : 17/03/2020 7:06 pm
Gordon W
(@gordon-w)
Reputable Member
RE: Connectivity issue with OctoPrint and Mini

It might be worth asking the question in the Octoprint forum ( https://community.octoprint.org/

Opublikowany : 18/03/2020 8:43 am
iacyclone
(@iacyclone)
Active Member
Topic starter answered:
RE: Connectivity issue with OctoPrint and Mini

I thought about it but I know that the Mini is still technically unsupported...

Opublikowany : 18/03/2020 4:21 pm
juergen.berlin
(@juergen-berlin)
Active Member
RE: Connectivity issue with OctoPrint and Mini

Hey Steve,

I got mine with a stock Octopi Image on a Raspberry Pi 3b+ running without any issues or any modifications from my end (I am a total noob). Installation was done about 2 weeks ago. The only difference I can spot is the Raspberry Pi3 instead of the 4 in your setup. Do you happen to have an old 3 lying around? Might be worth to test. 

Attached screenshot shows my settings

 

Opublikowany : 30/03/2020 8:24 am
omari polubić
bradmcgonigle
(@bradmcgonigle)
Eminent Member
RE: Connectivity issue with OctoPrint and Mini

Weird! I'm running OctoPrint 1.4.0 on a Pi 4 with no issues since January. I don't think I had to change anything with the connection settings either.

What printer firmware are you running?  I've run it on all the previous firmwares and am currently using 4.0.5-RC1.

Opublikowany : 30/03/2020 3:13 pm
juergen.berlin
(@juergen-berlin)
Active Member
RE: Connectivity issue with OctoPrint and Mini
Posted by: @bradmcgonigle

How did you get Octoprint to look so nice? That is amazing!

This post was modified 4 years temu by juergen.berlin
Opublikowany : 30/03/2020 3:49 pm
bradmcgonigle
(@bradmcgonigle)
Eminent Member
RE: Connectivity issue with OctoPrint and Mini
Posted by: @juergen-berlin
Posted by: @bradmcgonigle

How did you get Octoprint to look so nice? That is amazing!

Thanks!  I've got a couple of plugins.

Header/Navbar

  • Floating Navbar
  • Octolapse (creates better timelapses - I use a dev version that currently works with the Prusa Mini - see here for details)
  • Simple Emergency Stop (quickly stop a print)
  • TouchUI (for mobile phone layout)

Left Column

Right Content Area

  • Tab Order (customize the tabs.  I use icons only so I can fit more tabs without having to use the dropdown)
  • Dashboard (I use temp gauges, fan gauge, printer message (M117), job process gauge, layer progress gauge, layer duration graph)

I have a bunch of other plugins I use as well:

Opublikowany : 30/03/2020 6:34 pm
iacyclone
(@iacyclone)
Active Member
Topic starter answered:
RE: Connectivity issue with OctoPrint and Mini

Thanks for posting I appreciate it.  It is good to see the settings.  I also wonder if it is a problem with the Pi 4.  I don't have /dev/ttyACM0 but I have /dev/ttyAMA0 and have tried the 115200 baud rate with no success either.  I will look into the Pi4 and see if that's the issue.  I really doing want to go down the path of purchasing a 3b+ just for this but we'll see.

Opublikowany : 31/03/2020 12:44 am
xhale
(@xhale)
New Member
RE: Connectivity issue with OctoPrint and Mini

If you installed manually, might be worth checking permissions/rerunning the following:

sudo usermod -a -G tty pi

sudo usermod -a -G dialout pi

Source: https://community.octoprint.org/t/setting-up-octoprint-on-a-raspberry-pi-running-raspbian/2337

Opublikowany : 03/04/2020 12:53 pm
towlerg
(@towlerg)
Noble Member
RE: Connectivity issue with OctoPrint and Mini

@steve-d14

Can I suggest that you post on the OctoPrint forum?

Opublikowany : 03/04/2020 3:00 pm
3ddruckerlernen.de
(@3ddruckerlernen-de)
Active Member
RE: Connectivity issue with OctoPrint and Mini

I have the same problems with Octoprint and the Prusa Mini. I get no serial port to connect. Above steps did not help. I also tried it on a Raspberry Pi 4 and a Raspberry Pi 3B+. Always the same results. Could it be another problem?

Opublikowany : 04/04/2020 6:37 am
iacyclone
(@iacyclone)
Active Member
Topic starter answered:
RE: Connectivity issue with OctoPrint and Mini

@gordon-w and @towlerg - I did post on the Octoprint site on 3/18 and haven't received any responses. https://community.octoprint.org/t/prusa-mini-connectivity/17286

 

@xhale - I tried re-running the steps you suggested and no luck but thanks for suggesting.  I also started a fresh Octopi install (using the Prusa KB article https://help.prusa3d.com/en/article/octoprint-building-an-image-for-raspberry-pi-zero-w_2182/#how-to-download-or-create-your-own-rpi-zero-w-octoprint-image,  even though it was for a MK3) and tried it on both a Zero and the pi 4 with no luck.

 

Unless anyone has any other ideas, at this point I am probably going to cut my losses.  Not sure what else to try and I'd rather be designing and printing vs. debugging something that's not officially supported by either side (Prusa or Octoprint).  I guess I'll wait for 4.0.5 to come out for LAN connectivity to be re-enabled/working.

@amim - I feel your pain.  Let me know if you ever find something that works for a pi 4 & the Mini (or any pi for that matter :), I've tried a zero-w, 4 & 2B)

Opublikowany : 04/04/2020 4:00 pm
Gordon W
(@gordon-w)
Reputable Member
RE: Connectivity issue with OctoPrint and Mini

@steve-d14

Sorry the Octoprint forum didn't help.  I'm still waiting for my mini, so can't be much help in diagnosing the issue. The only thought I can offer is try installing Octopi rather than Octoprint, this should be configured to run on a Pi with zero config.

Opublikowany : 05/04/2020 9:15 am
3ddruckerlernen.de
(@3ddruckerlernen-de)
Active Member
RE: Connectivity issue with OctoPrint and Mini

@steve-d14 Thank you for your explanation and links. Of course i will let you know here, when there is any solution that works for me. 🙂 As an alternative i tried astroprint.com already, but has no Mini Support too. Also i looked into repetier.com, it says "Repetier-Host works with almost all popular 3D FDM printers!", but did not have the time right now to test it with the mini.

@gordon-w "installing Octopi rather than Octoprint" Is octoprint.org not the same as Octopi? Could you explain you it more what is to do when there is a difference between this two?

This post was modified 4 years temu 2 times by 3ddruckerlernen.de
Opublikowany : 05/04/2020 10:07 am
towlerg
(@towlerg)
Noble Member
RE: Connectivity issue with OctoPrint and Mini

@gordon-w

"this should be configured to run on a Pi with zero config." I believe OctoPi will run on any Pi. I suspect the confusion is that Pi zero plugs directly into Mk3s main board.

Pi zero is no longer recommended for OctoPrint.

Opublikowany : 05/04/2020 2:18 pm
towlerg
(@towlerg)
Noble Member
RE: Connectivity issue with OctoPrint and Mini

@amim

from the horses mouth

No, OctoPrint and OctoPi are not the same thing.

OctoPrint  is a fully featured print server/web interface for 3D printers, written in Python and HTML/JS. It is platform agnostic and runs basically everywhere where you can install Python (the full version, not Micropython), be it a cheap single PCB computer like the Raspberry Pi running Linux, a fully featured gaming PC running Windows, a Mac running MacOSX or a server running some BSD flavor. It was created and is actively maintained by Gina Häußge aka @foosel.

OctoPi  on the other hand is a preconfigured image for the Raspberry Pi. It is based on the Raspbian Lite image by the Raspberry Pi Foundation 162 and bundles OctoPrint plus mjpg-streamer as a webcam server plus CuraEngine plus a couple of scripts to make your life easier and allow for easy initial setup. This image is probably the most common form of running OctoPrint. It was created and is actively maintained by Guy Sheffer aka @guysoft.

Think of it this way: OctoPi is more or less the operating system, OctoPrint is the main application that runs on it and actually talks to your printer.

Opublikowany : 05/04/2020 2:23 pm
juergen.berlin
(@juergen-berlin)
Active Member
RE: Connectivity issue with OctoPrint and Mini

I will summarize how to get this working:

1. Use a Raspberry Pi 3b+ or 4

2. Download the Octopi 0.17 image from https://octoprint.org/download/

it works out of the box!

use another USB Micro cable if you experience connectivity issues. Use another USB port on the Raspberry.

Only post back if the above did not work. This is proven to work. No one will be able to troubleshoot individual or manual Octoprint installations.

Report success here. 

Opublikowany : 05/04/2020 6:58 pm
Gordon W
(@gordon-w)
Reputable Member
RE: Connectivity issue with OctoPrint and Mini

@towlerg

No confusion here. I never referred to any particular model of Raspberry Pi. My suggestion was to try Octopi instead of Octoprint as it would be configured to run on the Pi "out of the box" without having configuration problems.

Opublikowany : 05/04/2020 8:55 pm
towlerg
(@towlerg)
Noble Member
RE: Connectivity issue with OctoPrint and Mini

@gordon-w

My reply was to Amin who asked "Is octoprint.org not the same as Octopi? " Thats the reason I put @Amin at the top of the post.

Opublikowany : 06/04/2020 10:47 am
3ddruckerlernen.de
(@3ddruckerlernen-de)
Active Member
RE: Connectivity issue with OctoPrint and Mini

Happy to say, today with the new firmware 4.0.5 it works now with Octoprint and the PRUSA Mini. Tested on my previous installed image on a Raspberry Pi 4 from above, where i had problems with the connection.

This post was modified 4 years temu by 3ddruckerlernen.de
Opublikowany : 17/04/2020 6:19 pm
Strona 1 / 2
Share: