wget of still images not working the first time with current Motioneye

70 views
Skip to first unread message

Eric Koester

unread,
Sep 20, 2024, 1:32:45 AM9/20/24
to motioneye

StarbaseSSD

unread,
Sep 20, 2024, 3:23:16 AM9/20/24
to motioneye
You should post this over at https://github.com/motioneye-project/motioneye/issues as the new devs that are responsible for 0.43.xxx do not follow this forum.

Eric Koester

unread,
Sep 20, 2024, 2:56:22 PM9/20/24
to motioneye
Ok, I posted over in the motioneye-project Issues tab.
Hopefully this is a known issue and has a known fix.

I wonder if the standard 32-bit version of the Bullseye Raspberry Pi OS (with desktop) could be too much of a load for a Raspberry Pi Zero W, and it's not keeping up to wget requests in real time??
How much lighter of a load do you suppose the MotioneyeOS is in comparison?
Should I try a stripped down version of Raspberry Pi OS Bullseye and see if that helps?

StarbaseSSD

unread,
Sep 20, 2024, 5:29:24 PM9/20/24
to motioneye
MotionEyeOS was a VERY stripped down with just enough OS to run it. It uses busybox for it's main OS functions, runs only the services it needs, and no desktop support. It makes RPiOS Lite look like bloatware. I have tested Buster & BullsEye Lite versions with 0.42.1 and it worked fine as either a hub (connecting to IP cameras) or running a single USB or MMAL (CSI) camera on the PiZeroW.

Eric Koester

unread,
Sep 20, 2024, 7:42:38 PM9/20/24
to motioneye
I just loaded an SD card with the Lite version of Bullseye Raspberry Pi OS (no desktop) and then loaded Motioneye (Python3 version).
motionEye Version 0.43.1b2
Motion Version 4.5.1
OS Version Raspbian 11 (RPiOS Lite)

Motioneye responds the exact same way to the wget - delivers a 0 byte .jpg if I only call wget 1 time.
I still have to call wget 2 times in order to get a valid .jpg file.
192.168.7.91 = webcam3.jpg got called 2 times by wget.
192.168.7.92 = webcam4.jpg got called 1 time by wget.

Since Motioneye is doing the same thing in both the Standard and the Lite versions of Raspberry Pi OS, it looks like the RaspberryPi Zero W is not being overloaded by Raspberry Pi OS.
It's something Motioneye is doing.
Motioneye - zero byte jpg from wget.JPG

StarbaseSSD

unread,
Sep 20, 2024, 7:48:09 PM9/20/24
to motioneye
I'll be happy to check in the AM tomorrow.
RPiZeroW, 8GB card, RPiOS Bullsey Lite, CSI camera, MotionEye 0.43.1b2. Should have something to report around 10a, or so. If I have time, I will also test iterations of Buster Lite, and Bullseye Lite with 0.42.1.

StarbaseSSD

unread,
Sep 21, 2024, 9:46:35 AM9/21/24
to motioneye
Sorry, got up a bit late. Currently installing motionEye 0.43.1b2 on Bullseye lite on PiZeroW & PiCam. Will update you shortly...

StarbaseSSD

unread,
Sep 21, 2024, 10:57:38 AM9/21/24
to motioneye
Wow. Bullseye, PiZeroW, and my CSI Camera do NOT get along, at least with motionEye 0.43.1b2 & motion 4.5.1. I am going to try with motionEye 0.42.1 on Bullseye to see if anything else is changed...

Eric Koester

unread,
Sep 21, 2024, 12:04:19 PM9/21/24
to motioneye
V4L2 Camera.jpg

Eric Koester

unread,
Sep 21, 2024, 12:35:58 PM9/21/24
to motioneye
Here's what it looks like in the web GUI when the camera image is "asleep".
If I click on the image area, it wakes up and is active agian.
Motioeye - camera asleep.JPG

StarbaseSSD

unread,
Sep 21, 2024, 1:03:20 PM9/21/24
to motioneye
Interesting. I have never noticed anything like that in 0.42.1. I would think that is a 'bug' in 0.43.1b2. I doubt if it is a 'power' issue, as I have never seen any 'power savings' settings for CSI in RPiOS...

Eric Koester

unread,
Sep 21, 2024, 1:10:44 PM9/21/24
to StarbaseSSD, motioneye
Hummm.  Maybe roll back to 42.1?
I would guess that's the version that is in the last 2020 version of MotioneyeOS?

pip install --upgrade motioneye==0.42.1

--
You received this message because you are subscribed to a topic in the Google Groups "motioneye" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/motioneye/-iWuFIEI8Hk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to motioneye+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/motioneye/98af5514-1b74-4364-ad34-8495150c9f17n%40googlegroups.com.

Eric Koester

unread,
Sep 23, 2024, 10:36:52 AM9/23/24
to motioneye
Were you able to duplicate the lack of .jpg delivery with the issue of a single wget command?

Eric Koester

unread,
Sep 27, 2024, 10:54:37 PM9/27/24
to motioneye
Well, rolling back to an earlier version does NOT work.  
It broke the working Motioneye install.
It wouldn't even run the web gui!

I tried to upgrade back to 0.43.1b2.  
The web gui mostly works, but its still broken to some extent.

Did anyone know that trying to roll back to an earlier version would break everything?

StarbaseSSD

unread,
Sep 28, 2024, 10:08:50 AM9/28/24
to motioneye
Due to the way the systems run (0.42.1 is Python 2.7 dependent, 0.43.1b2 is Python 3 dependent) and the support of CSI cameras changed drastically between RPiOS 10, 11, and 12, no, you can't really 'roll it back'. That is why I always start with a clean install of the OS, then focus on the install appropriate for the OS. My recent testing works for RPiOS 10 and 0.42.1, mostly works for RPiOS 11 and 0.42.1 or 0.42.1b2, and RPiOS 12 only seems to work consistently for 0.43.1b2, but with issues for CSI & USB. I believe a lot of issues are related to the Python camera support. IP cameras seem to work across all versions. BTW, I've also tested with Debian 10, 11, and 12 on x86 and ARM HW and have noted the same results.

Eric Koester

unread,
Oct 4, 2024, 12:06:17 PM10/4/24
to motioneye
My main interest in exploring the latest Motioneye software is to find a way to get usable nighttime images, by lengthening the exposure time to brighten each image.
I'm finding that there seems to be more problems with the current versions of software that Motioneye runs inside than there was with MotioneyeOS from 2020.

I'm not sure how to narrow down the cause of the apparent sleeping state of the camera and frame grab function using wget?
That degraded functionality is annoying but can be worked around by calling for a camera frame using 2 or more wget calls.

During my testing of the latest software releases, I have discovered that the RPi camera software has taken steps backwards.
There seems to be less functionality with the V4L driver compared to the MAL camera driver.
Auto exposure does not work above resolutions of around 800x600 pixels.
Is there any evidence this is being looked and worked on?

Eric

StarbaseSSD

unread,
Oct 4, 2024, 12:17:45 PM10/4/24
to motioneye
The particular functionality changes are due to the way the OS was/is being changed by the RPiOS people. I would contact them via the RPiOS support teams or maybe put a request in on the motion forums. The ability to add manual commands is still in motionEye, so if you can figure out what motion/v4l needs to give you the functions you want, we can help add them in...
Reply all
Reply to author
Forward
0 new messages