Notifications
Clear all

How to stream Pi Zero 2w camera to PrusaConnect?  

  RSS
inmyTEEPEEitsme
(@inmyteepeeitsme)
Active Member
How to stream Pi Zero 2w camera to PrusaConnect?

I am trying to get cameras on all my Prusa printers so I can remotely monitor them in PrusaConnect.

I have a bunch of Pi Zero 2ws and Pi Cam V2s that I would like to utilize instead of buying a bunch of ESP32 cams.

So far, I have found some guides on how to make these RTSP streams with a guide I found online.  The limitation of this is that I still have to have my old laptop running multiple instances of OBS with Virtual Cameras pointing to the RTSP streams.  Then I have to have the browser windows open sharing those OBS Virtual Cameras to PrusaConnect.

Obviously, this is not ideal.  Anyone have any suggestions on how I can make the Pi Zero 2w capture and post directly to PrusaConnect instead of all these extra steps?  Seems folks have figured it out with ESP32 Cams, I would assume the Pi Zero 2w would be just as capable if not more but I am not finding anything on the web.

Thanks!

Opublikowany : 29/02/2024 8:47 pm
_KaszpiR_
(@_kaszpir_)
Honorable Member
RE:

you don't need to make rstp stream, just capture image and upload it for example via curl

 

provide more details what operating system you have on the pi and I can find something because I probably want to do something like that this weekend on my old pi zero w

See my GitHub and printables.com for some 3d stuff that you may like.

Opublikowany : 01/03/2024 9:13 pm
_KaszpiR_
(@_kaszpir_)
Honorable Member
RE: How to stream Pi Zero 2w camera to PrusaConnect?

try https://github.com/nvtkaszpir/prusa-connect-camera-script

See my GitHub and printables.com for some 3d stuff that you may like.

Opublikowany : 03/03/2024 9:21 pm
inmyTEEPEEitsme
(@inmyteepeeitsme)
Active Member
Topic starter answered:
RE: How to stream Pi Zero 2w camera to PrusaConnect?

As far as operating system, I am more concerned to ease of access and low overhead.  So if we can do this on raspberry pi os lite or something I would think that would be best for most.

Opublikowany : 04/03/2024 4:51 pm
inmyTEEPEEitsme
(@inmyteepeeitsme)
Active Member
Topic starter answered:
RE: How to stream Pi Zero 2w camera to PrusaConnect?

I will take a look and make sure to give feedback in github.  Thank you!

Opublikowany : 04/03/2024 4:52 pm
_KaszpiR_
(@_kaszpir_)
Honorable Member
RE:

I'm running it on Rpi Zero W, one CSI camera and one usb camera connected to the pi.

And there is still some cpu capacity to capture image from esp32 still image, but for capturing from stream it may be too much for that little device 😀

See my GitHub and printables.com for some 3d stuff that you may like.

Opublikowany : 04/03/2024 7:36 pm
_KaszpiR_
(@_kaszpir_)
Honorable Member
RE: How to stream Pi Zero 2w camera to PrusaConnect?

Ah one more thing. I'll be adding some examples how to capture image from rstp stream, haven't got any camera with such streaming yet (have to ressurect another rpi to test this)

See my GitHub and printables.com for some 3d stuff that you may like.

Opublikowany : 04/03/2024 7:40 pm
Tojik polubić
_KaszpiR_
(@_kaszpir_)
Honorable Member
RE: How to stream Pi Zero 2w camera to PrusaConnect?

Tested with rtsp from rpi csi cam and usb cam via mediamtx server and it works, so I guess addint any other rtsp should be trivial now.

See my GitHub and printables.com for some 3d stuff that you may like.

Opublikowany : 04/03/2024 10:09 pm
Share: