Skip to content

Test the config

  • ensure to turn on the 3D Printer so that it sends telemetry, otherwise images will sent and you will get successful image uploads but on PrusaConnect page they will not be available
  • run below commands, we assume .env is the camera config we defined earlier
set -o allexport; source .env; set +o allexport
./prusa-connect-camera.sh

Above commands will load env vars and will start the script. In the beginning script shows some commands that will be executed, for example command to fetch the image from camera, example log line:

Camera capture command: fswebcam -d /dev/video0 --resolution 640x480 --no-banner /dev/shm/camera_87299de9-ea57-45be-b6ea-4d388a52c954.jpg

so you should run:

fswebcam -d /dev/video0 --resolution 640x480 --no-banner /dev/shm/camera_87299de9-ea57-45be-b6ea-4d388a52c954.jpg

and get the outputs from the command, and also it should write an image.

Check for errors, if any, if everything is ok you should see a lot of 204 every 10s.

If not, see troubleshooting, copy logs and raise an issue on GitHub.


Last update: 2024-05-08 08:38:11 +0200 (UTC)