# Motioneye + camera module 3

**URL:** <https://dietpi.com/forum/t/motioneye-camera-module-3/23947>\
**Category:** General Discussion\
**Tags:** libcamera, libcamerify, rpicam-apps, libcamera-apps, libcamera-tools\
**Created:** [8 August 2025 12:00 UTC](https://dietpi.com/forum/t/motioneye-camera-module-3/23947 "2025-08-08T12:00:20Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![dieitpi](https://dietpi.com/forum/user_avatar/dietpi.com/dieitpi/32/1954_2.png) [@dieitpi](https://dietpi.com/forum/u/dieitpi)\
**Post date:** [8 August 2025 12:00 UTC](https://dietpi.com/forum/t/motioneye-camera-module-3/23947/1 "2025-08-08T12:00:20Z")

</div>

Hello,

can’t get motioneye work with a camera module 3 on a Raspberry Pi 3.  
Much information about installation around, some of it quite old.

So…anyone has a guide how to get it running with the latest dietpi version?

---

<div class="post-metadata">

**Author:** ![dieitpi](https://dietpi.com/forum/user_avatar/dietpi.com/dieitpi/32/1954_2.png) [@dieitpi](https://dietpi.com/forum/u/dieitpi)\
**Post date:** [6 October 2025 08:11 UTC](https://dietpi.com/forum/t/motioneye-camera-module-3/23947/2 "2025-10-06T08:11:21Z")

</div>

So?..  
Anything new with trixie & motioneye (new or old camera)?

---

<div class="post-metadata">

**Author:** ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)\
**Post date:** [6 October 2025 15:37 UTC](https://dietpi.com/forum/t/motioneye-camera-module-3/23947/3 "2025-10-06T15:37:38Z")

</div>

maybe better to ask this question on [Motioneye GitHub](https://github.com/motioneye-project/motioneye/issues).

---

<div class="post-metadata">

**Author:** ![Jappe](https://dietpi.com/forum/user_avatar/dietpi.com/jappe/32/1788_2.png) [@Jappe](https://dietpi.com/forum/u/Jappe)\
**Post date:** [6 October 2025 22:23 UTC](https://dietpi.com/forum/t/motioneye-camera-module-3/23947/4 "2025-10-06T22:23:52Z")

</div>

I got it to run with motion (on RPi 3 and a camera module 3), but not motioneye. Idk if this would be enough for you?

Stop the motioneye service and then run motion with `libcamerify`:

```auto
libcamerify motion

```

Now you can watch the stream at port 8080 (default motion config)

---

<div class="post-metadata">

**Author:** ![Jappe](https://dietpi.com/forum/user_avatar/dietpi.com/jappe/32/1788_2.png) [@Jappe](https://dietpi.com/forum/u/Jappe)\
**Post date:** [6 October 2025 23:08 UTC](https://dietpi.com/forum/t/motioneye-camera-module-3/23947/5 "2025-10-06T23:08:55Z")

</div>

According to this, it should also work with motioneye  
[https://github.com/motioneye-project/motioneye/issues/2900#issuecomment-1870273642](https://github.com/motioneye-project/motioneye/issues/2900#issuecomment-1870273642)

```sh
/usr/bin/libcamerify /home/python-venv/bin/meyectl startserver -c /etc/motioneye/motioneye.conf

```

but it fails on my RPi 3. I will have another look tomorrow.

---

<div class="post-metadata">

**Author:** ![Jappe](https://dietpi.com/forum/user_avatar/dietpi.com/jappe/32/1788_2.png) [@Jappe](https://dietpi.com/forum/u/Jappe)\
**Post date:** [7 October 2025 17:02 UTC](https://dietpi.com/forum/t/motioneye-camera-module-3/23947/6 "2025-10-07T17:02:58Z")

</div>

I got it to work!  
Activate the cam in `dietpi-cpnfig.`  
Then we need `libcamera-tools` it comes with`libcamerify`.  
If you want to test if your camera is recognized, you can also install `libcamera-apps`

```sh
apt install libcamera-tools libcamera-apps
rpicam-hello --list-cameras

```

This should output the connected cams.  
Then we need to change the service file for motioneye:

```sh
nano /etc/systemd/system/motioneye.service

```

You just need to add the this `/usr/bin/libcamerify` to the `ExecStart=` before anything else, like:

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

```

Save the file, and restart the service:

```auto
 systemctl daemon-reload
 systemctl restart motioneye

```

---

<div class="post-metadata">

**Author:** ![Jappe](https://dietpi.com/forum/user_avatar/dietpi.com/jappe/32/1788_2.png) [@Jappe](https://dietpi.com/forum/u/Jappe)\
**Post date:** [9 October 2025 17:10 UTC](https://dietpi.com/forum/t/motioneye-camera-module-3/23947/7 "2025-10-09T17:10:01Z")

</div>

Can somebody else test this for verification?  
Maybe we should implement this, since the legacy stack does not work anymore on trixie? @MichaIng

---

<div class="post-metadata">

**Author:** ![MichaIng](https://dietpi.com/forum/user_avatar/dietpi.com/michaing/32/7_2.png) [@MichaIng](https://dietpi.com/forum/u/MichaIng)\
**Post date:** [9 October 2025 18:31 UTC](https://dietpi.com/forum/t/motioneye-camera-module-3/23947/8 "2025-10-09T18:31:03Z")

</div>

I aim to implement this right into motionEye, as part of the [`motioneye_init`](https://github.com/motioneye-project/motioneye/blob/b3ed73298554a1db1ea158c4bf6f2ec3a54ef5b9/motioneye/extra/linux_init) command: [Cannot add ov5647 CSI camera - unable to open video device · Issue #3183 · motioneye-project/motioneye · GitHub](https://github.com/motioneye-project/motioneye/issues/3183#issuecomment-3139655239)

But what I want to test is whether wrapping the whole motionEye process into `libcamerify` can cause issues with other attached cameras, and whether instead wrapping it around the particular `motion` processes is a better approach. There is an open PR which does it that way: [Implement libcamerify support for motion binary by strips · Pull Request #2765 · motioneye-project/motioneye · GitHub](https://github.com/motioneye-project/motioneye/pull/2765/files)

---

<div class="post-metadata">

**Author:** ![pepe12ooo](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/p/ce73a5/32.png) [@pepe12ooo](https://dietpi.com/forum/u/pepe12ooo)\
**Post date:** [12 November 2025 09:31 UTC](https://dietpi.com/forum/t/motioneye-camera-module-3/23947/9 "2025-11-12T09:31:38Z")

</div>

> [@Motioneye + camera module 3](https://dietpi.com/forum/t/motioneye-camera-module-3/23947/6):
>
> I got it to work! Activate the cam in dietpi-cpnfig. Then we need libcamera-tools it comes withlibcamerify. If you want to test if your camera is recognized, you can also install libcamera-apps apt install libcamera-tools libcamera-apps rpicam-hello --list-cameras This should output the connected cams. Then we need to change the service file for motioneye: nano /etc/systemd/system/motioneye.service You just need to add the this /usr/bin/libcamerify to the ExecStart= before anything else,…

It works with Camera Module 3 Wide, thank you.

I did have to add `camera_auto_detect=0` and `dtoverlay=imx708` to the `config.txt` file, and then run `apt install libcamera-tools libcamera-apps` so that `rpicam-hello --list-cameras` would report a working camera.

Oddly enough, `vcgencmd get_camera` returns:  
`supported=1 detected=0 libcamera interfaces=1`, but it still works.

Greetings from Germany (translated with Google Translate)

---

<div class="post-metadata">

**Author:** ![Camerastucm](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/c/fbc32d/32.png) [@Camerastucm](https://dietpi.com/forum/u/Camerastucm)\
**Post date:** [9 January 2026 18:15 UTC](https://dietpi.com/forum/t/motioneye-camera-module-3/23947/10 "2026-01-09T18:15:31Z")

</div>

I am using a pi zero and I bought a Camera module 3 NOIR.

Will it be able to run motion eye?

---

<div class="post-metadata">

**Author:** ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)\
**Post date:** [9 January 2026 19:15 UTC](https://dietpi.com/forum/t/motioneye-camera-module-3/23947/11 "2026-01-09T19:15:31Z")

</div>

Maybe something to ask the Motion Project on their Github repository

---

<div class="post-metadata">

**Author:** ![system](https://dietpi.com/forum/uploads/default/original/1X/7e1021de2213860bce185915ce2c1786e56490ec.png) [@system](https://dietpi.com/forum/u/system)\
**Post date:** [8 July 2026 19:15 UTC](https://dietpi.com/forum/t/motioneye-camera-module-3/23947/12 "2026-07-08T19:15:54Z")

</div>

Closed on 8 July 2026 19:15 UTC

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
