Skip to content

A half automated setup of Obico / Octoprint / BambuP1Streamer

Notifications You must be signed in to change notification settings

mon5termatt/BAMBU-OBICO

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 

Repository files navigation

BAMBU-OBICO

A half automated setup of Obico / Octoprint / BambuP1Streamer Using the built in camera in the P Series printer

Read Me First!

  • this script assumes you are using a fresh install of PI OS or Debian

  • this has only been tested on a virtual install of debian 12

  • this will not work on a phone.

  • you must have basic knowledge of docker.

  • please make an issue if you encounter a bug.


image


Step 1: Run install.sh

On your VM/PI/Whatever you are gonna run this on.

  • Login as a NON ROOT user.
  • Verify that WGET and Git is installed. apt install wget git
  • Download the script. wget https://raw.githubusercontent.com/mon5termatt/BAMBU-OBICO/main/install.sh
  • Make it so you can run the script chmod a+x install.sh
  • Start the script ./install.sh
Script steps:
  1. Add Docker Installation Dependencies: Configures the system to install Docker.

  2. Install Docker: Installs Docker and Docker Compose on the system.

  3. Clone Repository: Clones the p1streamer repository.

  4. Compile Source Code: Compiles source code using a Docker container.

  5. Build Docker Image: Builds a Docker image for the project.

  6. Set Printer Configuration: Prompts users to input printer IP address and access key.

  7. Create Docker Compose File: Generates a Docker Compose file based on user inputs.

  8. Start Docker Containers: Starts Docker containers using Docker Compose.

  9. Create OctoPrint Docker Compose File: Creates a Docker Compose file for OctoPrint with user-defined port.

  10. Start OctoPrint Docker Containers: Starts OctoPrint Docker containers using Docker Compose.

Step 2: Install and Configure Octoprint

Install Octoprint and go through the setup wizard. During the Classic Webcam Wizard leave the defaults. we WILL change this at a later time.

Step 3: Install the plugins

Open OctoPrint Settings once you have completed the install and navigate to Plugin Manager

Step 3A:

Install and setup this plugin: GitHub - jneilliii/OctoPrint-BambuPrinter

  1. Using the plugin manager click the GET MORE button.
  2. Enter your password you set in the wizard.
  3. find the ... from URL and enter the url https://github.com/jneilliii/OctoPrint-BambuPrinter/archive/master.zip

Step 3B:

Install and setup this plugin: Obico for OctoPrint: Full Remote Access - AI Failure Detection & Smart 3D Printing

  1. Using the plugin manager click the GET MORE button.
  2. Enter your password you set in the wizard.
  3. find the ... from the Plugin Repository and search for Obico for OctoPrint
  4. Click the big install button.

Step 3C:

  1. Restart the Octoprint Instance if needed
  2. If the obico Quick start comes up, close it. we need to set up a few other things first.

Step 4: Setup the plugins.

Under plugins we need a few things.

  • Bambu Printer
  • Classic Webcam
  • Obico

STEP 4A:

Under Bambu Printer you need to set up a few options

  • Device Type: What printer model do you own.
  • Ip address: The IP we set during install.sh
  • Serial Number: Get this from Orcaslicer/Bambu Slicer in the Device Tab >>> Update
  • Access Code: Again, same as what we entered during install.sh

image

STEP 4B:

Under Classic Webcam we need a few more complicated things

Get your IP that you are currently on. its the same IP as octoprint. Set thew following options.

  • Stream URL: http://your IP here:1984/api/stream.mjpeg?src=p1s
  • Stream Aspect Ratio: Leave as 16:9
  • Snapshot URL: http://your IP here:1984/api/frame.jpeg?src=p1s

image Under advanced options you can increase the timeout limit, this is useful if obico keeps throwing webcam errors

Troubleshooting No image

  • Open http://YOUR IP:1984

You should see THIS: image

Click the LINKS link

Find THIS: image

  • Right Click stream.mjpeg and click Copy Link Address

  • Enter this link into the Stream URL

  • Right Click frame.jpeg and click Copy Link Address

  • Enter this link into the Snapshot URL

STEP 4C:

Under Obico

Run the Setup Wizard

Once the wizard is done you should be able to access your Bambu Printer from OBICO!

Our work here is done!

About

A half automated setup of Obico / Octoprint / BambuP1Streamer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages