Home Assistant Community Add-on: motionEye

do you realize you public IP is also in the screenshot :sweat_smile:

Well spotted… dam that transparent ui :slight_smile:

1 Like

Try changing the format to H.264 (.mp4).

Changing to just H.264 only fixed it.

Thank you so much!

Hello. After last update to version 0.9.0. My IP cam dont work in motioneye web UI. I haven’t edit any config after update. I tried reinstall addon with reboot hassio and add my ip cam again, but it dont work.
After add my cam i have “An error occurred. Refreshing is recommended” in web ui. And this in log of addon:

 ERROR: motion not running, starting it
 ERROR: failed to start motion: motion failed to start
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/motioneye/server.py", line 325, in checker
    motionctl.start()
  File "/usr/lib/python2.7/site-packages/motioneye/motionctl.py", line 129, in start
    raise Exception('motion failed to start')
Exception: motion failed to start
 WARNING: Connect error on fd 16: ECONNREFUSED

Does anyone have a solution? Or how can I install the previous version of the addon

try this “MotionEye 0.9.0 update failure

1 Like

Thanks a lot, your advice solved the problem

1 Like

motionEye 0.9.0 is working fine on my Debian/Supervised installation.

Is it still possible to enable “Advanced Settings”? I don’t seem to have it under “General Settings”. I’m running this on a NUC in proxmox with the qcow2 image, if that matters.

Edit: Never mind sounds like this isn’t needed. What I actually wanted was “Expert Settings” but that’s apparently a MotionEyeOS thing and not available here.

I wrongly left auto-update switch on and today I found the add-on updated to 0.9.0. In a few minutes I restored the 0.8.1 version

Hiya can someone help me set up a card with Motioneye camera stream on lovelace please? I have tried all different approaches mention here but I just can’t figure out why non of them are working…

Just realised I had no information on my previous post, see details:

I have a onvif (IP camera) streaming fine to Motioneye, however I would also like to see the live stream on my dashboard.

I have tried a bunch of ways but non of them seem to work, I had the below for tinycam and was trying to replicate with Motioneye with no avail, can you help?

camera:

As for now I just want to be able to see the live stream on my dashboard, I have all the Motioneye options turned off (ie. Text overlay, Still images, Movies, Motion detection).

Thanks!

Hi to all!
I have a problem: cam are no longer avalaible on motionEye.
I suspect after an upgrade, but I don’t know which one

Configuration is very minimal:

motion_webcontrol: false
ssl: true
certfile: fullchain.pem
keyfile: privkey.pem
action_buttons: []
  • Cam model: Ezviz C1 Mini
  • Protocol: rtsp://admin:[email protected]:554/Streaming/Channels/102 (work fine on VLC)
  • motionEye version: 0.9.0
  • System: HassOS 4.13 (armv7 / raspberrypi3)
  • Home Assistant Core: 0.115.2
  • Home Assistant Supervisor: 245

Logs:

