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

<div class="post-metadata">

**Author:** ![Damian\_Surma](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/damian_surma/32/48817_2.png) [@Damian\_Surma](https://community.homey.app/u/Damian_Surma)\
**Post date:** [December 23, 2024, 8:51am UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/1564 "2024-12-23T08:51:40Z")

</div>

Hey, I set up the Onvif app and added my Reolink NVR with all ports. I put in the info, but no video is showing up. Any idea why?

 ![onvif](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/5/f/5f80ae1e8fcc6c0198ee4c36b5831c82c6f2daee.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:** [December 23, 2024, 9:05am UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/1565 "2024-12-23T09:05:46Z")

</div>

Can you check to make sure the HTTP protocol is enable on the NVR. The URI for the snapshot requires that and that is getting the connection refused.

---

<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:** [December 23, 2024, 9:06am UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/1566 "2024-12-23T09:06:06Z")

</div>

Thanks, you’re awesome.

---

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

</div>

New test version is in the store now.

---

<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:** [December 23, 2024, 3:06pm UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/1568 "2024-12-23T15:06:20Z")

</div>

I tried updating snapshots via Flow, e.g. every hour, which works, but then when I next turn on the Home app, snaphot reverts to an older one… e.g. a few hours ago. After a while, the new snapshot is saved, but it seems pretty random to me. It’s weird

---

<div class="post-metadata">

**Author:** ![Picante](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/picante/32/79541_2.png) [@Picante](https://community.homey.app/u/Picante)\
**Post date:** [December 26, 2024, 5:29am UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/1569 "2024-12-26T05:29:03Z")

</div>

I had this error initially with the same doorbell, it was because I made a mistake on the ports used I didn’t have the same port configured for Onvif on both the app and the camera

---

<div class="post-metadata">

**Author:** ![Picante](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/picante/32/79541_2.png) [@Picante](https://community.homey.app/u/Picante)\
**Post date:** [December 26, 2024, 5:45am UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/1570 "2024-12-26T05:45:08Z")

</div>

Hi  
And thanks @Adrian_Rockall for creating the Onvif app.  
I have 8 Onvif cameras, I started to create flows that sent a message and a snapshot image for each camera but that started to get complex very quickly after trying to setup a message for a pet detection another one for a car detection a person detection, etc.  
So I ended up with at least 24 (8 x 4) branches, possibly more after some other conditions.  
I saw the following card, “Motion was detected”, I was hoping to create a script to capture the details of the trigger in a more dynamic was using a script.  
My question is: are there any ways to grab the details that triggered the card or other simpler options to capture and send notifications using the Onvif App. Cheers.

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/f/0fdc3922d0d03c04a9a9f1ed310ab660e30be3e9.png)

---

<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:** [January 3, 2025, 10:21pm UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/1572 "2025-01-03T22:21:33Z")

</div>

Hi,  
Homey Pro 2023  
Onvif 2.0.48 & 2.0.50  
Camera: Reolink Trackmix POE & Reolink RLC-822A

having a really simple flow like this:

 ![Skjermbilde fra 2025-01-03 23-08-44](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/5/a5e8918ddcc7d3be680a587170425dea6ca0e675.png)

When this flow is trigged it always send two identical push notices, with identical motion snapshot and timestamps. When using the test button in the flow it only sends a single push.

The trackmix config is:

 ![Skjermbilde fra 2025-01-03 23-09-49](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/d/9d6540b1f6f5c0913b308f1f1fa7889a1b01a466.png)  
 ![Skjermbilde fra 2025-01-03 23-10-28](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/c/b/cb839c203b13c9e9d037d883afdad546ef4ed8b2.png)  
 ![Skjermbilde fra 2025-01-03 23-11-01](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/7/8/784fcb52e9270746dd6a509f3b9d2ca723001c5e.png)  
 ![Skjermbilde fra 2025-01-03 23-11-53](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/f/bf670ba4253887bac61b9ee2bcd77f7fff139780.png)  
 ![Skjermbilde fra 2025-01-03 23-12-17](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/c/2ced599c07fbc39f34603959e995f6e469000734.png)

Doing push messages with any other of the apps installed works as expected, and only send a single push.  
Any way to fix the issue with duplicate push messages, either with my config if I have set something wrong?

Svein

---

<div class="post-metadata">

**Author:** ![HomeyRob](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/homeyrob/32/82544_2.png) [@HomeyRob](https://community.homey.app/u/HomeyRob)\
**Post date:** [January 22, 2025, 12:45pm UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/1573 "2025-01-22T12:45:20Z")

</div>

@Adrian_Rockall In my dashboard I often (but not always) see a wrong date. See here: the date shows that the snapshot is 5 days ago, but this should be the current date/time (see top left corner of the snapshot). Do you know how I can fix this?

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/2/f207a7dc782137fec1da2453b4e1eda6c7f39bcd.jpeg)

---

<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:** [January 26, 2025, 7:10pm UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/1574 "2025-01-26T19:10:06Z")

</div>

To answer myself; I’ve seem to have found a workaround, that might help others with Reolink Trackmix camera.

As mention, I receive double push from flows involving motion detection using the Onvif app on this camera. Trying out with another Reolink (822A), this problem didn’t trigger, and worked as expected with a single push.  
This led me to try and figure out what is happening. I first created a lock variable to try and not run the flow twice if duplicated alarms was received in from the Trackmix. (only run if lock variable is ‘no’ and change it 2 min after alarm to allow for new run). This didn’t help, both push notification still triggered.  
Then I added a homeyscript, with a timestamp to see if they triggered exactly the same time. And they seemingly did. Then I wanted to know if they was triggered 100% same time, so I added a homeyscript capture time to 1/100 sec precision, and the two flows was trigged to the millisecond the same time.  
This led me to try and add some sort of delay, but since they triggered at the same time, they needed to get different delay, so one of them got to the lock variable and set it first. Right after the “when” person/car detection triggered, I added a homeyscript that added random delay between 0-1 second. This seems to solve my long going issue with the trackmix. Both flows/alarms are still triggered, but one is now enough ‘ahead’ to take the lock variable, and prevent the second with a slightly longer delay to run due to lock set. Now I’m only getting 1 push notification on my TrackMix.

My theory is that since the Reolink Trackmix is really a 2 lense (standard + zoomed) camera, that they both trigger/sends alarm via Onvif when they essenially see the same, just that one of the lenses are more zoomed in as standard. I have no evidence that this is the case, but the only thing I can think of since other single lense reolink works fine with the app. I’ve also tried the Trackmix with HomeAssistant, and HA does not seem to have the issue with double alarms, but not sure if HA is using Onvif in their integration or not.

Maybe something could have been added to the Onvif app natively to work around this, to stop reacting to two motions of the same type (car,people,pet) at the exact same time???

---

<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:** [January 26, 2025, 7:32pm UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/1575 "2025-01-26T19:32:44Z")

</div>

I can’t remember if you sent a log of the issue from the app settings?  
The log should time stamp the events to 1ms precision. It would be interesting to know if the events are identical or two different types.  
You will probably need to set the log level to Basic or maybe Detailed.

---

<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:** [January 26, 2025, 7:39pm UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/1576 "2025-01-26T19:39:19Z")

</div>

I think I sent some last time I looked into this, but that many months ago. I will do a revert of my workaround tomorrow afternoon, and try capture some logs for you to take a look and see what you capture. (to me they seem like to identical events for the same type of AI detection) . I’ll inform you once they’ve been captured/sent. Thank you for your time.

-Svein

---

<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:** [January 26, 2025, 7:50pm UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/1577 "2025-01-26T19:50:11Z")

</div>

Probably no need to revert your workaround.

---

<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:** [January 26, 2025, 8:19pm UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/1578 "2025-01-26T20:19:00Z")

</div>

Detailed report: 15c6012f-27d6-4d88-ac90-e7a26c51e553  
My flow:

 ![Skjermbilde 2025-01-26 kl. 21.05.51](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/e/be46954ac8927930dc655c3e33480eb5b2d9093f.png)

Timeline from flow (not sure if its the 20.11.50.613 or the 20-12-10.944 which is captured in the log, I expect the first.

See if you see anything of interest.

-Svein-

 ![IMG_0629.PNG](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/d/adef0355889b97f8f32f25c8f09f8467794920c3.png)

---

<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:** [January 26, 2025, 8:26pm UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/1579 "2025-01-26T20:26:44Z")

</div>

Sorry, could you send the Log from the app settings page as the Homey log doesn’t contain much information.

---

<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:** [January 26, 2025, 8:53pm UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/1580 "2025-01-26T20:53:14Z")

</div>

Sendt from Onvif app now. marked “Trackmix”

---

<div class="post-metadata">

**Author:** ![Flavien317](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/flavien317/32/121140_2.png) [@Flavien317](https://community.homey.app/u/Flavien317)\
**Post date:** [January 29, 2025, 7:34pm UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/1581 "2025-01-29T19:34:41Z")

</div>

Hello, thanks for your work ! Its a great community app 💪

I have a PTZ camera, do you know if its possible to control via onvif on homey ?

Thanks in advanced for the reply 😄

---

<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:** [January 29, 2025, 7:49pm UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/1582 "2025-01-29T19:49:49Z")

</div>

Welcome to the community.

I haven’t really looked into it much as Homey’s interface is not great for that and I don’t have any cameras that support PTZ.  
When I get some spare time I will take a look, but life is hectic ATM.

---

<div class="post-metadata">

**Author:** ![HomeyRob](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/homeyrob/32/82544_2.png) [@HomeyRob](https://community.homey.app/u/HomeyRob)\
**Post date:** [January 29, 2025, 8:57pm UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/1583 "2025-01-29T20:57:39Z")

</div>

Continuing the discussion from [[APP][Pro] Support for ONVIF compatible cameras (Release 2.0.41)](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-41/28377/1573):

Hi Adrian,  
Did you see this message? Is this datetime generated by the onvif app or is it a dashboard bug that the datetime is not correct?

---

<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:** [January 29, 2025, 9:18pm UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/1584 "2025-01-29T21:18:45Z")

</div>

I think that comes from Homey as I don’t add any date or time to the image. Homey does record when the image was last updated so I guess it comes from there.

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

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