Skip to content

OctoPi Instructions

paukstelis edited this page Jan 9, 2023 · 1 revision
  • OctoPi
    • Slightly dated YouTube video for OctoPi setup here: https://www.youtube.com/watch?v=J5VzI4AFav4&lc
    • Put the latest OctoPi image on your SD card.
    • ssh into your Pi ([email protected]; good idea to change your password now!).
    • run the command git clone https://github.com/paukstelis/octoprint_deploy.git.
    • run the command sudo octoprint_deploy/octoprint_deploy.sh.
    • Choose Prepare System from the menu.
      • If you have already been using this system for some time, you will be prompted that files will be moved in order to generate a template instance.
      • You will be prompted if you want to switch from mjpeg-streamer to ustreamer.
      • You will be prompted if you want to setup the admin user and do the first run wizard using the commandline. If you do this now you can start making new instances when the system preparation is complete.
      • You will be prompted if you want to install recommended plugins and cloud plugins. This can be useful if you want to configure plugins in your template instance, before adding new instances.
      • If you did not setup admin user in the script, setup admin user by connecting to http://octopi.local via browser.
    • OPTIONAL: Setup Application keys in the template.
      • If you are going to use OctoFarm/Cura/PrusaSlicer, go to http://octopi.local and setup the necessary application keys, and any other settings (CORS). This will make it easier to connect to these external applications later.
    • Back in the ssh session, choose New Instance and follow the instructions.
      • Do not plug your printer in by USB until you are asked to do so.
      • If your printer does not have a serial number (all Creality printers), it will detect and use the physical USB address for udev entries.
    • Continue until you have added all the printers you want to use.
    • haproxy entries are updated so you can connect via http://octopi.local/instancename/ (trailing slash is needed).
    • Please note, haproxy entries are NOT used for webcams once you use this system. Connect to them via hostname:port.
    • To add more printers at a later date, just run the script again!
    • Want to use a Pi camera? After you have made your instance(s), run the script with sudo octoprint_deploy/octoprint_deploy.sh picam and follow the instructions (VERY EXPERIMENTAL).
Clone this wiki locally