[20:23:01] INFO: Starting motionEye…
INFO: hello! this is motionEye server 0.42.1
Error relocating /usr/bin/motion: __nanosleep_time64: symbol not found
Error relocating /usr/bin/motion: __select_time64: symbol not found
Error relocating /usr/bin/motion: __gettimeofday_time64: symbol not found
Error relocating /usr/bin/motion: __pthread_cond_timedwait_time64: symbol not found
Error relocating /usr/bin/motion: __localtime64_r: symbol not found
Error relocating /usr/bin/motion: __stat_time64: symbol not found
Error relocating /usr/bin/motion: __localtime64: symbol not found
Error relocating /usr/bin/motion: __time64: symbol not found
ERROR: motion failed to start
Traceback (most recent call last):
File “/usr/lib/python2.7/site-packages/motioneye/server.py”, line 334, in start_motion
motionctl.start()
File “/usr/lib/python2.7/site-packages/motioneye/motionctl.py”, line 129, in start
raise Exception(‘motion failed to start’)
Exception: motion failed to start
INFO: cleanup started
INFO: wsswitch started
INFO: tasks started
INFO: mjpg client garbage collector started
INFO: smb mounts started
INFO: server started
[20:23:04] INFO: Starting NGinx…
ERROR: motion not running, starting it
ERROR: failed to start motion: motion failed to start
Traceback (most recent call last):
File “/usr/lib/python2.7/site-packages/motioneye/server.py”, line 325, in checker
motionctl.start()
File “/usr/lib/python2.7/site-packages/motioneye/motionctl.py”, line 129, in start
raise Exception(‘motion failed to start’)
Exception: motion failed to start
ERROR: motion not running, starting it
ERROR: failed to start motion: motion failed to start
Traceback (most recent call last):
File “/usr/lib/python2.7/site-packages/motioneye/server.py”, line 325, in checker
motionctl.start()
File “/usr/lib/python2.7/site-packages/motioneye/motionctl.py”, line 129, in start
raise Exception(‘motion failed to start’)
Exception: motion failed to start
ERROR: motion not running, starting it
ERROR: failed to start motion: motion failed to start
Traceback (most recent call last):
File “/usr/lib/python2.7/site-packages/motioneye/server.py”, line 325, in checker
motionctl.start()
File “/usr/lib/python2.7/site-packages/motioneye/motionctl.py”, line 129, in start
raise Exception(‘motion failed to start’)
Exception: motion failed to start
ERROR: motion not running, starting it
ERROR: failed to start motion: motion failed to start
Traceback (most recent call last):
File “/usr/lib/python2.7/site-packages/motioneye/server.py”, line 325, in checker
motionctl.start()
File “/usr/lib/python2.7/site-packages/motioneye/motionctl.py”, line 129, in start
raise Exception(‘motion failed to start’)
Exception: motion failed to start

Exception: motion failed to start
/bin/sh: lsb_release: not found
[21/Sep/2020:20:24:24 +0200] 304 185.63.90.25, 172.30.32.1(172.30.32.2) GET / HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.102 Safari/537.36)
[21/Sep/2020:20:24:25 +0200] 200 185.63.90.25, 172.30.32.1(172.30.32.2) GET /login/?_=1600712632864&_username=admin&signature=3885aa43b15c2c8bb86ec3430a5828cfb7455600 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.102 Safari/537.36)
[21/Sep/2020:20:24:25 +0200] 200 185.63.90.25, 172.30.32.1(172.30.32.2) GET /prefs/?
=1600712632979&_username=admin&signature=b6d5157557391c8a978d1ea68968c6d0669e3a5b HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.102 Safari/537.36)
[21/Sep/2020:20:24:25 +0200] 200 185.63.90.25, 172.30.32.1(172.30.32.2) GET /config/main/get/?
=1600712633391&_username=admin&signature=b9ad8a559544fa27541c71d64a6aceec378fc0ca HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.102 Safari/537.36)
[21/Sep/2020:20:24:26 +0200] 200 185.63.90.25, 172.30.32.1(172.30.32.2) GET /config/list/?
=1600712633571&_username=admin&signature=8949950e99b2becb2df4a98bdf8be01178669e8b HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.102 Safari/537.36)
[21/Sep/2020:20:24:26 +0200] 200 185.63.90.25, 172.30.32.1(172.30.32.2) GET /config/1/get/?force=true&
=1600712633683&_username=admin&_signature=17165b48dcbdbfa64d4b864ff3a27e115cd71e20 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.102 Safari/537.36)
WARNING: Connect error on fd 14: ECONNREFUSED
WARNING: Connect error on fd 15: ECONNREFUSED
WARNING: Connect error on fd 15: ECONNREFUSED
WARNING: Connect error on fd 15: ECONNREFUSED
WARNING: Connect error on fd 15: ECONNREFUSED
WARNING: Connect error on fd 15: ECONNREFUSED
WARNING: Connect error on fd 15: ECONNREFUSED
WARNING: Connect error on fd 15: ECONNREFUSED
WARNING: Connect error on fd 15: ECONNREFUSED
WARNING: Connect error on fd 15: ECONNREFUSED
WARNING: Connect error on fd 15: ECONNREFUSED
WARNING: Connect error on fd 15: ECONNREFUSED
WARNING: Connect error on fd 15: ECONNREFUSED
WARNING: Connect error on fd 15: ECONNREFUSED
WARNING: Connect error on fd 15: ECONNREFUSED
WARNING: Connect error on fd 15: ECONNREFUSED
WARNING: Connect error on fd 15: ECONNREFUSED
WARNING: Connect error on fd 15: ECONNREFUSED
WARNING: Connect error on fd 15: ECONNREFUSED
WARNING: Connect error on fd 15: ECONNREFUSED

