- Go to the Cameras section at https://connect.prusa3d.com
- Add a new camera.
- Click the QR code link
- Click "Start Camera"
- Open your browser's inspector window and look for the "/snapshot" request.
- Copy the "Fingerprint" and "Token" headers into the file below.
- Save
prusaconnect_upload_cam.sh
from below to/usr/local/bin/prusaconnect_upload_cam.sh
and make it executablechmod +x /usr/local/bin/prusaconnect_upload_cam.sh
.
To run in the background, create /etc/systemd/system/prusaconnect_upload_cam.service
and then start and enable it: systemctl enable --now prusaconnect_upload_cam.service
.
I am new to doing this kind of thing. I used Nano to create prusaconnect_upload_cam.sh & prusaconnect_upload_cam.service in their correct directories. I copied each line one at a time and kept the spacing as best as I could. The Token and Fingerprint where swapped with correct information but I was unsure if I should keep < >. after doing all that I ran the commands listed above and got the follow requesting my password 3 times.