MK4 and Camera Options
As I setup the MK4 and explore PrusaConnect...trying to figure out the options for a camera. It looks like "old phone/tablet/notebook" is mentioned in the setup. I have been seeing mentions of PI Camera support in the discussions and looks like that's for the Raspeberry image (MK2 and MK3).
Is there going to be any other support for cameras with the MK4 such as a USB web camera, etc that doesn't involve setting up a standalone phone, tablet, etc? Haven't really explored much of the connector options on the MK4 and the new board, so not sure what exists and what is the "art of possible" on this subject...figure its worth asking (hopefully not a silly question).
RE: MK4 and Camera Options
Hi, no, It's a good question. The MK4 by itself cannot do pictures. You will be able to link up a variety of cameras through PrusaConnect. No word on showing those in the local gui. It might be possible but very limited, if we decide to do it.
So far, there's just the web app. So hypothetically, if you can figure out a way to get chrome or firefox to see a picamera as a webcam, you can connect it through there, but there should be more options created. I just am not sure which and when
RE:
Hello - not directly for PI cam, but I found 3 ways to upload images from cams to Connect:
- CURL (Source can be Mainsail with Crowsnest as an example or any url from a local IP cam which gives back a jpeg, can run on any pi with cron)
- NodeRed (as part of Home Assistant - source same as CURL)
- ESP32-CAM (runs on its own)
If you are interested - let me know
RE: MK4 and Camera Options
Actually, I would be OK with how things are if PrusaConnect would allow video instead of periodic stills.
RE: MK4 and Camera Options
Hello - not directly for PI cam, but I found 3 ways to upload images from cams to Connect:
- CURL (Source can be Mainsail with Crowsnest as an example or any url from a local IP cam which gives back a jpeg, can run on any pi with cron)
- NodeRed (as part of Home Assistant - source same as CURL)
- ESP32-CAM (runs on its own)
If you are interested - let me know
@traviswilder do you have any example on how to push images with curl to PrusaConnect? As I see only the registration page to add webcams on Connect and I would like to push images from my RPi to it (which does not run PrusaLink as PrusaLink is already on my MK4).
RE: MK4 and Camera Options
Yeah, I'd love to be able to carry over my RPi4 and RPiCam3 carry over to PrusaLink.
I feel like I'm stuck since Octoprint doesn't work all the way with the MK4 (can't control the print from the LCD, LCD won't display Octoprint data), but PrusaLink/PrusaConnect does video poorly and improving video doesn't seem to be on the dev's radar any time soon. I'd definitely would love to stream the video from my RPi to PrusaLink/PrusaConnect. I feel like a live stream is the only other thing I need to check in on things. I don't really care about AI detection or Time Lapses.
Hello - not directly for PI cam, but I found 3 ways to upload images from cams to Connect:
- CURL (Source can be Mainsail with Crowsnest as an example or any url from a local IP cam which gives back a jpeg, can run on any pi with cron)
- NodeRed (as part of Home Assistant - source same as CURL)
- ESP32-CAM (runs on its own)
If you are interested - let me know
@traviswilder do you have any example on how to push images with curl to PrusaConnect? As I see only the registration page to add webcams on Connect and I would like to push images from my RPi to it (which does not run PrusaLink as PrusaLink is already on my MK4).
RE: MK4 and Camera Options
This sounds interesing.... So, how do I integrate an ESP32 cam in Prusa Connect? 🙂
Hello - not directly for PI cam, but I found 3 ways to upload images from cams to Connect:
- CURL (Source can be Mainsail with Crowsnest as an example or any url from a local IP cam which gives back a jpeg, can run on any pi with cron)
- NodeRed (as part of Home Assistant - source same as CURL)
- ESP32-CAM (runs on its own)
If you are interested - let me know
RE: MK4 and Camera Options
Hi, you can see here: https://laderampe.net/3D-Printing/Prusa/MK4
RE: MK4 and Camera Options
I managed to install RPi Cam Control on a Raspberry Pi Zero 2 W with a Raspicam to integrate a stream in Home Assistant. So at least now I can have a video stream of the print.
As a next step, I am trying to use NodeRed (as part of Home Assistant) to upload a still image to PrusaConnect. How does this work? Help is greatly appreaciated.... 🙂
Hello - not directly for PI cam, but I found 3 ways to upload images from cams to Connect:
- CURL (Source can be Mainsail with Crowsnest as an example or any url from a local IP cam which gives back a jpeg, can run on any pi with cron)
- NodeRed (as part of Home Assistant - source same as CURL)
- ESP32-CAM (runs on its own)
If you are interested - let me know
RE:
I use a HTTP Get node to http://xxx/webcam/snapshot (with ignore payload and return binary buffer)
and pipe the result to
HTTP Put node https://connect.prusa3d.com/c/snapshot with the headers : token / fingerprint + content-type: image/jpg
on the Pi I used a deamon like crowsnest
RE: MK4 and Camera Options
This is really cool. Is there an "explain it like i'm five years old" version of the instructions or a youtube video on how to get this running on my existing raspberry pi with octoprint currently running on it?