Can you help me?
Tnx!

Fixed after upgrade to 0.10.0!:upside_down_face:

crap, upgraded to new 0.10.0 , now my local usb camera doesnt work anymore, seems motion is not able to start ??

WARNING: Connect error on fd 14: ECONNREFUSED
 WARNING: Connect error on fd 14: ECONNREFUSED
 WARNING: Connect error on fd 14: ECONNREFUSED
 WARNING: Connect error on fd 14: ECONNREFUSED
 WARNING: Connect error on fd 14: ECONNREFUSED
 WARNING: Connect error on fd 14: ECONNREFUSED
 WARNING: Connect error on fd 14: ECONNREFUSED
 WARNING: Connect error on fd 14: ECONNREFUSED
 WARNING: Connect error on fd 14: ECONNREFUSED
 WARNING: Connect error on fd 14: ECONNREFUSED
[23/Sep/2020:22:40:23 +0200] 200 -(192.168.0.232) GET /picture/1/current/?_=1600893618411&_username=admin&_signature=cdca49ff4fe8af2a241afde955e056cfdb488633 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36)
 WARNING: Connect error on fd 14: ECONNREFUSED
[23/Sep/2020:22:40:23 +0200] 200 -(192.168.0.232) GET /picture/2/current/?_=1600893618411&_username=admin&_signature=4844726a6a1ee0e32e6b49c15828dcd7990577ee HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36)
 WARNING: Connect error on fd 13: ECONNREFUSED
   ERROR: motion not running, starting it
   ERROR: failed to start motion: motion failed to start
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/motioneye/server.py", line 325, in checker
    motionctl.start()
  File "/usr/lib/python2.7/site-packages/motioneye/motionctl.py", line 129, in start
    raise Exception('motion failed to start')
Exception: motion failed to start
   ERROR: motion not running, starting it
   ERROR: failed to start motion: motion failed to start
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/motioneye/server.py", line 325, in checker
    motionctl.start()
  File "/usr/lib/python2.7/site-packages/motioneye/motionctl.py", line 129, in start
    raise Exception('motion failed to start')
Exception: motion failed to start
   ERROR: motion not running, starting it
   ERROR: failed to start motion: motion failed to start

restored back to 0.9.0 , thank god i had a snapshot, all working fine now
somethign wrong with it on 0.10.0 , created issue here

also here

not sure where i needed to post the issue

It works for you?

I got this problem.

But when I use the link in VLC it works.
Could you tell me what is the port that you use?

is it yet possible to use the onboard camera on a Raspberry Pi 4 running home assistant and the Motioneye add-on?
Thanks

1 Like

I’ve noticed my uploaded internet data grows at the rate of 250mb per hour (I have 6 cameras) I’m not collecting the video or anything else to the best of my knowledge, I have all options except video device off. I believe it is Motioneye that’s responsible and as its eating up my ISP allowance (on LTE) so I will have to turn it off. I am only browsing the cameras internally on the whole, using a internal IP, though I do have a NabuCasa connection.
Any ideas where the data is going?

Hi all
I have a couple of questions that is kind of crucial for if I’m going Reolink and motionEye or Unifi Protect. Would really appreciate if I could get some help figuring these out:

  1. Can I use the cameras motion detection so that motionEye is only recording/processing once the camera itself detects motion and starts sending a RTSP stream? This is to reduce the load on my NUC.
  2. Can I via a sensor in Home Assistant toggle recording on/off? I’d like one of the cameras to only record when my alarm is activated.
  3. Can I send motion alerts from Home Assistant based on if motionEye records and then click the notification and get to the live stream?

Thanks.

1 Like