A half automated setup of Obico / Octoprint / BambuP1Streamer Using the built in camera in the P Series printer
-
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.
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
-
Add Docker Installation Dependencies: Configures the system to install Docker.
-
Install Docker: Installs Docker and Docker Compose on the system.
-
Clone Repository: Clones the p1streamer repository.
-
Compile Source Code: Compiles source code using a Docker container.
-
Build Docker Image: Builds a Docker image for the project.
-
Set Printer Configuration: Prompts users to input printer IP address and access key.
-
Create Docker Compose File: Generates a Docker Compose file based on user inputs.
-
Start Docker Containers: Starts Docker containers using Docker Compose.
-
Create OctoPrint Docker Compose File: Creates a Docker Compose file for OctoPrint with user-defined port.
-
Start OctoPrint Docker Containers: Starts OctoPrint Docker containers using Docker Compose.
Install Octoprint and go through the setup wizard.
During the Classic Webcam Wizard
leave the defaults. we WILL change this at a later time.
Open OctoPrint Settings
once you have completed the install and navigate to Plugin Manager
Install and setup this plugin: GitHub - jneilliii/OctoPrint-BambuPrinter
- Using the plugin manager click the GET MORE button.
- Enter your password you set in the wizard.
- find the ... from URL and enter the url
https://github.com/jneilliii/OctoPrint-BambuPrinter/archive/master.zip
Install and setup this plugin: Obico for OctoPrint: Full Remote Access - AI Failure Detection & Smart 3D Printing
- Using the plugin manager click the GET MORE button.
- Enter your password you set in the wizard.
- find the ... from the Plugin Repository and search for
Obico for OctoPrint
- Click the big install button.
- Restart the Octoprint Instance if needed
- If the obico Quick start comes up, close it. we need to set up a few other things first.
Under plugins we need a few things.
- Bambu Printer
- Classic Webcam
- Obico
- 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
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
Under advanced options you can increase the timeout limit, this is useful if obico keeps throwing webcam errors
- Open http://
YOUR IP
:1984
Click the LINKS
link
-
Right Click
stream.mjpeg
and clickCopy Link Address
-
Enter this link into the
Stream URL
-
Right Click
frame.jpeg
and clickCopy Link Address
-
Enter this link into the
Snapshot URL
Run the Setup Wizard