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

Is it possible to add Smartlife/Nedis Yuya based cameras with onvif support as well?

I got myself a outdoor light with build in tuya camera, i was surprised how well it works, it is very quick, good picture and it also support ONVIF, i could add it the camera to my synology for recording…

But when I start the Homey ONVIF app it is not detected, also when I add it manually it cannot connect.
The url I had to enter in synology is this:

rtsp://admin:admin@192.168.1.20:8554/Streaming/Channels/101
This worked after I turned ON the ONVIF option in the tuya settings app
info streaming:

camera specs:
https://nedis.nl/nl-nl/product/veiligheid-en-beveiliging/camera-s/buitencamera-s/550784535/smartlife-camera-voor-buiten-wi-fi-omgevingslicht-full-hd-1080p-ip65-cloud-opslag-optioneel-microsd-niet-inbegrepen-onvif-100-240-v-ac-met-bewegingssensor-nachtzicht-zwart

Homey can’t support live video. All it is capable of is a snapshot image.

Hi Adrian,

Sorry for the late response. Please find hereby the log information I get once the error occurs:

Log ID: 2024-01-03T07:49:46.204Z
App version 2.0.42

7:49:46.204: Fetching (192.168.1.51) NOW image with no Auth from: http://192.168.1.51:80/cgi-bin/api.cgi?cmd=onvifSnapPic&channel=0
7:49:46.219: SnapShot error (192.168.1.51): Protocol “https:” not supported. Expected “http:”
7:49:46.220: Fetching (192.168.1.51) NOW image with Basic Auth. From: http://192.168.1.51:80/cgi-bin/api.cgi?cmd=onvifSnapPic&channel=0
7:49:46.234: SnapShot error (192.168.1.51): Protocol “https:” not supported. Expected “http:”
7:49:46.235: Fetching (192.168.1.51) NOW image with Digest Auth. From: http://192.168.1.51:80/cgi-bin/api.cgi?cmd=onvifSnapPic&channel=0
7:49:46.248: SnapShot error (192.168.1.51): Protocol “https:” not supported. Expected “http:”
7:49:46.250: Fetch NOW error (192.168.1.51): ERR_INVALID_PROTOCOL

I hope this helps. Thank you.

That is very strange as you can see in the log the URL is http: but the error says https: is not supported and http: is expected. So I don’t know what to do with that.

What happens if you click on the link?

Hi Adrian, the issue is solved. The camera is expecting an HTTPS connection but the ONVIF application requests an HTTP connection. I went into the settings of the camera and allowed to also accept an HTTP connection. This solved the issue and it is fully working now. Thanks for your support!

1 Like

Strange error message from the camera that contradicts what is required.
Glad you have it sorted though.

Hello,

I just add 2 cameras now:

  • Reolink RLC-810A - Added - OK | Screenshot - OK | Trigger motion - OK

  • TAPO C310 - Added - OK | Screenshot - Not Possible | Trigger motion - Don’t work
    imagem

Don’t have the screenshot is ok for me, but is possible to help trying to understand why motion don’t work. So then I can create flows.

Thank you.

Can you send me the Diagnostics Log from the app settings page.

1 Like

Hi @Adrian_Rockall

Diagnostics Log sent.

Thank you.

I can see the Tapo is registering the event subscription OK, but there are no events coming from it. Maybe check all the settings on the camera to ensure it is set to send events.

1 Like

Hi @Adrian_Rockall,

TAPO from TP-Link have really less settings for the user to change then Reolink.

I checked all, and don’t see anything else I can change.

But thank you for the support… I think I will go with Reolink for cameras and leave TAPO. :slight_smile:

I will confess that I prefer Reolink. The support is much better from them as well.

1 Like

Hello @Adrian_Rockall ,

I really appreciate all the effort you put into providing support. I searched the messages but could not find what I was looking for. I use a Green Feathers bird box camera that I integrated into my network. Via your app I can easily add the camera to Homey but it seems not to communicate anymore after it has been added successfully. Looking through ‘Green Feathers’ documentation they support Google Home and Amazon Echo but only after they activated, quote: “This is an important step** ; we need you to send us your ‘Device ID’ so we can activate your camera.”

Could this also block the use in the Homey app? Reading the information from your app the brand of the camera is IPcam.

Regards,

Marius

I’m not sure if that is the issue.
Could you set the Diagnostics log to Detailed Information, then add the camera and then send the log so I can see what it is doing.

I just sent you the log.

I have it, so will look at it when I get home this evening.

1 Like

It probably has to do with sabotage. I got a lot of signals “Sabotagealarm ging af” en “sabotagealarm ging uit”.

Any luck analysing the data?

It seems everything is OK until it tries to get the snapshot and then it just doesn’t respond to the request.
Could you look in the advanced settings of the Homey device and let me know what it shows for the “ONVIF Snapshot URL”?

That field is empty indeed. Can I create my own URL and how should I configure this? I also requected the camera manufacturer where the snapshots are stored.