[APP][Pro] Support for ONVIF compatible cameras (Release 2.0.41)

ok, thanks anyway for taking the time.

OK done

Hi, iā€™m having a Hikvision NVR DS-7604NXI-K1 / 4P. This NVR connects to Homey and my 4 cameraā€™s are detected. However all 4 have the same snapshot, snapshot of camera 1. How can I fix this? Where can I find the correct channel nr or channel token?

If you go to the App settings page and select the Diagnostic Log tab, set the level to Detailed information and then restart the app. Once the app has finished the startup procedure, check the log. Feel free to send the log if you would like me to check it for you.

Thanks Adrian! I just removed the cameraā€™s, set the log level to detailed and added them again and then send the log to you. It would be great if you can have a look.

Open the device advanced settings and set the USER Snapshot URL field to http://192.168.178.203:80/onvif/snapshot/10x
where x is the appropriate channel number, e.g. 102 for channel 2, 103 for channel 3 and 104 for channel 4.

Thanks!!! This works (but I had to use 201 for channel 2, 301 for channel 3 and 401 for channel 4). Thanks a lot :slight_smile:

1 Like

I am trying to add some Reolink cameras to the ONVIF app. They are connected to a PoE switch. The ONVIF app successfully finds the cameras and accepts the username and password initially, but when I try to get a snapshot from the cameras I get an ECONNREFUSED error. What am I doing wrong?

You might need to change the snapshot url as a lot of devices seem to be providing false data now.
Go to the Advanced settings of the device in Homey and enter the new url in the User Snapshot URL.

How do I determine the correct url?

What is the detected URL?

Hi @Adrian_Rockall, can you recommend a bullet style outdoor camera that works for triggering motion events via this onvif app?

It needs to be POE, have 2 way audio & would prefer sd card capability but would use an NVR if necessary.

I have been battling with a Foscam V8EP but it seems that motion events triggering via Onvif to homey app are not supported?

I was looking at a reolink RLC-811A but have read comments in this forum that it does not trigger reliably. Iā€™m now hesitant to buy another camera & find that it is also not compatible.

The camera list at the start of this topic is a few years ago now so if you are able to point me in the right direction to current camera(s) that work 100% with the onvif app I would appreciate it.

Thank you

I donā€™t have any cameras that support 2 way audio, so thatā€™s my first stumbling block.
I do have H.View, H.Liink and Reolink cameras that fit the other requirements. My Reolink cameras are connected via an NVR, but I think they would work without it.

The detected url is: http://192.168.1.169/cgi-bin/api.cgp?CMD=onvifSnapPic&channel=0

Changing the port to 8000 makes the error go away, but I still donā€™t get a snapshot.

If you enter that into a browser on the same network, do you get an image or a prompt to log in?

AutoCorrect on my phone messed a bit with the url, so the correct one is:
http://192.168.1.169:80/cgi-bin/api.cgi?cmd=onvifSnapPic&channel=0

Anyway, if I enter that into a browser it says connection refused, probably because I have disabled http access to the cameras.

If I correct the port number to 8000 on my Mac and enter it in a browser it results in downloading a 2kb file called api.cgi. If I look at the file using a text editor it simply looks like a default xml header with no Reolink specific information at all.

If I google ā€œReolink onvifSnapPicā€ I get 0 results.

Ah, OK, if you have disabled http access then the image wonā€™t be accessible. The detected URL and port are probably correct but being blocked.

1 Like

Thanks for your reply Adrian.

I need to think about my next move - bought the Foscam as homey have an official app with motion detection as a supported feature but it hasnā€™t worked.

The vision was to have an IP camera at my entrance to use as a video intercom & detect events to trigger flows(open gates etc).

There are cameras that do it all but there doesnā€™t seem to be one that integrates fully with the Homey Pro 2023.

That doesnā€™t work on my Reolinks, but I also donā€™t recognise the URL format.

This one works for mine:

http://192.168.1.169/cgi-bin/api.cgi?cmd=Snap&channel=0&user=USERNAME&password=PASSWORD

Where you need to replace USERNAME and PASSWORD with the correct credentials for your camera.

And as @Adrian_Rockall points out, you need to enable HTTP access.

1 Like

Thanks @robertklep ! I am now able to get snapshots on demand. However I canā€™t seem to get anything else. No motion alarms or anything. How do I get those?