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

<div class="post-metadata">

**Author:** ![B3rt](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/b3rt/32/9435_2.png) [@B3rt](https://community.homey.app/u/B3rt)\
**Post date:** [October 5, 2022, 10:05am UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/851 "2022-10-05T10:05:31Z")

</div>

i just send the detailed log, it is a small 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:** [October 5, 2022, 10:25am UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/852 "2022-10-05T10:25:51Z")

</div>

Ok, I can see it is getting the date and services OK, but then failed getting the startup information. I will look when I get home to see what calls are made in that section.

---

<div class="post-metadata">

**Author:** ![B3rt](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/b3rt/32/9435_2.png) [@B3rt](https://community.homey.app/u/B3rt)\
**Post date:** [October 5, 2022, 11:25am UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/853 "2022-10-05T11:25:32Z")

</div>

thx!

---

<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:** [October 5, 2022, 9:15pm UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/854 "2022-10-05T21:15:05Z")

</div>

There are 2 calls in callUpstartFunctions, one gets the profiles and the other get the sources. Both are using the media service but I can’t see which one is failing. The returned error, ‘ECONNRESET’, indicates the camera has terminated the call for some reason.  
You could try the highest log level, Full Information, too see if that shows anything more.

Do you have a web link to the camera so I can look at the spec, etc?

---

<div class="post-metadata">

**Author:** ![B3rt](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/b3rt/32/9435_2.png) [@B3rt](https://community.homey.app/u/B3rt)\
**Post date:** [October 5, 2022, 10:51pm UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/855 "2022-10-05T22:51:06Z")

</div>

i just send the log with full information.

The camera does not have a web interface (i could not find any), it can only configured using an app or desktop application.  
More details regarding the camera:

> **[54.66US $ 42% OFF|WiFi 16mm Door Camera Eye hole Diameter V380 Mini Peephole...](https://www.aliexpress.us/item/3256804537217839.html?spm=a2g0o.order_list.0.0.715279d2CqOYFQ&gatewayAdapt=nld2usa4itemAdapt&_randl_shipto=US)**
>
> Smarter Shopping, Better Living! Aliexpress.com

I can setup a link to the camera, but as mentioned i cannot find any web interface to the camera, the default web ports (80, 443) do not work, i did a port scan and did not detect any web ports

---

<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:** [October 7, 2022, 12:23pm UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/856 "2022-10-07T12:23:39Z")

</div>

I have published a new test version. The calls in upstart were being made asynchronously and I wonder if the camera is not capable of processing two simultaneous request. So this version make the calls synchronously to see if that helps.

---

<div class="post-metadata">

**Author:** ![B3rt](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/b3rt/32/9435_2.png) [@B3rt](https://community.homey.app/u/B3rt)\
**Post date:** [October 7, 2022, 1:22pm UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/857 "2022-10-07T13:22:41Z")

</div>

I installed the test version and re-added the device and send your a detailed log.

Sadly it had no effect on the problem, the device is discovered, it can login and is added and after that it errors with the red triangle with the message that the device is unavailable.

As said i cleared the log and then started to add the device, so it s a clean up to date log which was send.

The strange thing is, when you try a repair then Homey receives a connection error

When browsing the log it errors on:  
[http://192.168.1.120:8899/onvif/device\_service](http://192.168.1.120:8899/onvif/device_service)  
A other camera als use a simular link: [http://192.168.1.94:888/onvif/device\_service](http://192.168.1.94:888/onvif/device_service)

When i visit the link in the browser then on the other camera (94:888) i get a respond on that link, but when i visit the link of the camera 120:8899 then the browser answers: The connection was reinitialized

Does this help, this is what HA reports:  
There were no H264 streams available. Check the profile configuration on your device.

The camera uses a H265 instead of H264 stream

---

<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:** [October 7, 2022, 4:13pm UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/858 "2022-10-07T16:13:29Z")

</div>

> [@B3rt](#):
>
> The connection was reinitialized

That is the ECONNRESET error that the Homey app is getting.

Also the Homey app doesn’t use the stream so that shouldn’t becan issue.

The log does seem to get further now it ignores the error, but I think the last entry could be caused by the missing information.  
I will have a close look later to see if I have any other ideas.

---

<div class="post-metadata">

**Author:** ![B3rt](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/b3rt/32/9435_2.png) [@B3rt](https://community.homey.app/u/B3rt)\
**Post date:** [October 14, 2022, 8:03pm UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/859 "2022-10-14T20:03:05Z")

</div>

did you discover anything?  
I currently removed the device because it is not working, i can re-add it if needed.  
If it cannot be solved then it is bad luck for me…

---

<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:** [October 14, 2022, 8:10pm UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/860 "2022-10-14T20:10:42Z")

</div>

I haven’t had any further ideas yet but I keep going back to it. I also have a strange issue with one of my other apps, so I am alternating between the two.

---

<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:** [October 15, 2022, 4:20pm UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/861 "2022-10-15T16:20:20Z")

</div>

I have published a new version that fixes an issue caused by the camera returning a numerical version number instead of a string.  
I found the issue after studying a log but I can’t remember where the log came from so, it might not fix your issue.

---

<div class="post-metadata">

**Author:** ![B3rt](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/b3rt/32/9435_2.png) [@B3rt](https://community.homey.app/u/B3rt)\
**Post date:** [October 15, 2022, 4:52pm UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/862 "2022-10-15T16:52:09Z")

</div>

i updated the test version to 2.0.15  
The camera does not error anymore, but sadly there is no snapshot/picture shown…  
The camera does report in settings a snapshot url, but this seems not to work.

I think i give it up, luckily i got the camera working via my synology nas

---

<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:** [October 15, 2022, 4:54pm UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/863 "2022-10-15T16:54:14Z")

</div>

Could you send the log after trying to refresh the image so I can see why that fails.  
As it is getting closer now it would seem a shame to give up.

---

<div class="post-metadata">

**Author:** ![B3rt](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/b3rt/32/9435_2.png) [@B3rt](https://community.homey.app/u/B3rt)\
**Post date:** [October 15, 2022, 5:07pm UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/864 "2022-10-15T17:07:45Z")

</div>

@Adrian_Rockall i just send 2 logs

---

<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:** [October 15, 2022, 6:49pm UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/865 "2022-10-15T18:49:19Z")

</div>

Ok, so the error message is “internal server error” so I don’t know how to fix that one. Maybe you could contact the manufacturer and ask them why fetching the snapshot image causes that?

---

<div class="post-metadata">

**Author:** ![B3rt](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/b3rt/32/9435_2.png) [@B3rt](https://community.homey.app/u/B3rt)\
**Post date:** [October 15, 2022, 7:11pm UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/866 "2022-10-15T19:11:02Z")

</div>

the manufacturer is unknown, is bought via alixpress, support non existing…  
Last time i asked them for support on onvif, the answered i could send the device back if it no met my expectations…

Better i delete the device and use it via my synology nas

---

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

</div>

I hate being beaten but I think I have to admit defeat on this one.

---

<div class="post-metadata">

**Author:** ![B3rt](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/b3rt/32/9435_2.png) [@B3rt](https://community.homey.app/u/B3rt)\
**Post date:** [October 17, 2022, 12:13pm UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/868 "2022-10-17T12:13:42Z")

</div>

something else.

I removed the device from Homey yesterday, then ALIexpress seller asked me something and i wanted to answer. I re-added the device today and i wanted to send them the error from the log.

I noticed that the error whats the app was reporting was from yesterday!  
In the settings menu where the log is listed the log was running but with settings from the removed camera of yesterday… (i was playing yesterday with the snapshot url)  
I noticed that the error listed the old snapshot url, but not the new added camera…  
(i only have 1 onvif camera added)

So it seems the log part does cache or the settings are not updated well, only after i restarted the app in homey i got the log showing the url what the camera settings also shows…

Dunno if this is a ‘bug’ in the app but wanted to report it.

Alixpress seller has no clue what they are talking about, i asked them the snapshot url and why it errors, i get an answer back whats the onvif port is and what the rtsp stream is… As menionted earlier, the support sucks, i have also no hope it wil be fixed, lucky the camera works also via my synology nas…

---

<div class="post-metadata">

**Author:** ![Andreas\_Fosserud](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/andreas_fosserud/32/48173_2.png) [@Andreas\_Fosserud](https://community.homey.app/u/Andreas_Fosserud)\
**Post date:** [October 27, 2022, 7:27pm UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/869 "2022-10-27T19:27:54Z")

</div>

Hi, I try an Avigilon Camera, type: 3.0C-H4SL-D1-IR.  
The sanpshot works, but I can’t get the motion detection to work, I getting the errors below, every time motion detection activates in the camera

![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/b/8bfc02a110a3d53714439daca06dd3cd767445d7.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:** [October 27, 2022, 7:39pm UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/870 "2022-10-27T19:39:56Z")

</div>

Could make sure the log is enabled (blue tick) then trigger motion and then tap on the Send log button.

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

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