Prusa-Connect-RTSP

Prusa-Connect-RTSP

Docker app from grtgbln's Repository

Overview

Capture images from a RTSP camera upload them to Prusa Connect.

Prusa Connect RTSP

Grab frames from a RTSP stream and publish them to Prusa connect

Run from docker image

# Update the environment variables to suit your needs
# PRUSA_CONNECT_FINGERPRINT is a unique string that you can choose.
# A UUID works well. Ex: https://duckduckgo.com/?hps=1&q=uuid&atb=v363-1&ia=answer
docker run \
    -e PRUSA_CONNECT_RTSP_URL="rtsp://USERNAME:PASSWORD@HOSTNAMEorIP:554/stream1" \
    -e PRUSA_CONNECT_FINGERPRINT="***" \
    -e PRUSA_CONNECT_TOKEN="***" \
    -e LOGURU_LEVEL=INFO \
    ghcr.io/beccazero/prusa-connect-rtsp:main

Run locally

git clone https://github.com/beccazero/prusa-connect-rtsp.git
cd prusa-connect-rtsp
poetry install

# Create a .env file from the example
cp .env.example .env
# Modify the .env file with your values
vim .env

python prusa_connect_rtsp/main.py

Build and run docker container

# Create a .env file from the example
cp .env.example .env
# Modify the .env file with your values
vim .env
# Build the container
docker build -t prusa-connect-rtsp
# Start the container
docker run --env-file .env prusa-connect-rtsp 

Details

Repository
ghcr.io/beccazero/prusa-connect-rtsp:main
Last Updated2026-10-16
First Seen2024-06-11

Runtime arguments

Network
bridge
Privileged
false

Template configuration

RTSP URLVariable

URL of the RTSP stream to monitor

Target
PRUSA_CONNECT_RTSP_URL
Prusa Connect URLVariable

URL of the Prusa Connect to forward images to

Target
PRUSA_CONNECT_URL
Default
https://connect.prusa3d.com/c/snapshot
Prusa Connect tokenVariable

Token used to connect to Prusa Connect

Target
PRUSA_CONNECT_TOKEN
Unique camera IDVariable

ID for the camera. Use a random UUID

Target
PRUSA_CONNECT_FINGERPRINT
Image intervalVariable

Time in seconds to wait between image uploads

Target
PRUSA_CONNECT_UPLOAD_INTERVAL
Default
30
Log levelVariable
Target
LOGURU_LEVEL
Default
INFO|DEBUG