OctoPrint

Hi everyone,

Yesterday I loaded up a SD_card with OctoPi, an image of Raspbian preloaded
with OctoPrint and connected my K8200. It didn’t take me more then 15 minutes
from after I started my RPi until my printer was printing! And during that time
I even configured it to work over Wifi!

It works great! I just slice the model up in repetier and save the gcode and
upload it to OrcaPrint on my RPi via my web browser.

Just wanted to let you guys know!

/Jonas

Thanks for that information.

Pleas tell us more about it, the combination of RPi and K8200 sounds be very promising.

Not much to say actually :slight_smile:
Since most of the settings are in the slicver, not many ar needed
in OctoPrint, only the ones that are in the Printer Settings window
in Repetier.

OctoPrint is controlled via web interface, upload a G-code file and
click print, more or less!

I downloaded this image: http://www.gitiverse.com/octopi/, transfered
it to an SD-card, plugged it in to my RPi, along with network and
K8200 and booted it up. Then you just browse to you RPi’s IP-address
in you favourite browser. I haven’t tried the webcam feature yet,
since I ran out of USB-ports and didn’t find my hub.

There is a very good wiki on github regarding OctoPrint with a lot
of information, and also if you google some.

I can try to answer your questions here if you want :slight_smile:

I tried OctoPrint last week and it was very easy to get running, sadly I didn’t find it very reliable.
The one time it did seem to work only a fraction of the gcode uploaded so when I came back at the end of the print the head was just sitting in the middle of the print with the heaters still running.

Definitely worth trying, but with the release of the add on lcd screen and sd card reader it becomes a little less useful.

[quote=“ArthurGuy”]I tried OctoPrint last week and it was very easy to get running, sadly I didn’t find it very reliable.
The one time it did seem to work only a fraction of the gcode uploaded so when I came back at the end of the print the head was just sitting in the middle of the print with the heaters still running.

Definitely worth trying, but with the release of the add on lcd screen and sd card reader it becomes a little less useful.[/quote]

I havnät tried it very much yet, but will definitely use it and see how it works and if I find any quirks…

hi,

I tried octopi but couldn’t connect it to the printer. I tried different combinations of port and baudrate. What configuration do you use?

Hi,

this is my config.yaml file.

[code]accessControl: {}
appearance: {}
controls:

  • children:
    • command: M106 S%(speed)s
      input:
      • default: 255
        name: Speed (0-255)
        parameter: speed
        name: Enable Fan
        type: parametric_command
    • command: M107
      name: Disable Fan
      type: command
      name: Fan
      type: section
  • children:
    • command: M220 S%(speed)s
      input:
      • default: 100
        name: Speed (0-255)
        parameter: speed
        name: set
        type: parametric_command
    • command: M220 S100
      name: default
      type: command
      name: Speed
      type: section
      events:
      systemCommandTrigger:
      enabled: true
      subscriptions:
      • command: sh /home/pi/takepic.sh
        event: ZChange
      • command: sudo python ~/scripts/octoprint_python/printstart.py &
        event: PrintStarted
      • command: sudo python ~/scripts/octoprint_python/printdone.py &
        event: PrintDone
        feature: {}
        printerParameters:
        movementSpeed:
        x: 4800
        y: 4800
        z: 150
        serial:
        autoconnect: true
        baudrate: 250000
        port: /dev/ttyUSB0
        timeout: {}
        server:
        firstRun: false
        system:
        actions:
    • action: shutdown
      command: sudo shutdown -h now
      confirm: You are about to shutdown the system.
      name: Shutdown
    • action: reboot
      command: sudo shutdown -r now
      confirm: You are about to reboot the system
      name: Reboot
    • action: takepic
      command: /home/pi/takepic.sh
      name: Take picture
    • action: update
      command: sudo apt-get -y update && sudo apt-get -y upgrade
      confirm: You are about to update Raspbian.
      name: Update Raspbian
    • action: update
      command: cd ~/OctoPrint && git pull && sudo pip install -r requirements.txt
      confirm: You are about to update Octoprint.
      name: Update (git pull)
      temperature:
      profiles:
    • bed: 100
      extruder: 210
      name: ABS
    • bed: ‘50’
      extruder: ‘200’
      name: PLA
      webcam:
      ffmpeg: /usr/bin/avconv
      snapshot: http://127.0.0.1:8080/?action=snapshot
      stream: http://127.0.0.1:8080/?action=stream
      timelapse:
      options: {}
      type: zchange
      [/code]

it works

“baudrate: 250000
port: /dev/ttyUSB0”

that helped. thanks!

Great that it was of help! :slight_smile:

I use Raspberry PI and Octoprint too. Great stuff.

On my fist tests i’ve operated it with 250000 baud. After a few hours of printing the raspberry just hang and a hourly print is ruined!!
Then i have read in the docs of the python-usb-lib that it supports only up to 115000 baud.
So i have patched the firmware to 115000 baud. Now all works fine…

[quote=“floyd871”]I use Raspberry PI and Octoprint too. Great stuff.

On my fist tests i’ve operated it with 250000 baud. After a few hours of printing the raspberry just hang and a hourly print is ruined!!
Then i have read in the docs of the python-usb-lib that it supports only up to 115000 baud.
So i have patched the firmware to 115000 baud. Now all works fine…[/quote]
I am also very pleased with Octoprint, I used my rasberry pi since I got my K8200 a few months ago with no problems at all with
or without cable and 250000 baud, nice G-code viewer and user interface

Regards
Michael Wickstrøm

I’ve never had any problems with the baudrate either. Octoprint just works!

Is there a way to make octopi output some useful information on a (low res) LCD ? I have some 4 and 7" component video LCDs that I would love to mount on my K8200, but Ive not been able to get any useful output from octoprint. Even if its just temperatures/ progress bar / etc.

There is an API for Octoprint that can be used for this purpose. You can get all sorts of information about the current status of Octoprint and your current print. I don’t know if there is something finished to date, but it is possible to program your own application for it using Python for instance.

Hi,
I’m testing out just that at the moment. I made a small Python program, that is showing all the printer info needed, on a 7" LCD monitor.
If anyone is interested, I can post some pictures.
Best regards,
Christian

Hi,
I’m testing out just that at the moment. I made a small Python program, that is showing all the printer info needed, on a 7" LCD monitor.
If anyone is interested, I can post some pictures.
Best regards,
Christian[/quote]

Hi,

I’m interested! :smiley:

I’m doing a small interface my self with a touch screen and Python, but it is coming along slowly due to lack of time…

Jonas