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

<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 19, 2023, 11:04am UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/1153 "2023-08-19T11:04:15Z")

</div>

For the user that has a Log ID of -402026554, it seems one of the ONVIF methods is not supported:

The request was `action=\"http://www.onvif.org/ver10/media/wsdl/GetVideoSources\"",`  
and the response was:

> env:Reason\<env:Text xml:lang=“en”\>Optional Action Not Implemented\</env:Text\>

---

<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 19, 2023, 11:06am UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/1154 "2023-08-19T11:06:02Z")

</div>

The user with Log ID -400663174, the error is also a bad user name and / or password as shown above.

---

<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 19, 2023, 11:14am UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/1155 "2023-08-19T11:14:22Z")

</div>

The user with Log ID (-1193106576, the error there is a bit more confusing as it show:  
`getSystemDateAndTime error (192.168.2.156):ONVIF SOAP Fault An error was discovered processing the wsse:Security header.`:

I have no idea why there should be an issue with the security header in that request as it doesn’t have one. Basically, the app has to call that function to get the date and time so it can be used to create the security header for further requests.

---

<div class="post-metadata">

**Author:** ![Kotick](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kotick/32/16570_2.png) [@Kotick](https://community.homey.app/u/Kotick)\
**Post date:** [August 19, 2023, 11:51am UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/1156 "2023-08-19T11:51:10Z")

</div>

Thx. I will check it.

---

<div class="post-metadata">

**Author:** ![Kotick](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kotick/32/16570_2.png) [@Kotick](https://community.homey.app/u/Kotick)\
**Post date:** [August 19, 2023, 12:41pm UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/1157 "2023-08-19T12:41:06Z")

</div>

I updated the password. Can i send the log again?

---

<div class="post-metadata">

**Author:** ![Lipas](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/lipas/32/72447_2.png) [@Lipas](https://community.homey.app/u/Lipas)\
**Post date:** [August 19, 2023, 1:07pm UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/1158 "2023-08-19T13:07:49Z")

</div>

I have double checked login and password. No luck. Error: discovery error. Undefined.  
Strange this cause on my TV via Tinycam Pro it is working great on ONVIF.

---

<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 19, 2023, 5:56pm UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/1159 "2023-08-19T17:56:59Z")

</div>

If yours is Log ID 1547553724, then the last log shows camera ready, so I presume everything went OK?

---

<div class="post-metadata">

**Author:** ![Kotick](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kotick/32/16570_2.png) [@Kotick](https://community.homey.app/u/Kotick)\
**Post date:** [August 19, 2023, 6:20pm UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/1160 "2023-08-19T18:20:46Z")

</div>

I still don’t receive any alarm. Snapshot apparently doens’t work neither.

---

<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 19, 2023, 6:30pm UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/1161 "2023-08-19T18:30:44Z")

</div>

The camera doesn’t appear to support snapshots as shown by the returned data:

```auto
"capabilities": [
				{
					"$": {
							"SnapshotUri": "false",

```

As for motion, have you turned it on in the Homey device (big button with a man walking). A lot of users think this is the alarm status, but it is an option to turn motion detection on and off.

---

<div class="post-metadata">

**Author:** ![Andre\_86](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/andre_86/32/6066_2.png) [@Andre\_86](https://community.homey.app/u/Andre_86)\
**Post date:** [August 19, 2023, 8:05pm UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/1162 "2023-08-19T20:05:09Z")

</div>

Hi Adrian, i’m 100% sure the login credentials are correct. To investigate this further i installed the application called ‘ONVIF device manger’ on my pc. With the same creditentials i can login to the NVR and see all settings, cams, events and what so on…

I don’t now very much about all of this, but when I scroll through the log file I think i can read out it is connecting with the NVR, because it read outs the time and date, firmware version and a lot of more information. but in the end it all stops with  
Failed to connect to camera, Unrecognized configuration.

So I honestly don’t think there is an issue with the login credentials.

---

<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 19, 2023, 8:16pm UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/1163 "2023-08-19T20:16:44Z")

</div>

I wish I knew what to suggest, but I’ve not seen this before.  
I will try to find out if there are different login methods.

---

<div class="post-metadata">

**Author:** ![Andre\_86](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/andre_86/32/6066_2.png) [@Andre\_86](https://community.homey.app/u/Andre_86)\
**Post date:** [August 19, 2023, 8:18pm UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/1164 "2023-08-19T20:18:38Z")

</div>

ok, i’m happy to help. Just let me know if you want me to try something or a new test build or something else.

---

<div class="post-metadata">

**Author:** ![Kotick](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kotick/32/16570_2.png) [@Kotick](https://community.homey.app/u/Kotick)\
**Post date:** [August 20, 2023, 1:13pm UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/1165 "2023-08-20T13:13:44Z")

</div>

> [@Adrian\_Rockall](#):
>
> n’t appear to support snapshots as shown by the returned data:
> 
> ```auto
> "capabilities": [
> 
> ```

Motion is working. For all 3 cameras. Like you said, it was a RTFM problem 🫤  
For the screenshot. I can get a screenshot for any camera using ONVIF Device Manager. But I can’t find the right URL there neither.

---

<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 20, 2023, 1:36pm UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/1166 "2023-08-20T13:36:06Z")

</div>

The ONVIF device manager might be capturing an image from RTSP, but Homey isn’t able to do that.

---

<div class="post-metadata">

**Author:** ![To\_Lou](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/to_lou/32/79159_2.png) [@To\_Lou](https://community.homey.app/u/To_Lou)\
**Post date:** [August 22, 2023, 12:41pm UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/1167 "2023-08-22T12:41:44Z")

</div>

Everything works great here!

Just wanted to highlight a thing with my Reolinks which sends person detected motion events.

It’s just that the camera capability for Person detection seems not to be presented after a while( a day or two) on the Device.  
That also seemingly makes the related flowcard to be missing with ?Card Unavailabe notification.

But it still works anyway!?

Why would this capability be removed from device when it’s actually is there all along?

---

<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 22, 2023, 12:45pm UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/1168 "2023-08-22T12:45:07Z")

</div>

Strange, I will check it out.

---

<div class="post-metadata">

**Author:** ![Andre\_86](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/andre_86/32/6066_2.png) [@Andre\_86](https://community.homey.app/u/Andre_86)\
**Post date:** [August 22, 2023, 1:30pm UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/1169 "2023-08-22T13:30:29Z")

</div>

Hi Adrian,

I just noticed Onvif app was automatically updated to version 2.0.43

So I thought what the hell lets give it another try adding the Hikvison NVR.

All of a sudden it works now, did you made anymore changes? Or could the update from Homey to 10.0.3 also have anything to do with 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:** [August 22, 2023, 1:44pm UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/1170 "2023-08-22T13:44:57Z")

</div>

I’m not sure either way, but glad it’s working.  
The main change was to create my own connection routine that called the same stages as the library version but using promisified calls to individual functions instead of nested callbacks. That gave me much better control over handling errors and skipping parts that were unnecessary. Maybe that was the solution but I didn’t expect it to change your situation.

---

<div class="post-metadata">

**Author:** ![Andre\_86](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/andre_86/32/6066_2.png) [@Andre\_86](https://community.homey.app/u/Andre_86)\
**Post date:** [August 22, 2023, 6:35pm UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/1171 "2023-08-22T18:35:46Z")

</div>

Turned out I was a bit too fast jumping into conslusions.

The nvr is added and all 6ch are showing up including the screenshot.

But there are no motion reports unfortunately.

---

<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 22, 2023, 6:55pm UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/1172 "2023-08-22T18:55:48Z")

</div>

Ok, it’s progress 😛  
Could you set the log to Detailed Information, switch the motion detection option on so I can see if it is enabling correctly and then try to trigger motion finally send the log. then send the log.

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

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