<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
               xmlns:atom="http://www.w3.org/2005/Atom"
               xmlns:dc="http://purl.org/dc/elements/1.1/"
               xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
               xmlns:admin="http://webns.net/mvcb/"
               xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
               xmlns:content="http://purl.org/rss/1.0/modules/content/">
            <channel>
                <title>
					                		MK4 RPI webcam with prusa connect? - User mods - OctoPrint, enclosures, nozzles, ...                                    </title>
                <link>https://forum.prusa3d.com/forum/user-mods-enclosures-nozzles/mk4-rpi-webcam-with-prusa-connect/</link>
                <description>Prusa3D Forum Discussion Board</description>
                <language>en-US</language>
                <lastBuildDate>Wed, 13 May 2026 06:33:09 +0000</lastBuildDate>
                <generator>wpForo</generator>
                <ttl>60</ttl>
                					                    <item>
                        <title>RE: MK4 RPI webcam with prusa connect?</title>
                        <link>https://forum.prusa3d.com/forum/user-mods-enclosures-nozzles/mk4-rpi-webcam-with-prusa-connect/#post-778013</link>
                        <pubDate>Tue, 13 Jan 2026 22:56:33 +0000</pubDate>
                        <description><![CDATA[I ran into the exact same issue trying to get a Raspberry Pi webcam working with Prusa Connect (RPi 3 + Pi 3 camera). I got it working by writing my own script that continuously takes snapsh...]]></description>
                        <content:encoded><![CDATA[<p>I ran into the <strong data-start="126" data-end="146">exact same issue</strong> trying to get a Raspberry Pi webcam working with Prusa Connect (RPi 3 + Pi 3 camera). I got it working by writing my own script that continuously takes snapshots from the Pi camera and uploads them to Prusa Connect using the same token/fingerprint mechanism everyone talks about here.</p><p data-start="469" data-end="598">I put everything up on GitHub so others don’t have to reinvent the wheel: 👉 https://github.com/Houzvicka/RPi-Prusa-Connect-Cam</p>]]></content:encoded>
                        <category domain="https://forum.prusa3d.com/forum/user-mods-enclosures-nozzles/">User mods - OctoPrint, enclosures, nozzles, ...</category>                        <dc:creator>Houzvicka</dc:creator>
                        <guid isPermaLink="true">https://forum.prusa3d.com/forum/user-mods-enclosures-nozzles/mk4-rpi-webcam-with-prusa-connect/#post-778013</guid>
                    </item>
                                        <item>
                        <title>What a goofy situation</title>
                        <link>https://forum.prusa3d.com/forum/user-mods-enclosures-nozzles/mk4-rpi-webcam-with-prusa-connect/#post-756535</link>
                        <pubDate>Sat, 05 Jul 2025 20:40:10 +0000</pubDate>
                        <description><![CDATA[I love my Prusa printers. But Josef, the PrusaConnect is such a disaster. Maybe it&#039;s fine your your server farms, but it is terrible for an ordinary user. Why would I need to do all these ba...]]></description>
                        <content:encoded><![CDATA[<p>I love my Prusa printers. But Josef, the PrusaConnect is such a disaster. Maybe it's fine your your server farms, but it is terrible for an ordinary user. </p><p>Why would I need to do all these backflips to hook up a camera? Use an old cell phone, that's your solution? Two machines to power up, setting up the app. It's really a shame.  Why not just add a USB port on your custom board, like the mk3, so a cheap webcam could be added? No extra power, no app, no extra setup, which all have to be done every power up?</p><p>Josef, your contributions have benefited every single 3d printing enthusiast. (And your contribution is remarkably selfless considering your open source commitment has taken $millions from your own pocket.) But damn, why were so many excellent features of the MK3 forgotten?</p>]]></content:encoded>
                        <category domain="https://forum.prusa3d.com/forum/user-mods-enclosures-nozzles/">User mods - OctoPrint, enclosures, nozzles, ...</category>                        <dc:creator>tdk408</dc:creator>
                        <guid isPermaLink="true">https://forum.prusa3d.com/forum/user-mods-enclosures-nozzles/mk4-rpi-webcam-with-prusa-connect/#post-756535</guid>
                    </item>
                                        <item>
                        <title>RE: MK4 RPI webcam with prusa connect?</title>
                        <link>https://forum.prusa3d.com/forum/user-mods-enclosures-nozzles/mk4-rpi-webcam-with-prusa-connect/#post-736551</link>
                        <pubDate>Fri, 14 Feb 2025 23:26:29 +0000</pubDate>
                        <description><![CDATA[Thanks - that worked! I used the curl to get it from the octopi cam, but wget works as well!]]></description>
                        <content:encoded><![CDATA[<p>Thanks - that worked! I used the curl to get it from the octopi cam, but wget works as well!</p>]]></content:encoded>
                        <category domain="https://forum.prusa3d.com/forum/user-mods-enclosures-nozzles/">User mods - OctoPrint, enclosures, nozzles, ...</category>                        <dc:creator>hoobuba</dc:creator>
                        <guid isPermaLink="true">https://forum.prusa3d.com/forum/user-mods-enclosures-nozzles/mk4-rpi-webcam-with-prusa-connect/#post-736551</guid>
                    </item>
                                        <item>
                        <title>RE: MK4 RPI webcam with prusa connect?</title>
                        <link>https://forum.prusa3d.com/forum/user-mods-enclosures-nozzles/mk4-rpi-webcam-with-prusa-connect/#post-728092</link>
                        <pubDate>Tue, 26 Nov 2024 03:44:46 +0000</pubDate>
                        <description><![CDATA[This worked for me; thanks!]]></description>
                        <content:encoded><![CDATA[<p>This worked for me; thanks!</p>]]></content:encoded>
                        <category domain="https://forum.prusa3d.com/forum/user-mods-enclosures-nozzles/">User mods - OctoPrint, enclosures, nozzles, ...</category>                        <dc:creator>Mukluk Actual</dc:creator>
                        <guid isPermaLink="true">https://forum.prusa3d.com/forum/user-mods-enclosures-nozzles/mk4-rpi-webcam-with-prusa-connect/#post-728092</guid>
                    </item>
                                        <item>
                        <title>RE:</title>
                        <link>https://forum.prusa3d.com/forum/user-mods-enclosures-nozzles/mk4-rpi-webcam-with-prusa-connect/#post-720208</link>
                        <pubDate>Wed, 28 Aug 2024 12:18:03 +0000</pubDate>
                        <description><![CDATA[I was just wondering, since I am extremely new to all this stuff, that you&#039;re supposed to copy your script with our own &quot;token&quot; and &quot;fingerprint&quot; and save it as a certain type of file.
Then...]]></description>
                        <content:encoded><![CDATA[<p>I was just wondering, since I am extremely new to all this stuff, that you're supposed to copy your script with our own "token" and "fingerprint" and save it as a certain type of file.</p>
<p>Then save it on a microSD and insert it in the Raspberry pi that you intent on using? And since I am here asking about this, I've got a Raspberry Pi 4B with a Raspi cam V2. Is that a compatible setup for your current script? Or should I adjust it to my devices, and if so, how would one go about adjusting it to the devices I intent on using?</p>
<p>It would be a great help if you're able to tell me how I could fix it, should it even be possible.</p>
<p>Thanks in advance!</p>]]></content:encoded>
                        <category domain="https://forum.prusa3d.com/forum/user-mods-enclosures-nozzles/">User mods - OctoPrint, enclosures, nozzles, ...</category>                        <dc:creator>Chefke</dc:creator>
                        <guid isPermaLink="true">https://forum.prusa3d.com/forum/user-mods-enclosures-nozzles/mk4-rpi-webcam-with-prusa-connect/#post-720208</guid>
                    </item>
                                        <item>
                        <title>RE: MK4 RPI webcam with prusa connect?</title>
                        <link>https://forum.prusa3d.com/forum/user-mods-enclosures-nozzles/mk4-rpi-webcam-with-prusa-connect/#post-707397</link>
                        <pubDate>Thu, 11 Apr 2024 17:56:47 +0000</pubDate>
                        <description><![CDATA[Thanks you so much for responding. I really appreciate the suggestions and code as well. In the end, I was able to connect the camera using the first method. It did work well on prusaconnect...]]></description>
                        <content:encoded><![CDATA[<p>Thanks you so much for responding. I really appreciate the suggestions and code as well. </p><p>In the end, I was able to connect the camera using the first method. It did work well on prusaconnect. The only problems was that I had to manually setup the camera link in the RPI each time I booted up. This was too cumbersome as it required keyboard/monitor be attached. Most likely I'm doing it wrong.</p><p>The code is way above my ability, but maybe one day I'll figure it out. I appreciate your time in sharing.</p><p>Ultimately, I'm planing on ditching the camera idea and using the RPI as a gaming emulator, LOL.</p><p> </p>]]></content:encoded>
                        <category domain="https://forum.prusa3d.com/forum/user-mods-enclosures-nozzles/">User mods - OctoPrint, enclosures, nozzles, ...</category>                        <dc:creator>mep67</dc:creator>
                        <guid isPermaLink="true">https://forum.prusa3d.com/forum/user-mods-enclosures-nozzles/mk4-rpi-webcam-with-prusa-connect/#post-707397</guid>
                    </item>
                                        <item>
                        <title>RE: MK4 RPI webcam with prusa connect?</title>
                        <link>https://forum.prusa3d.com/forum/user-mods-enclosures-nozzles/mk4-rpi-webcam-with-prusa-connect/#post-706090</link>
                        <pubDate>Sat, 30 Mar 2024 21:21:41 +0000</pubDate>
                        <description><![CDATA[can&#039;t edit my post for some reason. Not sure how but the : &quot;${TOKEN:=}&quot; variable was removed from the script. You need to copy that from your prusa connect camera page and paste it into the ...]]></description>
                        <content:encoded><![CDATA[<p>can't edit my post for some reason. Not sure how but the : "${TOKEN:=}" variable was removed from the script. You need to copy that from your prusa connect camera page and paste it into the script. Also set the fringerprint variable in the script. </p>]]></content:encoded>
                        <category domain="https://forum.prusa3d.com/forum/user-mods-enclosures-nozzles/">User mods - OctoPrint, enclosures, nozzles, ...</category>                        <dc:creator>that0neguy</dc:creator>
                        <guid isPermaLink="true">https://forum.prusa3d.com/forum/user-mods-enclosures-nozzles/mk4-rpi-webcam-with-prusa-connect/#post-706090</guid>
                    </item>
                                        <item>
                        <title>RE:</title>
                        <link>https://forum.prusa3d.com/forum/user-mods-enclosures-nozzles/mk4-rpi-webcam-with-prusa-connect/#post-706086</link>
                        <pubDate>Sat, 30 Mar 2024 19:57:50 +0000</pubDate>
                        <description><![CDATA[Here is the script I use. Found the original here on github but had to modify it quite a bit. You should be able to use my script and add a fingerprint and your token plus the instructions o...]]></description>
                        <content:encoded><![CDATA[<p>Here is the script I use. Found the original <a href="https://gist.github.com/p123ad/5b1482200715d834e9db736fa9e187d0" target="_blank" rel="noopener">here</a> on github but had to modify it quite a bit. You should be able to use my script and add a fingerprint and your token plus the instructions on how to set up the script to start automatically from the link to github to set it up.  Was using an old url to upload to (webcam.connect.prusa.com or something). The documentation is really poor for the API call. API doesn't really function well. I was getting an error for a while because my fingerprint was only 12 characters, and it was not well documented that it had to be 16. </p>
<p>Other things that I had to find out by looking at the forums that aren't documented on the API page. Printer has to be online in order for uploads to update on connect dashboard. </p>
<pre contenteditable="false">#!/bin/bash

# Set default values for environment variables
: "${HTTP_URL:=https://connect.prusa3d.com/c/snapshot}"
: "${DELAY_SECONDS:=10}"
: "${LONG_DELAY_SECONDS:=60}"
: "${FINGERPRINT:=}"

while true; do
    # Delete the previous image
    rm -f /tmp/prusa_output.jpg 2&gt; /dev/null

    # Grab a frame from the Raspi Camera
        wget -O /tmp/prusa_output.jpg http://localhost:8080/?action=snapshot

    # If no error, upload it.
    if ; then
        # POST the image to the HTTP URL using curl
        curl -X PUT "$HTTP_URL" \
            -H "accept: */*" \
            -H "content-type: image/jpg" \
            -H "fingerprint: $FINGERPRINT" \
            -H "token: $TOKEN" \
            --data-binary "@/tmp/prusa_output.jpg" \
            --no-progress-meter \
            --compressed

        # Reset delay to the normal value
        DELAY=$DELAY_SECONDS
    else
        echo "wget returned an error. Retrying after ${LONG_DELAY_SECONDS}s..."

        # Set delay to the longer value
        DELAY=$LONG_DELAY_SECONDS
    fi

    sleep "$DELAY"
done</pre>]]></content:encoded>
                        <category domain="https://forum.prusa3d.com/forum/user-mods-enclosures-nozzles/">User mods - OctoPrint, enclosures, nozzles, ...</category>                        <dc:creator>that0neguy</dc:creator>
                        <guid isPermaLink="true">https://forum.prusa3d.com/forum/user-mods-enclosures-nozzles/mk4-rpi-webcam-with-prusa-connect/#post-706086</guid>
                    </item>
                                        <item>
                        <title>RE:</title>
                        <link>https://forum.prusa3d.com/forum/user-mods-enclosures-nozzles/mk4-rpi-webcam-with-prusa-connect/#post-706000</link>
                        <pubDate>Sat, 30 Mar 2024 01:06:13 +0000</pubDate>
                        <description><![CDATA[Here&#039;s how I added my RPi5/Camera3 to Prusa Connect:
1. Go toand click on the Camera tab.
2. Click on the &quot;Add a new web camera&quot;
3. You will see a QR code - point your camera at the scree...]]></description>
                        <content:encoded><![CDATA[<p>Here's how I added my RPi5/Camera3 to Prusa Connect:</p>
<p>1. Go to https://connect.prusa3d.com and click on the Camera tab.</p>
<p>2. Click on the "Add a new web camera"</p>
<p>3. You will see a QR code - point your camera at the screen displaying the QR code.</p>
<p>4. Nothing happens.  Now, if this was a cellphone you'd click on the resulting link and everything would be fine.  I don't know if it's the browser not recognizing QR Codes, or I should be using a special scanning app, but I didn't research it much further.  I worked around this as follows:</p>
<p>5. You need to construct a URL from the registration ID on the webpage like this:  https://webcam.connect.prusa3d.com/?token=xyZaBcDef4hXmkURJ8HO.  On my Mac, I can right-click on the QR code and copy the registration link, but you can just copy the token and add it to the URL manually if you need to.</p>
<p>6.  On the RPi, open a web browser and enter the URL from step 5.  The token is what links the connect session to the camera session on the RPi.</p>
<p> </p>]]></content:encoded>
                        <category domain="https://forum.prusa3d.com/forum/user-mods-enclosures-nozzles/">User mods - OctoPrint, enclosures, nozzles, ...</category>                        <dc:creator>Mike B</dc:creator>
                        <guid isPermaLink="true">https://forum.prusa3d.com/forum/user-mods-enclosures-nozzles/mk4-rpi-webcam-with-prusa-connect/#post-706000</guid>
                    </item>
                                        <item>
                        <title>MK4 RPI webcam with prusa connect?</title>
                        <link>https://forum.prusa3d.com/forum/user-mods-enclosures-nozzles/mk4-rpi-webcam-with-prusa-connect/#post-705974</link>
                        <pubDate>Fri, 29 Mar 2024 20:40:01 +0000</pubDate>
                        <description><![CDATA[Sorry to bring this topic up again. But, I&#039;ve searched everything I can and can&#039;t figure it out. In an effort to get a camera working with Prusa Connect, I setup a RPI 4 with webcam. I was a...]]></description>
                        <content:encoded><![CDATA[<p>Sorry to bring this topic up again. But, I've searched everything I can and can't figure it out. </p><p>In an effort to get a camera working with Prusa Connect, I setup a RPI 4 with webcam. I was able to get the whole thing working with Octoprint and can see the webcam video. However, I can't figure out how to add the camera to Prusa Connect.</p><p>I know it doesn't work with Prusalink on the MK4, but some forum posts seem to imply it can with Prusa Connect. Is this true? </p><p>Thanks!</p>]]></content:encoded>
                        <category domain="https://forum.prusa3d.com/forum/user-mods-enclosures-nozzles/">User mods - OctoPrint, enclosures, nozzles, ...</category>                        <dc:creator>mep67</dc:creator>
                        <guid isPermaLink="true">https://forum.prusa3d.com/forum/user-mods-enclosures-nozzles/mk4-rpi-webcam-with-prusa-connect/#post-705974</guid>
                    </item>
                                                </channel>
        </rss>
        