Avisos
Vaciar todo

MK4 and Camera Options  

  RSS
JavaLava
(@javalava)
New Member
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). 

Respondido : 06/04/2023 11:36 am
Tojik
(@tojik)
Miembro Moderator
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

Respondido : 06/04/2023 11:47 am
TravisWilder
(@traviswilder)
Active Member
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

Esta publicación ha sido modificada el hace 2 years por TravisWilder
Respondido : 02/05/2023 1:24 pm
Mike
 Mike
(@mike-34)
Active Member
RE: MK4 and Camera Options

Actually, I would be OK with how things are if PrusaConnect would allow video instead of periodic stills.

Respondido : 08/05/2023 9:54 pm
Sebastian1989101
(@sebastian1989101)
Miembro
RE: MK4 and Camera Options
Posted by: @traviswilder

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). 

Respondido : 03/07/2023 11:25 am
FergyMcFerguson
(@fergymcferguson)
Active Member
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. 

Posted by: @sebastian1989101
Posted by: @traviswilder

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). 

 

Respondido : 06/07/2023 2:12 am
Prntmkr | Always a good print
(@prntmkr-always-a-good-print)
Active Member
RE: MK4 and Camera Options

This sounds interesing.... So, how do I integrate an ESP32 cam in Prusa Connect? 🙂

Posted by: @traviswilder

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

 

Respondido : 09/07/2023 8:07 pm
OldCoder me gusta
TravisWilder
(@traviswilder)
Active Member
RE: MK4 and Camera Options

Hi, you can see here: https://laderampe.net/3D-Printing/Prusa/MK4

Respondido : 10/07/2023 4:31 pm
Prntmkr | Always a good print
(@prntmkr-always-a-good-print)
Active Member
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.... 🙂

 

Posted by: @traviswilder

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

 

Respondido : 19/07/2023 9:06 am
TravisWilder
(@traviswilder)
Active Member
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

Esta publicación ha sido modificada el hace 1 year por TravisWilder
Respondido : 19/07/2023 10:55 am
FergyMcFerguson
(@fergymcferguson)
Active Member
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?

Respondido : 27/08/2023 9:55 pm
me gusta
Compartir: