[APP][Pro] Support for ONVIF compatible cameras (Release 2.0.60, Test 2.0.60)

I have changed some settings and finaly I was able to receive the motion detection on already one camera. The camera with settings

  • channel: 1
  • token: 000’.

This is the result in log file:

17:55:25.373: *** Event token 000, channel token 000
17:55:25.379: Event data: (camera voordeur) RuleEngine/CellMotionDetector/Motion: IsMotion = true
17:55:25.386: Event Trigger (camera voordeur):IsMotion = true
17:55:25.392: Updating Motion Image in 1seconds

for the other camera’s I get following message in the log file, but it doesn’t come through in the Onvif app of Homey Pro:

*17:55:25.520: *** Event token 000, channel token 006 *
17:55:25.523: Event Ignored on this channel:
{ “$”: { Name": “IsMotion”, *
“Value”: true } }

this camera setting is :

  • channel : 7
  • token: 006

I assume it has got something to do with the event token? Should it be the same as the channel token? and if yes, what to change?

You could try setting the Token to 000 in the Advanced settings to see if that helps.

Hi,

I got today a reolink doorbell and added it via the onvif app.
In an other topic is descripted that i can create a flow when the button is pressed.
To do this I need to use the trigger: ‘Het algemene alarm’ as shown here:

But I do not have this card, I only have these:

Another user showed the available cards, he has them:

What do I wrong here?

I tried the last official version and the test version, but on both I do not have the needed trigger card to start the flow…

There are various models of the doorbell, I think you have a newer one (yours has pet detection, which mine doesn’t have, for example).

I think the card you’re looking for is the “The vistor (sic) detected alarm turned on”.

1 Like

Thx, I’ll try that later today, for now i got it solved by using it via homeassistant.

In HA the device is fully support, I added a HA device for the button press (bezoeker) which I can use for starting a trigger.

2 Likes

Thanks…HTTP or HTTPS is better?

It depends on what the camera supports.
With some, they only provide the image via http due to certificate complexity. So, if you disable https then you can’t get an image.

@B3rt, did you already manage to get the button working via Homey?

I received my Reolink D340W today and have it up and running now, but I have the same issue as you have.
The ‘general alarm’ is not available. I tried both app versions 2.0.48 and 2.0.49 (experimental), but it doesn’t make any difference.

For now I use the card ‘Visitor detected alarm turned on’ which is triggered by the camera, but I prefer to use the button.

Hello!
Installed a Imou Cruiser Dual 6MP camera. Only one of the two channels are working. Channel 2 gets “bad request” error and there is no picture shown.
Channel 1 works as expected.
Any ideas?

Hello There Adrian! i got it to work a while ago! i have 4 cameras, 3 Reolink RCL 810A and one p330. connected to Nvr RLN8-410. And i can’t get the Motion alarm or any detection to work. I get i snapshot on the camera, on the timeline on the cameras it only says tamper alarm disabled XX Min ago by Onviff Camera / Motion alarm disabled XX min ago by onviff camera. i have the prefer pull events selected to Yes, that worked for a while a while ago. what am i doing wrong?the button on every camera is on and i have cleared the log and restarted the app, and i have walked by all cameras before i sent the log to you if you have time to take a look! Thanks in advance :slight_smile:

The app worked perfect for a while but when the NVR changed from 192.168.1.18 to 192.168.0.18 I can not make it work anymore. I have tried everything and this should be the right settings:

user: admin
pass: *********
IP: 192.168.0.18
ONVIF port: 80

I use a Hikvision NVR. I get error message:

Error: Discovery error: Cannot read properties o…

I have made ONVIF users on NVR and also on the 4 camera’s.

Can anyone give advice?

After changing the ip on each camera in the Homey device Advanced settings, have you restarted the app just to be sure the change has taken?

Thanks for fast reply. I’m not even able to add the NVR at all so I can’t get to advanced settings.

Has Homey also changed IP address as that looks like it could be on a different subnet?
What is your network subnet mask?

Hi Adrian, I have sent a diagnostic log 690cdeca-d426-4ea9-a0e8-9e05707681f7

My device is:

I’ve read through these numerous posts but can’t see anyone with my exact issue. I’m trying to add a reolink video doorbell with the onvif app but it fails to add with the following message:
“Error: Discovery error: Wrong ONVIF SOAP response”

So it is obviously all ok credential-wise, etc. But I’m not sure how I can go about seeing the internals of the log and/or the SOAP message, else I might have a better clue what is failing. I’ve installed your latest version and have restarted all apps etc but no joy. I’m not connecting via an NVR, rather my reolink is poe to a shared switch with the modem and various other devices. I assume this is ok, i.e., the Homey Pro is on the shared wifi but not connected by ethernet cable to the switch.

Note that your onvif app searches for shared devices during the “add device” process but then only has the manual add option; just mentioning this in case I’m missing a step or have screwed up somewhere.

Thanks in advance for any help. Cheers, Gray.

The log is also showing the connection is being refused. Have you enabled the ONVIF protocol in the doorbell?
The combination of not being aitomatically detected and that error suggests the doorbell is not ONVIF compatible or is not enabled.

You can view detailed logs in the app settings pages, where you can also change the log detail level.

I’m fairly sure that it is.

1 Like

Thanks so much for looking into that, Adrian.

That helped me narrow down the screw up I made, so I’ll post here in case it helps someone else. Basically I hadn’t enabled RTSP which meant I never saw the option to enable ONVIF. Once I updated this then all worked as expected, in so far as the camera was found automatically and I could select it etc etc:

You can’t tell from the screen grab bit ONVIF doesn’t show on this screen until RTSP is enabled; would have been nice / more obvious if it was simply grayed out… But there you go.

Thanks again for your help, Adrian. The support and efforts you put into this community are very much appreciated by all, I’m sure of that.

Hi Adrian, is there any way to update a snapshot via Flow? I only have the motion snapshot option there, but it doesn’t appear in the dashboards, where there is only a classic snapshot.

I thought there was a card for that but I have just checked the code and I deprecated it nearly three years ago. I can’t remember why though.

Edit: It seems I deprecated it in Version 0.1.1 when I added a card to update the motion snapshot, so maybe at the time it just seemed more logical that way. I will enable it again and update the test version.