Connect raspberri PI with motioneyeos to motioneye on ubuntu 20.04

1,061 views
Skip to first unread message

adriaan

unread,
Jun 11, 2021, 1:17:48 PM6/11/21
to motioneye

Greetings Again,

I have the following hardware and software in place:

A raspberry pi zero W with cameramodule and motioneyeos (20200606) installed. This PI is working okay and is configured to stream video via URL http://192.168.2.30:2733.

When looking at that URL from browsers on various computers all works okay. Life image from the raspberry pi system so to say.

My next step is to connect this PI to an Ubuntu 20.04 desktop with motioneye (version 0.42).

I try to connect the raspberry pi as a "network camera" specifying the exact URL as shown above.However, motioneye on the Ubuntu system first shows a green screen where the streaming video should be displayed and after a while (some seconds) a grey screen with the text " connection to camera lost" .

My next step was defining the raspberry pi as a "Remote Motioneye Camera"  with the exact URL as shown above. This stops here with an error message in red "Empty reply from server".

Any thoughts what might cause this mis-communication between motioneyeos on a raspberry PI and motioneye on my Ubuntu system?

BTW userids and passwords were double checked...



StarbaseSSD

unread,
Jun 11, 2021, 2:12:08 PM6/11/21
to motioneye
How / Where did you change the output port on the Pi? It defaults to 8081
Did you try Remote MotionEye with the URL: http://192.168.2.30 user: admin (or user) and appropriate password (blank if unchanged)? It should then give you option for which camera or Camera1 if none others are available.

adriaan

unread,
Jun 11, 2021, 3:04:33 PM6/11/21
to motioneye
I did change the port on the raspberrypi in "Video Streaming" " Streaming Port"

And yes if i do not specify the portnumber when "defining" a new camera in motion on my ubuntu machine (in other words as you suggested http://192.168.2.30) then the "definition" continues with a "Remote motionEye Camera" under " Video Device" and YES the camera stream is visibe now!

Thanks Again StarbaseSSD!

StarbaseSSD

unread,
Jun 11, 2021, 3:08:53 PM6/11/21
to motioneye
You're welcome.

adriaan

unread,
Jun 11, 2021, 3:10:47 PM6/11/21
to motioneye
Having said that and having a working situation now, I still want to figure out how to configure all this in such a way the rapberry pi only streams video and the motioneye imlementation on my Ubuntu machine does the actual motion detection, email transfer etc.... The PI is rather slow when it comes to video streaming and doing motion detection at the same time and the Ubuntu machine has some cpu cycles to spare. 
Would this be possible?

StarbaseSSD

unread,
Jun 11, 2021, 3:15:02 PM6/11/21
to motioneye
Settings, Expert Settings, Set Fast Network Camera to On
That will disable most features, turning the PiZero into a Streaming Camera.

StarbaseSSD

unread,
Jun 11, 2021, 3:18:03 PM6/11/21
to motioneye
It only works with CSI Pi Cameras attached. You will probably need to re-add the Pi to the Ubuntu as a MJPEG type camera. I am not sure if you need the plain URL or the :2733 URL.

eric

unread,
Jul 4, 2022, 12:21:26 AM7/4/22
to motioneye

I have the same problem only I am using a pi3 as hub and my raspberry pi zero has motioneye not motioneyeOS.
both are using legacy raspberry pi OS (buster) and motion and motioneye are up to date.

Has anyone else had this issue lately or figured it out? it looks like it hasnt been discussed in a while.

The idea again is to have the hub do the storage and motion detection, which cant be done as "remote motioneye"

Is the "fast network camera" thing ive seen mentioned here and in a few other threds only in motioneyeOS? I dont see it just on motioneye.

I had this working set up as "network camera" about 6 months ago, but I re purposed my pi zero for a while and now I get the green then grey screen mentioned above.

I have tried all the suggestions here and in this other thread here - https://groups.google.com/g/motioneye/c/-bWbOeBnTmw/m/a9Sm0whWAwAJ

If anyone knows anything I would appreicieate any ideas!

StarbaseSSD

unread,
Jul 4, 2022, 6:57:21 AM7/4/22
to motioneye
There are 2 option equivalents for Fast Network Camera with a 'full OS install':
neither of which have been tested (AFAIK) with Bullseye.
One option for storage is to turn on SAMBA Share service on the Pi3Hub (Settings, Services, Enable SAMBA Services)
and then create a local folder linked to the SAMBA share on the PiZero (I do this in testing regularly)
The motion Detection for the PiZero Camera on the Pi3 hub is problematic, at best. (applies to any camera streamed from another motionEye instance to a motionEye hub).
The development of motionEye and motionEyeOS have been taken over by a new group over on the GitHub, and they have a 0.43 version of motionEye available (still in dev mode) you might want to check with them.
Reply all
Reply to author
Forward
0 new messages