# \[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:** 73

<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:** [July 20, 2024, 6:40am UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/1458 "2024-07-20T06:40:48Z")

</div>

Those should be emitted over ONVIF.

---

<div class="post-metadata">

**Author:** ![Lothe](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/lothe/32/83144_2.png) [@Lothe](https://community.homey.app/u/Lothe)\
**Post date:** [July 20, 2024, 7:01am UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/1459 "2024-07-20T07:01:09Z")

</div>

I have onvif enabled. But I don’t get any notefications and the status page in homey for the camera never changes even when the reolink app sends me notefications. I have also created a flow in homey that would send me a push notefication if motion is detected by the camera, but it does not trigger.

---

<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:** [July 20, 2024, 7:07am UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/1460 "2024-07-20T07:07:55Z")

</div>

Have you turned on the motion detection in the Homey device using the button?  
Although I’m not sure if the Reolink cameras support it as I seem to recall there was something about Reolink cameras that didn’t work.

---

<div class="post-metadata">

**Author:** ![Lothe](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/lothe/32/83144_2.png) [@Lothe](https://community.homey.app/u/Lothe)\
**Post date:** [July 20, 2024, 8:56am UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/1461 "2024-07-20T08:56:27Z")

</div>

No. I did not know that was required. But now it works excellent! Thanks for the help 😃

Btw, it now spams me with notefications upon detection. Is there a way to increase the duration between notefications?

---

<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:** [July 20, 2024, 9:03am UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/1462 "2024-07-20T09:03:25Z")

</div>

In the Advanced settings of that device. You can set interval etc.

---

<div class="post-metadata">

**Author:** ![Mithrandir86](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mithrandir86/32/89825_2.png) [@Mithrandir86](https://community.homey.app/u/Mithrandir86)\
**Post date:** [August 15, 2024, 6:46pm UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/1463 "2024-08-15T18:46:40Z")

</div>

Hi, I need advice on integrating Hikvision cameras into Homey.  
The Hikvision app is not supported on the new Homey, but I managed to connect the cameras via the Onvif app.  
In Hikvision app is everything ok and the motion alarms are deteced. In Homey via onvif is the motion still false positive.  
I,'ve tried everything possible in Camera settings in Homey:

1. Prefer pull event yes / no
2. Change Type of notification to use to motion detect to:

- MOTION (IsMotion)…false positive
- ANALYTICSSERVICE (IsInside)…still negative
- MOTIONALARM (State)…false positive
- DIGITALINOUT (LogicalState)…still negative

1. change Device class between Sensor and Camera… Also without result.  
Nothing is working.  
Does anyone know what to do with it please?  
Thank you very much.

---

<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:** [August 15, 2024, 6:55pm UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/1464 "2024-08-15T18:55:16Z")

</div>

Have you enabled motion detection in the device page as shown here [[APP][Pro] Support for ONVIF compatible cameras (Release 2.0.41) - #1313 by mhemil](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-41/28377/1313)

---

<div class="post-metadata">

**Author:** ![Mithrandir86](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mithrandir86/32/89825_2.png) [@Mithrandir86](https://community.homey.app/u/Mithrandir86)\
**Post date:** [August 15, 2024, 7:11pm UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/1465 "2024-08-15T19:11:33Z")

</div>

Yes I Have enabled motion. But then I have still the motion alert active.

 ![Screenshot_20240815_210929_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/5/d56a3fedc8e2cb4346ad586a521562c13ac3751c.jpeg)  
 ![Screenshot_20240815_210918_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/7/1/71c2707330ae1b2b555b4c16b520c1db87559a9d.jpeg)

---

<div class="post-metadata">

**Author:** ![Mithrandir86](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mithrandir86/32/89825_2.png) [@Mithrandir86](https://community.homey.app/u/Mithrandir86)\
**Post date:** [August 15, 2024, 7:13pm UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/1466 "2024-08-15T19:13:44Z")

</div>

This are my settings:  
Mabye it could be some problem with the time, because the camera time is not showing…

 ![Screenshot_20240815_211250_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/8/a85f9aee0ada5a382ff2277bd88d4235a266f916.jpeg)  
 ![Screenshot_20240815_211216_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/c/ec022f81e84c3520d3db7daf534fe9d953b96725.jpeg)

---

<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:** [August 15, 2024, 7:37pm UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/1467 "2024-08-15T19:37:47Z")

</div>

Ah, sorry, I misread the false positive.

Could you open the app settings page and select the Diagnostic log tab. Then set the log level to Basic Information and trigger motion, wait for a couple of minutes and then send the log.

---

<div class="post-metadata">

**Author:** ![Mithrandir86](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mithrandir86/32/89825_2.png) [@Mithrandir86](https://community.homey.app/u/Mithrandir86)\
**Post date:** [August 15, 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/1468 "2024-08-15T19:49:45Z")

</div>

I made it and sent the log. I noticed that the camera time is showing now, but with wrong time. Mabye it could by some problem with it.

 ![Screenshot_20240815_214845_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/7/87e08d72d7bf921ba5481d41ca73922998f042ed.jpeg)

---

<div class="post-metadata">

**Author:** ![Dirk\_vdM](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dirk_vdm/32/112430_2.png) [@Dirk\_vdM](https://community.homey.app/u/Dirk_vdM)\
**Post date:** [August 15, 2024, 7:52pm UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/1469 "2024-08-15T19:52:51Z")

</div>

I was trying to add my HIKvision system (3 camera’s) with the onvif app.  
So the configuration was pretty straight forward.  
IP adres from the cam.  
Login from the cam.  
Port 80 (tried 800 as well).

Somehow I keep getting “Error: Discovery error: socket hang up”

The onvif is turned on with an onvif user created as well.

---

<div class="post-metadata">

**Author:** ![Dirk\_vdM](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dirk_vdm/32/112430_2.png) [@Dirk\_vdM](https://community.homey.app/u/Dirk_vdM)\
**Post date:** [August 15, 2024, 8:12pm UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/1470 "2024-08-15T20:12:13Z")

</div>

So in the end I managed to add 1 cam, but I can’t add the other to. The reason seems to be that HIKVision places the onvif under the same IP but other ports.  
Like 192.168178.237:65002 and 192.168.178.237:65003.

While adding, the app recognizes “Duplicate Device Data”

---

<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:** [August 15, 2024, 8:28pm UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/1471 "2024-08-15T20:28:36Z")

</div>

Normally, for an NVR, the same ip and port are used but with different channel numbers.  
Could you set the log level to Detailed and then add the cameras followed by sending the log.

---

<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:** [August 15, 2024, 8:37pm UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/1472 "2024-08-15T20:37:49Z")

</div>

The log is showing the camera is spamming the app with motion set to true many times per second, but not one false.  
I can only suggest there is an issue with the camera. Can you make sure it’s firmware is up to date or contact the manufacturer to see if there is a fix.

---

<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:** [August 15, 2024, 8:39pm UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/1473 "2024-08-15T20:39:48Z")

</div>

I presume you sent a log earlier where the cameras are not discovered. Could you make sure ONVIF is enabled in the NVR settings.

---

<div class="post-metadata">

**Author:** ![Dirk\_vdM](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dirk_vdm/32/112430_2.png) [@Dirk\_vdM](https://community.homey.app/u/Dirk_vdM)\
**Post date:** [August 15, 2024, 8:53pm UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/1474 "2024-08-15T20:53:09Z")

</div>

> [@Adrian\_Rockall](#):
>
> ormally, for an NVR, the same ip and port are used but with different channel numbers.  
> Could you set the log level to Detailed and then add the cameras followed by sending the log.

The onvif is enabled now in all 3 camera’s. I needed to log in to them seperately.  
Howerver I managed to add 2 cams, the 3rd gives the error. I will send a clean log file in a minute.

My camera’s are all (automatically) assigned differrent ports. In the browser this works:

> 192.168.178.237:65002/Streaming/Channels/1/picture  
> 192.168.178.237:65003/Streaming/Channels/1/picture  
> 192.168.178.237:65004/Streaming/Channels/1/picture

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/2/d2a0068eada7db101525e4d45599b5c7d40ba49d.png)

---

<div class="post-metadata">

**Author:** ![Mithrandir86](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mithrandir86/32/89825_2.png) [@Mithrandir86](https://community.homey.app/u/Mithrandir86)\
**Post date:** [August 15, 2024, 9:02pm UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/1475 "2024-08-15T21:02:10Z")

</div>

I have 5 cameras with the same problem. All are actual. Mabye it could be problem that I have enabled continual recording 24/7 on NVR?

---

<div class="post-metadata">

**Author:** ![Dirk\_vdM](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dirk_vdm/32/112430_2.png) [@Dirk\_vdM](https://community.homey.app/u/Dirk_vdM)\
**Post date:** [August 15, 2024, 9:10pm UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/1476 "2024-08-15T21:10:06Z")

</div>

I have 2/3 working. Just checked, all settings (apart from the internal IP and the external port are exactly the same).

---

<div class="post-metadata">

**Author:** ![Mithrandir86](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mithrandir86/32/89825_2.png) [@Mithrandir86](https://community.homey.app/u/Mithrandir86)\
**Post date:** [August 16, 2024, 6:46am UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/1477 "2024-08-16T06:46:19Z")

</div>

I deleted the Onvif app + all cameras in Homey and added them via NVR by adding channels. Previously, I added cameras individually by IP. Now after turning on motion detection in Homey, motion is not detected at all (false negative). I’ve tried switching between single mode: MOTION, ANALYTICSSERVICE, MOTIONALARM, DIGITALINPUT and it never triggers motion detection.  
I am sending a new log. I don’t know if the persistent sending of push in the log is not caused by continuous recording, but in the original Hikvision application it works without problems… it continuously records + detects the movement of a person in the marked area. I don’t know if Hikvision transmits this information via onvif to Homey.  
If it could be fixed, that would be great. This is how cameras are useless for use in flows in Homey, even if they support the Onvif protocol.

[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=72)

[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=74)
