Made this for my PRUSA MINI with a Raspberry Pi Zero 2W and a Raspi Cam v1.3
Based on the great instructions from Nunos and Joltcans
- Go to the Cameras section at https://connect.prusa3d.com
- Add a new camera "Add new other camera".
- Copy the generated Token
- Set up your Raspberry Pi with simpe Raspian OS and enable the camera with
raspi-config. - Create a shell script
prusaconnect_upload_cam.shand paste the Token into the file below.
- Save
prusaconnect_upload_cam.shfrom below to/usr/local/bin/prusaconnect_upload_cam.shand make it executablechmod +x /usr/local/bin/prusaconnect_upload_cam.sh. - Start the script with
./usr/local/bin/prusaconnect_upload_cam.sh
If It works you should see the images appearing in Prusa Connect every 10 seconds.
To run the script in the background and start it automatically.
- Create
/etc/systemd/system/prusaconnect_upload_cam.serviceand paste the content from below. - Start the service:
sudo systemctl start prusaconnect_upload_cam.service. - Check if the service is running with
sudo systemctl status prusaconnect_upload_cam.service. - Enable the service:
sudo systemctl enable prusaconnect_upload_cam.service.


Is this also possible if Octoprint is installed on the Raspberry ? If so, how exactly would I have to proceed? Following this guide here I can't get it to run. I always get errors with the fad labeling, I always have to omit urs/local/bin so that I can execute it. I can't get the autostart to run at all. I would appreciate your help.