Has any one setup a MotionEye server to feed to PrusaConnect?
 
Notifications
Clear all

Has any one setup a MotionEye server to feed to PrusaConnect?  

  RSS
Dik Harrison
(@dik-harrison)
Trusted Member
Has any one setup a MotionEye server to feed to PrusaConnect?

I have a setup with MotionEye so that I can monitor my MK3.9s in a separate browser tab, but now that I have the buddy camera for my Core-One I would like to have the MK3.9s camera in PrusaConnect also.  Does anyone have such a setup?  

Posted : 24/04/2025 7:46 pm
_KaszpiR_
(@_kaszpir_)
Prominent Member
RE: Has any one setup a MotionEye server to feed to PrusaConnect?

I wrote https://nvtkaszpir.github.io/prusa-connect-camera-script/ which can be used with various streaming options, I'll add details how to make it work with motioneye, probably using ffmpeg.

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

Posted : 26/04/2025 12:47 pm
Dik Harrison
(@dik-harrison)
Trusted Member
Topic starter answered:
RE: Has any one setup a MotionEye server to feed to PrusaConnect?

Thank you, I'll add that to my project list.

Posted : 26/04/2025 12:55 pm
_KaszpiR_
(@_kaszpir_)
Prominent Member
RE: Has any one setup a MotionEye server to feed to PrusaConnect?

ok I've added sections for MotionEye, https://nvtkaszpir.github.io/prusa-connect-camera-script/config.for.camera.motioneye/
Tested on my Rpi4 (took more time to set the motioneye on new os due to libcamerify), snapshot is the easies to do it.

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

Posted : 26/04/2025 1:40 pm
Dik Harrison
(@dik-harrison)
Trusted Member
Topic starter answered:
RE: Has any one setup a MotionEye server to feed to PrusaConnect?

Thank you for your effort.  I'll try to get to this soon.  It will take a while for my 77-year-old brain to sort all this out.

Posted : 26/04/2025 5:54 pm
Hillbilly Lily
(@hillbilly-lily)
Member
RE: Has any one setup a MotionEye server to feed to PrusaConnect?

I'm using the latest(but very old) MotionEye OS .img file - how did you use new OS and install motioneye?

Just asking I don't want to break my setup running the script - I'll use a different SD card and try with the new OS if you can tell me how to get motion eye running on the new OS

Posted : 03/05/2025 8:01 pm
_KaszpiR_
(@_kaszpir_)
Prominent Member
RE:

I used official raspberry os system (Debian 12 Bookworm) on Rpi 4, then followed motioneye github docs how to install it - such as adding fhanges to pip config systemwide which would break other packages, then install motioneye via pip, and so on. Also AFAIR i had to fix pip config because it ended in having duplicated lines 😉

But it was still lacking, thankfully not much change was required. I just needed to  change systemd exec command so it starts with libcamerify. More details are already on github issues or libcamerify docs.

So the systemd service is now

ExecStart=/usr/bin/libcamerify /usr/local/bin/meyectl startserver -c /etc/motioneye/motioneye.conf

root@hormex:~# cat /etc/systemd/system/motioneye.service
[Unit]
Description=motionEye Server
After=network.target local-fs.target remote-fs.target

[Service]
User=motion
RuntimeDirectory=motioneye
LogsDirectory=motioneye
StateDirectory=motioneye
ExecStart=/usr/bin/libcamerify /usr/local/bin/meyectl startserver -c /etc/motioneye/motioneye.conf
Restart=on-abort

[Install]
WantedBy=multi-user.target

 

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

Posted : 04/05/2025 6:42 am
Share: