# \[APP\]\[Pro\] Support for ONVIF compatible cameras (Release 2.0.70, Test 2.0.70)

**URL:** <https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377>\
**Category:** Apps\
**Created:** [April 14, 2020, 4:57pm UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377 "2020-04-14T16:57:37Z")\
**Posts on this page:** 20\
**Page:** 69

<div class="post-metadata">

**Author:** ![rjbaat](https://avatars.discourse-cdn.com/v4/letter/r/46a35a/32.png) [@rjbaat](https://community.homey.app/u/rjbaat)\
**Post date:** [March 8, 2024, 7:26pm UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/1376 "2024-03-08T19:26:13Z")

</div>

Hi Adrian,

iam using your app for quite some time with the reolink doorbell. Normally I had a general alarm that I used to trigger my flows. Unfortunately it’s not working anymore sinds I updated the camera firmware to: v3.0.0.3215\_2401262240

I removed the camera and added it again. The thing is it is not adding the general alarm anymore.

Is there a way to add this? I have already pushed the doorbell button a few times hoping it would add this alarm type.

Hope you can help me out 🙂

---

<div class="post-metadata">

**Author:** ![Adrian\_Rockall](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/adrian_rockall/32/13209_2.png) [@Adrian\_Rockall](https://community.homey.app/u/Adrian_Rockall)\
**Post date:** [March 8, 2024, 7:36pm UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/1377 "2024-03-08T19:36:41Z")

</div>

Can you set the Diagnostics log to Detailed then press the button and give it 30s or so and then send the log. I will take a look to see if it’s picking something up.

---

<div class="post-metadata">

**Author:** ![rjbaat](https://avatars.discourse-cdn.com/v4/letter/r/46a35a/32.png) [@rjbaat](https://community.homey.app/u/rjbaat)\
**Post date:** [March 8, 2024, 7:42pm UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/1378 "2024-03-08T19:42:22Z")

</div>

Thnx! I just send you the logs. As I see I only see the visitor state. Maybe they use that for the button push?

---

<div class="post-metadata">

**Author:** ![Adrian\_Rockall](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/adrian_rockall/32/13209_2.png) [@Adrian\_Rockall](https://community.homey.app/u/Adrian_Rockall)\
**Post date:** [March 8, 2024, 7:46pm UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/1379 "2024-03-08T19:46:21Z")

</div>

Yep, all I see is Visitor. If that always coincides with pushing the button and not just motion, then that’s the answer.

---

<div class="post-metadata">

**Author:** ![rjbaat](https://avatars.discourse-cdn.com/v4/letter/r/46a35a/32.png) [@rjbaat](https://community.homey.app/u/rjbaat)\
**Post date:** [March 8, 2024, 7:49pm UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/1380 "2024-03-08T19:49:48Z")

</div>

Yes I think it is. When I push the button it triggers only this alarm. Thnx for the quick respons!

---

<div class="post-metadata">

**Author:** ![rjbaat](https://avatars.discourse-cdn.com/v4/letter/r/46a35a/32.png) [@rjbaat](https://community.homey.app/u/rjbaat)\
**Post date:** [March 12, 2024, 6:58pm UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/1381 "2024-03-12T18:58:34Z")

</div>

Hi Adrian,  
I have it running for a couple of days now. But it doesn’t feel so stable as before the fw upgrade.

The alarm is not triggered instant like it used to. Sometimes it’s not or late. Sometimes it’s instant so the melody I connected to the alarm is playing directly. But in other moments the sound goes of even after I close the door taking a delivery.

Is there an optimization needed on the onvif app, or is the firmware just bad?

To bad I don’t know the fw version I had before. So I could try and revert to it.

---

<div class="post-metadata">

**Author:** ![Adrian\_Rockall](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/adrian_rockall/32/13209_2.png) [@Adrian\_Rockall](https://community.homey.app/u/Adrian_Rockall)\
**Post date:** [March 12, 2024, 7:04pm UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/1382 "2024-03-12T19:04:55Z")

</div>

The app responds pretty quickly as it uses either push messages or a constant connection for pull requests. All I can suggest is to monitor the Diagnostics Log to see how quickly the events fire.

---

<div class="post-metadata">

**Author:** ![rjbaat](https://avatars.discourse-cdn.com/v4/letter/r/46a35a/32.png) [@rjbaat](https://community.homey.app/u/rjbaat)\
**Post date:** [March 12, 2024, 7:23pm UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/1383 "2024-03-12T19:23:35Z")

</div>

Oké thnx I will monitor it some more 👍🏻

---

<div class="post-metadata">

**Author:** ![NoX](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/nox/32/19909_2.png) [@NoX](https://community.homey.app/u/NoX)\
**Post date:** [March 23, 2024, 5:48pm UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/1384 "2024-03-23T17:48:12Z")

</div>

Hi Adrian. Have 2 HikVision cams connected to NVR. Managed to get them both working. At first motion detection somehow did not work. After fiddling with ONVIF Motion Notification and setting it from Motion(Ismotion) to Motionalarm (state) it now picks up motion but as soon as it detects motion (doesn’t matter which cam) the app crashes. Could use some guidance 🧐

---

<div class="post-metadata">

**Author:** ![Adrian\_Rockall](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/adrian_rockall/32/13209_2.png) [@Adrian\_Rockall](https://community.homey.app/u/Adrian_Rockall)\
**Post date:** [March 23, 2024, 5:51pm UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/1385 "2024-03-23T17:51:13Z")

</div>

Could you send the Diagnostics Log from the App Settings page (not the Homey log), after the app crashes and as soon as you start it up again.

---

<div class="post-metadata">

**Author:** ![NoX](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/nox/32/19909_2.png) [@NoX](https://community.homey.app/u/NoX)\
**Post date:** [March 23, 2024, 6:45pm UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/1386 "2024-03-23T18:45:27Z")

</div>

Just did. ecd1d92c-9a76-4544-80c8-7100cf3c2605

---

<div class="post-metadata">

**Author:** ![Svein\_Fossaen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/svein_fossaen/32/32464_2.png) [@Svein\_Fossaen](https://community.homey.app/u/Svein_Fossaen)\
**Post date:** [March 30, 2024, 8:55pm UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/1387 "2024-03-30T20:55:36Z")

</div>

Having two reolink 822a connected to nvr rln8-410. When person/car/pet detection triggered, and sending a push/notification, it always send double notifications with under 1sec apart. When testing flow in homey it only sends one, btr when camera triggers flow I get duplicated notices/push.

What am I doing wrong? Tried push/pull and multiple other settings wihe same result. Latest firmware for both camera and nvr as of today.  
NVR: v3.4.0.304\_24031817  
Camera: v3.3.0.282\_23103128

A detailed log:

Log ID: 2024-03-30T20:12:59.294Z  
App version 2.0.48

```auto
20:12:59.294: Push event: 10.16.20.50
20:12:59.297: Push event token: 000
20:12:59.299: Wrong channel token
20:12:59.300: Push Event found correct Device: 000
20:12:59.303: Push Event process: {
"topic": {
"<em>": "tns1:RuleEngine/MyRuleDetector/PeopleDetect",
"$": {
"Dialect": "http://www.onvif.org/ver10/tev/topicExpression/ConcreteSet"
}
},
"message": {
"message": {
"$": {
"UtcTime": "2024-03-30T20:12:58.000Z",
"PropertyOperation": "Changed"
},
"source": {
"simpleItem": {
"$": {
"Name": "Source",
"Value": "000"
}
}
},
"data": {
"simpleItem": {
"$": {
"Name": "State",
"Value": true
}
}
}
}
}
}
20:12:59.305:
-- Event detected (Inngang-nvr) --
20:12:59.308: {
"topic": {
"</em>": "tns1:RuleEngine/MyRuleDetector/PeopleDetect",
"$": {
"Dialect": "http://www.onvif.org/ver10/tev/topicExpression/ConcreteSet"
}
},
"message": {
"message": {
"$": {
"UtcTime": "2024-03-30T20:12:58.000Z",
"PropertyOperation": "Changed"
},
"source": {
"simpleItem": {
"$": {
"Name": "Source",
"Value": "000"
}
}
},
"data": {
"simpleItem": {
"$": {
"Name": "State",
"Value": true
}
}
}
}
}
}
20:12:59.311: *** Event token 000, channel token 000

20:12:59.313: Event data: (Inngang-nvr) RuleEngine/MyRuleDetector/PeopleDetect: State = true
20:12:59.315: Event Processing (Inngang-nvr):true
20:12:59.318: Event Trigger (Inngang-nvr):Person Detected = true
20:12:59.326: Updating Motion Image in 0seconds
20:12:59.545: Event snapshot URL (Inngang-nvr): [http://10.16.20.50:80/cgi-bin/api.cgi?cmd=onvifSnapPic&channel=0](http://10.16.20.50/cgi-bin/api.cgi?cmd=onvifSnapPic&channel=0)
20:12:59.547: Fetching (Inngang-nvr) MOTION EVENT image with Digest Auth. From: [http://10.16.20.50:80/cgi-bin/api.cgi?cmd=onvifSnapPic&channel=0](http://10.16.20.50/cgi-bin/api.cgi?cmd=onvifSnapPic&channel=0)
20:13:0.062: SnapShot fetch result (Inngang-nvr): Status: true, Message: OK, Code: 200

20:13:0.123: Event Image Updated (Inngang-nvr)
20:13:7.984: Push event: 10.16.20.50
20:13:7.987: Push event token: 000
20:13:7.989: Wrong channel token
20:13:7.991: Push Event found correct Device: 000
20:13:7.993: Push Event process: {
"topic": {
"<em>": "tns1:RuleEngine/MyRuleDetector/PeopleDetect",
"$": {
"Dialect": "http://www.onvif.org/ver10/tev/topicExpression/ConcreteSet"
}
},
"message": {
"message": {
"$": {
"UtcTime": "2024-03-30T20:13:07.000Z",
"PropertyOperation": "Changed"
},
"source": {
"simpleItem": {
"$": {
"Name": "Source",
"Value": "000"
}
}
},
"data": {
"simpleItem": {
"$": {
"Name": "State",
"Value": false
}
}
}
}
}
}
20:13:7.996:
-- Event detected (Inngang-nvr) --
20:13:7.998: {
"topic": {
"</em>": "tns1:RuleEngine/MyRuleDetector/PeopleDetect",
"$": {
"Dialect": "http://www.onvif.org/ver10/tev/topicExpression/ConcreteSet"
}
},
"message": {
"message": {
"$": {
"UtcTime": "2024-03-30T20:13:07.000Z",
"PropertyOperation": "Changed"
},
"source": {
"simpleItem": {
"$": {
"Name": "Source",
"Value": "000"
}
}
},
"data": {
"simpleItem": {
"$": {
"Name": "State",
"Value": false
}
}
}
}
}
}
20:13:8.000: *** Event token 000, channel token 000

20:13:8.003: Event data: (Inngang-nvr) RuleEngine/MyRuleDetector/PeopleDetect: State = false
20:13:8.006: Event Processing (Inngang-nvr):false
20:13:8.011: Event Trigger (Inngang-nvr):Person Detected = false
20:16:23.284: Renewing subscription
20:16:23.287: App.subscribeToCamPushEvents: Oppkjørsel-nvr
20:16:23.290: App.subscribeToCamPushEvents: Found entry for 10.16.20.50
20:16:23.302: Renew previous events: http://10.16.20.50:8000/onvif/Notification?Idx=52666
20:16:23.436: Renew subscription response (Oppkjørsel-nvr): 10.16.20.50
info: [
{
"renewResponse": [
{
"terminationTime": [
"2024-03-30T20:21:23Z"
],
"currentTime": [
"2024-03-30T20:16:23Z"
]
}
]
}
]
20:16:23.439: Push renew every (Oppkjørsel-nvr): 300
20:16:34.319: Sending log
20:16:35.232: Message sent: [0ed46674-aedb-f63f-68a2-53db7980a316@ady.duckdns.org](mailto:0ed46674-aedb-f63f-68a2-53db7980a316@ady.duckdns.org)
20:21:18.444: Renewing subscription
20:21:18.446: App.subscribeToCamPushEvents: Oppkjørsel-nvr
20:21:18.448: App.subscribeToCamPushEvents: Found entry for 10.16.20.50
20:21:18.450: Renew previous events: http://10.16.20.50:8000/onvif/Notification?Idx=52666
20:21:18.545: Renew subscription response (Oppkjørsel-nvr): 10.16.20.50
info: [
{
"renewResponse": [
{
"terminationTime": [
"2024-03-30T20:26:18Z"
],
"currentTime": [
"2024-03-30T20:21:18Z"
]
}
]
}
]
20:21:18.549: Push renew every (Oppkjørsel-nvr): 300

```

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [March 31, 2024, 5:57am UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/1388 "2024-03-31T05:57:49Z")

</div>

The first event is for person being detected, the second event is for person not being detected anymore. Perhaps you need to add an additional card to check the status and only send a notification for the first event.

---

<div class="post-metadata">

**Author:** ![Adrian\_Rockall](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/adrian_rockall/32/13209_2.png) [@Adrian\_Rockall](https://community.homey.app/u/Adrian_Rockall)\
**Post date:** [March 31, 2024, 3:22pm UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/1389 "2024-03-31T15:22:44Z")

</div>

As @robertklep says, only the first event should fire trigger the Flow. Do you have any other motion event triggers hooked up as the app will also set the generic motion alarm?

---

<div class="post-metadata">

**Author:** ![Svein\_Fossaen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/svein_fossaen/32/32464_2.png) [@Svein\_Fossaen](https://community.homey.app/u/Svein_Fossaen)\
**Post date:** [March 31, 2024, 4:38pm UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/1390 "2024-03-31T16:38:32Z")

</div>

Hi, I have flows as following: one for trigger person(s) and one for triggering car(s) both cameras. (4 diff flows). All motion seems to trigger as expected, only problem is they trigger double norifications within same second. Only happends when triggered by camera motion, not when testing manually in homey. No other flows / triggers in homey have the same problem, only the two cameras. Have tried adding timers once triggered to prevent it to trigger again before at least 2 min have gone, but dont help. The reolink push notification only notifies once (normally not used as I want homey to be in charge)I will do some more debugging and isolations ……thank you for your time.

---

<div class="post-metadata">

**Author:** ![Svein\_Fossaen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/svein_fossaen/32/32464_2.png) [@Svein\_Fossaen](https://community.homey.app/u/Svein_Fossaen)\
**Post date:** [March 31, 2024, 4:43pm UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/1391 "2024-03-31T16:43:43Z")

</div>

![IMG_0038](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/7/8/78a0c87430bb5c21c99e0f30790fb1dacd9bf3ab.jpeg)

This is one of the flows

---

<div class="post-metadata">

**Author:** ![Svein\_Fossaen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/svein_fossaen/32/32464_2.png) [@Svein\_Fossaen](https://community.homey.app/u/Svein_Fossaen)\
**Post date:** [March 31, 2024, 4:55pm UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/1392 "2024-03-31T16:55:36Z")

</div>

Basic information from double notification done just now. I dont see any obvious problem, but you guys knows best 🙂  
Any other suggestions to settings/changes to try?

Log ID: 2024-03-31T16:50:01.243Z  
App version 2.0.48

16:50:1.243: Push event: 10.16.20.50  
16:50:1.248: Push event token: 000  
16:50:1.250:  
– Event detected (Inngang) –  
16:50:1.253: \*\*\* Event token 000, channel token 000

16:50:1.255: Event data: (Inngang) RuleEngine/MyRuleDetector/PeopleDetect: State = true  
16:50:1.258: Event Trigger (Inngang):Person Detected = true  
16:50:1.261: Updating Motion Image in 1.5seconds  
16:50:3.041: Fetching (Inngang) MOTION EVENT image with Digest Auth. From: [http://10.16.20.50:80/cgi-bin/api.cgi?cmd=onvifSnapPic&channel=0](http://10.16.20.50:80/cgi-bin/api.cgi?cmd=onvifSnapPic&channel=0)  
16:50:3.569: SnapShot fetch result (Inngang): Status: true, Message: OK, Code: 200

16:50:3.630: Event Image Updated (Inngang)  
16:50:10.442: Push event: 10.16.20.50  
16:50:10.451: Push event token: 000  
16:50:10.452:  
– Event detected (Inngang) –  
16:50:10.453: \*\*\* Event token 000, channel token 000

16:50:10.455: Event data: (Inngang) RuleEngine/CellMotionDetector/Motion: IsMotion = true  
16:50:10.457: Event Trigger (Inngang):IsMotion = true  
16:50:10.459: Ignoring unchanged Motion event (Inngang) IsMotion = true  
16:50:10.460:  
– Event detected (Inngang) –  
16:50:10.461: \*\*\* Event token 000, channel token 000

16:50:10.463: Event data: (Inngang) RuleEngine/MyRuleDetector/PeopleDetect: State = false  
16:50:10.465: Event Trigger (Inngang):Person Detected = false  
16:50:10.469:  
– Event detected (Inngang) –  
16:50:10.470: \*\*\* Event token 000, channel token 000

16:50:10.472: Event data: (Inngang) VideoSource/MotionAlarm: State = true  
16:50:18.111: Push event: 10.16.20.50  
16:50:18.118: Push event token: 000  
16:50:18.119:  
– Event detected (Inngang) –  
16:50:18.121: \*\*\* Event token 000, channel token 000

16:50:18.123: Event data: (Inngang) RuleEngine/CellMotionDetector/Motion: IsMotion = false  
16:50:18.125: Event Trigger (Inngang):IsMotion = false  
16:50:18.126:  
– Event detected (Inngang) –  
16:50:18.128: \*\*\* Event token 000, channel token 000

16:50:18.130: Event data: (Inngang) VideoSource/MotionAlarm: State = false

---

<div class="post-metadata">

**Author:** ![Niklas70](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/niklas70/32/136814_2.png) [@Niklas70](https://community.homey.app/u/Niklas70)\
**Post date:** [April 18, 2024, 1:38pm UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/1393 "2024-04-18T13:38:43Z")

</div>

Is it possible to make Amcrest IP8M-2496EW-V2 to work with this app? It have onvif support but I can not make it work.

---

<div class="post-metadata">

**Author:** ![Adrian\_Rockall](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/adrian_rockall/32/13209_2.png) [@Adrian\_Rockall](https://community.homey.app/u/Adrian_Rockall)\
**Post date:** [April 18, 2024, 8:02pm UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/1394 "2024-04-18T20:02:23Z")

</div>

If the camera supports ONVIF then it should work. Often the ONVIF has to be enabled in the camera and an account needs to be created.  
Does the app detect the camera?  
What exactly doesn’t work?

---

<div class="post-metadata">

**Author:** ![Niklas70](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/niklas70/32/136814_2.png) [@Niklas70](https://community.homey.app/u/Niklas70)\
**Post date:** [April 19, 2024, 9:42am UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/1395 "2024-04-19T09:42:04Z")

</div>

> [@Adrian\_Rockall](#):
>
> Does the app detect the camera

Amcrest IP8M-2496EW-V2 supports ONVIF and I have enabled ONVIF in the camera settings.  
The app detects the camera.  
Then the box appears where I have to enter USERNAME, PASSWORD, IP ADDRESS and ONVIF SERVICE PORT.  
I fill this in and set the port to 554, as that’s the one I use for RTSP - it’s often the same.  
Then I get the error message:  
Error: Discovery error: socket hang up

I tried some other ports as well:  
Port: 37777 - Error: Network request failed  
Port: 37778 - Error: Discovery error: connect ECONNREFUSED 192.168.1.41:37778  
Port: 888 - Error: Discovery error: connect ECONNREFUSED 192.168.1.41:888

I should add that I am not very knowledgeable in the field 🙂

[Previous page](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377.md?page=68)

[Next page](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377.md?page=70)
