Jump to content
DidierKlein

Installing OctoPrint for the Ultimaker 2

Recommended Posts

Posted · Installing OctoPrint for the Ultimaker 2

You need to add something to the config.yaml file:


Open ~/.octoprint/config.yaml (just create it if it doesn't exist yet) and add the following lines to it:
webcam:
stream: http://<your Raspi's IP>:8080/?action=stream
snapshot: http://127.0.0.1:8080/?action=snapshot
ffmpeg: /usr/bin/avconv

Source:

Share this post


Link to post
Share on other sites
Posted · Installing OctoPrint for the Ultimaker 2

Interesting. Wonder if it would work on pc or mac.

 

Share this post


Link to post
Share on other sites
Posted · Installing OctoPrint for the Ultimaker 2

Good news, at least Gina (the OctoPrint developer) is aware of this issue. I hope she will tackle it soon.


Share this post


Link to post
Share on other sites
Posted · Installing OctoPrint for the Ultimaker 2

Nicolinux, I'll try to put that yaml file in place tonight. In the meantime, do the settings within octoprint do the same thing as the yaml file? I tried those settings last night and it gave me a broken link icon where I was expecting to see the webcam feed appear.

 

Share this post


Link to post
Share on other sites
Posted · Installing OctoPrint for the Ultimaker 2

As far as I know, they do. So you should be able to configure the webcam output via the OctoPrint interface. Check that you can access the webcam url directly - so that you see the stream. If this is working, then OctoPrint should pick it up too. Also check that OctoPrint has permission to write to the config file.

 

Share this post


Link to post
Share on other sites
Posted · Installing OctoPrint for the Ultimaker 2

Thanks, Nicolinux! I have the webcam image showing in octoprint now.

 

Share this post


Link to post
Share on other sites
Posted · Installing OctoPrint for the Ultimaker 2

Does timelapse work when starting a print from the Ultimaker 2?

 

Share this post


Link to post
Share on other sites
Posted · Installing OctoPrint for the Ultimaker 2

Hi,

i installed octopi for my UM2 and everything runs fine except printing. I changed gcode falvor to reprap (Marlin/Sprinter).

When the print starts, it starts printing the object immediately. There is no startup procedure like when using ultigcode flavor and starting the print form sd card. So there is no material extruded at all when it starts printing.

This is the start code which is added when changing the flavor to reprap (I am using Cura 14.07):

 


;Sliced at: {day} {date} {time}

;Basic settings: Layer height: {layer_height} Walls: {wall_thickness} Fill: {fill_density}

;Print time: {print_time}

;Filament used: {filament_amount}m {filament_weight}g

;Filament cost: {filament_cost}

;M190 S{print_bed_temperature} ;Uncomment to add your own bed temperature line

;M109 S{print_temperature} ;Uncomment to add your own temperature line

G21 ;metric values

G90 ;absolute positioning

M82 ;set extruder to absolute mode

M107 ;start with the fan off

G28 X0 Y0 ;move X/Y to min endstops

G28 Z0 ;move Z to min endstops

G1 Z15.0 F{travel_speed} ;move the platform down 15mm

G92 E0 ;zero the extruded length

G1 F200 E3 ;extrude 3mm of feed stock

G92 E0 ;zero the extruded length again

G1 F{travel_speed}

;Put printing message on LCD screen

M117 Printing...

Is this code correct?

 

I'm having a similar problem with the gcode..

Is there a solution?

Thanks

 

Share this post


Link to post
Share on other sites
Posted · Installing OctoPrint for the Ultimaker 2

Found in a different topic :

 

Most likely the printer is not heating up then. You can try adding a:

M109 S220

To the start of the code.

 

... hope can help.

Guglielmo

 

Share this post


Link to post
Share on other sites
Posted · Installing OctoPrint for the Ultimaker 2

Found in a different topic :

... hope can help.

Guglielmo

 

Thanks

but the nozzle heats up.. there is no initial extrution

 

Share this post


Link to post
Share on other sites
Posted · Installing OctoPrint for the Ultimaker 2

I'm not an expert in gcode but maybe you have to increase the amount of extracted filament during priming?

G1 F200 E3

to

G1 F200 E9

for example? or maybe more i think that now the filament is retracted 20mm at the end of a print...

 

Share this post


Link to post
Share on other sites
Posted · Installing OctoPrint for the Ultimaker 2

@ PhilUM2:

If you mean the few cm extruted on the front left corner before printing ... is, If I have understood correctly, the UM2 firmware that do that when recognizes the ultigcode.

What probably you can do is what Didier suggest :

 

I'm not an expert in gcode but maybe you have to increase the amount of extracted filament during priming?

 

so ... try to increase the E value to ... 30mm (or more)

 


G1 F200 E30 ;extrude 30mm of feed stock

Guglielmo

 

Share this post


Link to post
Share on other sites
Posted · Installing OctoPrint for the Ultimaker 2

Hello,

A few weeks ago J3D asked:

"Does timelapse work when starting a print from the Ultimaker 2?"

I have the same problem ... is there a solution or a work around?

Best regards!

Michael

 

Share this post


Link to post
Share on other sites
Posted · Installing OctoPrint for the Ultimaker 2

Hi,

I've managed to get onto the desktop of the RPi. Only, there's only a waste basket, and no configs whatoever!

I've put the img 0.12.0 onto th micro SD card for my RPi 2B.

What can I do to get more than just a clean desktop?

Thanks in advance!

Leo.

Share this post


Link to post
Share on other sites
Posted · Installing OctoPrint for the Ultimaker 2

Good morning everybody,

Thank you for this tutorial. I recently installed octopi to control my UM2+ and it looks fantastic. A lot of things are working well, but I ve got a VERY BAD quality on printing.

If I print a gcode file using the SD card it is fantastic finish, whereas if I transfer the same file by octopi, the result seems to have too much material.. (layerrs are too large).

Do you have an idea of why ?

I noticed an interesting point in this tutorial "You can then upload your gcode directly to octoprint and watch all the magic in your web browser.

You'll need to set the gcode flavour to reprap in Cura for this to work (File -> Machine Settings)."

In Cura 2.1.2, where is this setting ? How shoud I set it ?

Thank you for your help :))

Share this post


Link to post
Share on other sites
Posted (edited) · Installing OctoPrint for the Ultimaker 2

There's a plugin for Cura 2.3 or newer to print directly to OctoPrint. The plugin is not compatible with Cura 2.1.2. You need Cura 2.3 or newer.

For the UM2+, make sure you read the readme of the plugin!

https://github.com/fieldOfView/OctoPrintPlugin/blob/2.3/README.md

Edited by Guest
  • Like 1

Share this post


Link to post
Share on other sites
Posted · Installing OctoPrint for the Ultimaker 2

The problem is that the prolog and epilog commands are generated in the LCD code rather than the lower level M-code handlers. I've started moving them over, see my fork of Ultimaker2Marlin, branches M720 (like M20, but show long filenames), and M723 (print a file the same as the LCD menu does).

Both should be considered (pre-)^5Alpha

Share this post


Link to post
Share on other sites
Posted · Installing OctoPrint for the Ultimaker 2

Did everything like described before. Everything works out but if i press the print button, says thank you and nothing happens at the octoprint server.. any ideas?

Share this post


Link to post
Share on other sites
Posted · Installing OctoPrint for the Ultimaker 2

Probably a long shot, but do you guys use Tinkergnome's firmware with Octoprint ?

Can't make Octoprint work :(

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Welcome to the Ultimaker Community of 3D printing experts. Visit the following links to read more about our Terms of Use or our Privacy Policy. Thank you!