Create config for prusa-connect-camera-script env vars
Prusa Camera Token
PRUSA_CONNECT_CAMERA_TOKEN should be taken from earlier step.
Fingerprint
PRUSA_CONNECT_CAMERA_FINGERPRINT should be unique and set only once for each camera.
Fingerprint can be easily generated using command:
or via online website, just copy/paste the output as fingerprint value into the config.
Warning
Do not change fingerprint after launching the script - thus camera is registered and you may need to revert the change or delete and re-add camera again and start from scratch.
Example devices
Other env vars are set depending on the camera device we want to use.
Locally connected
- Raspberry Pi CSI camera - libcamera (recommended)
- Raspberry Pi CSI camera - legacy
- USB camera
Web cams
Generic
- Snapshot cams (recommended)
- MJPG streaming cams
- RTSP streaming cams
Specific example
- ESPHome via camera snapshot (recommended)
- ESPHome via camera stream
Next
Next, test config.