motioneye icon indicating copy to clipboard operation
motioneye copied to clipboard

ONVIF cam support

Open denisjoshua opened this issue 5 years ago • 13 comments

Ho there all I try to connect an ONFIV cam via Home Assistant docker instalation of Motioneye Is there an ONFIV support yet please ?

I try also the RTSP url but I always take an error 404

Thanks all Denis

denisjoshua avatar Apr 04 '19 07:04 denisjoshua

ONVIF normally makes it easier to use the camera, under the hood the RSTP URL/stream is used.

motionEye doesn't have ONVIF support, but when my python3 pull request has been included, I will make some code to detect ONVIF camera's (like ZoneMinder, Shinobi, BlueIris,etc have). I am also lazy to figure out the RTSP URL when i add my camera ;-)

ualex73 avatar Apr 04 '19 09:04 ualex73

I have try a lot of url type ... for example a link like this one, that work on VLC is rtsp://user:[email protected]:554/1/h264major But in motioneye is not work :-( I have a floureon cam Thanks again Denis

denisjoshua avatar Apr 04 '19 11:04 denisjoshua

You can try to increase the motion logging, and check the /var/log/motion.log logfile? Maybe that gives some information why it isn't working. If VLC can open it, in theory motion should work too (motioneye is using motion for the rtsp stream).

ualex73 avatar Apr 04 '19 11:04 ualex73

I don't know where is tha log... Under /var/log I have only nginx. This is a docker installation under Home Assistant (Hassio) :-(

Thanks for the help

denisjoshua avatar Apr 04 '19 12:04 denisjoshua

Ok, if it is under Hassio it could be different, but when I check 'https://github.com/hassio-addons/addon-motioneye/blob/master/motioneye/rootfs/etc/motioneye/motioneye.conf' ... It seems to be also under /var/log?

ualex73 avatar Apr 06 '19 14:04 ualex73

This is what I have on my motioneye docker: ^[[Aroot@a0d7b954-motioneye:/$ ls -la /var/log total 20 drwxr-xr-x 1 root root 4096 Feb 4 22:03 . drwxr-xr-x 1 root root 4096 Feb 4 22:03 .. drwxr-xr-x 1 root root 4096 Apr 4 09:35 nginx root@a0d7b954-motioneye:/$ Maybe I'll ask on home assistant forum Thanks for the help Denis

denisjoshua avatar Apr 06 '19 14:04 denisjoshua

I have try a lot of url type ... for example a link like this one, that work on VLC is rtsp://user:[email protected]:554/1/h264major But in motioneye is not work :-( I have a floureon cam Thanks again Denis

Kindly try to use Onvif device manager which can be used for getting the rtsp url.

xing-zheng avatar Aug 20 '20 11:08 xing-zheng

If you need ONVIF Pan Tilt support, check this out https://www.instructables.com/MOTIONEYE-NVR-PANTILT/

JJSlabbert avatar Mar 12 '21 13:03 JJSlabbert

I connected a network camera (CCTronics) in Motioneye with: URL: rtsp://ipaddress:554/1 User: Password:

PeterLeunis avatar Jan 25 '22 12:01 PeterLeunis

Thanks @PeterLeunis the /1 at the end was what I was missing to setup my iegeek cam.

nolantomy avatar Mar 04 '22 15:03 nolantomy

any of you had success to use motion detection from the onvif device???

iurycarlos avatar Apr 15 '23 23:04 iurycarlos

Tried this myself and motioneye can't find the device. The address rtsp://{ip address}:554/onvif1 works perfectly fine if I use VLC, but not within Motioneye. Note, leaving user & password empty.

GSVNoFixedabode avatar Aug 19 '23 04:08 GSVNoFixedabode