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

<div class="post-metadata">

**Author:** ![RonnyW](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronnyw/32/10879_2.png) [@RonnyW](https://community.homey.app/u/RonnyW)\
**Post date:** [April 20, 2020, 5:04am UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/21 "2020-04-20T05:04:03Z")

</div>

Hello Adrian,  
thanks for your answer. I tried again and got an app crash. I sent a debug report:  
04044252-2d90-4a2e-8bed-10f6d347815f  
I hope that could help to find the reason.  
Please write, if I can help with tests.  
Ronny

---

<div class="post-metadata">

**Author:** ![Octo](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/octo/32/8498_2.png) [@Octo](https://community.homey.app/u/Octo)\
**Post date:** [April 20, 2020, 6:59am UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/22 "2020-04-20T06:59:46Z")

</div>

Adrian, I tested 006. (log enabled) camera search after 8 sec. error no camera found. in the log the message: App Started \* Discoverd: square.

---

<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 20, 2020, 7:21am UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/23 "2020-04-20T07:21:06Z")

</div>

> [@RonnyW](#):
>
> I sent a debug report:  
> 04044252-2d90-4a2e-8bed-10f6d347815f

The dump says it is from version 0.0.5. Could you update to the 0.0.6 version and try as that has the extra error traps and logs.  
Thanks for your patience.

---

<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 20, 2020, 7:25am UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/24 "2020-04-20T07:25:02Z")

</div>

I guess that’s an improvement as it didn’t crash the app 😉  
I must admit the log data is not so helpful though.  
I will look again to see if I can get some more useful data.

---

<div class="post-metadata">

**Author:** ![Octo](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/octo/32/8498_2.png) [@Octo](https://community.homey.app/u/Octo)\
**Post date:** [April 20, 2020, 8:16am UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/25 "2020-04-20T08:16:35Z")

</div>

Great. I will keep my fingers crossed 👍

---

<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 20, 2020, 8:19am UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/26 "2020-04-20T08:19:41Z")

</div>

> [@Octo](#):
>
> App Started \* Discoverd: square.

Where you have typed square, could tha have been `[]` as in an open [followed by a closed] square bracket pair?  
If so then it is just an empty list of devices rather than an unprintable message.

---

<div class="post-metadata">

**Author:** ![RonnyW](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronnyw/32/10879_2.png) [@RonnyW](https://community.homey.app/u/RonnyW)\
**Post date:** [April 20, 2020, 8:29am UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/27 "2020-04-20T08:29:27Z")

</div>

Hi, with version 0.0.6 the camera was added. Thanks for the fix. I will do some tests this evening.  
Btw…could it be possible to add non-Onvif cameras with rtsp-URL?  
I don’t know your app in detail, if it’s extracting the snapshot from rtsp stream or if the camera hast to provide a snapshot via Onvif. So if it’s done from the stream, support for rtsp cameras would be very cool.

---

<div class="post-metadata">

**Author:** ![Octo](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/octo/32/8498_2.png) [@Octo](https://community.homey.app/u/Octo)\
**Post date:** [April 20, 2020, 9:07am UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/28 "2020-04-20T09:07:51Z")

</div>

![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/c/5/c51ffb1755ab645f0f75fb9ea0925e7597d9a8d8.jpeg)

I think you’re right []  
as always 😀

---

<div class="post-metadata">

**Author:** ![RonnyW](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronnyw/32/10879_2.png) [@RonnyW](https://community.homey.app/u/RonnyW)\
**Post date:** [April 20, 2020, 10:24am UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/29 "2020-04-20T10:24:53Z")

</div>

Perhaps a dumb question…where can I see the snapshot. I can’t see it in the device and can’t get in flows like virtual camera images. Does it mean the camera doen’t support snapshots over 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:** [April 20, 2020, 10:41am UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/30 "2020-04-20T10:41:53Z")

</div>

OK, so I need to find a way to add more messages to the log to help locate why it is not finding any cameras.  
I will dig deeper in to the ONVIF library.

---

<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 20, 2020, 10:48am UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/31 "2020-04-20T10:48:44Z")

</div>

The snap shots should appear in the device as well as being tags in the flows.

 ![Screenshot_20200420-113809_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/3/7/37103c7763f06a52d13aa211047407e2c7fc1f31.jpeg)  
In the device the text that shows Motion Event in the image is a drop list where you can also select Now for the ‘Live’ image.  
The actual snap shot comes from a URL that is provided during the discovery process.  
Maybe you could switch on logging and then restart the app as it should then display the URL it will use.

---

<div class="post-metadata">

**Author:** ![RonnyW](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronnyw/32/10879_2.png) [@RonnyW](https://community.homey.app/u/RonnyW)\
**Post date:** [April 20, 2020, 12:49pm UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/32 "2020-04-20T12:49:37Z")

</div>

After activating motion event and app restart I could see the image screen without image.

Here is the log.

- “RuleEngine/CellMotionDetector/Motion”
- Event IsMotion = true
- ------ Event detected ------
- {  
“topic”: {  
“\_”: “tns1:RuleEngine/CellMotionDetector/Motion”,  
“": { "Dialect": "http://www.onvif.org/ver10/tev/topicExpression/ConcreteSet" } }, "message": { "message": { "”: {  
“UtcTime”: “2020-04-20T14:30:30.000Z”,  
“PropertyOperation”: “Changed”  
},  
“source”: {  
“simpleItem”: [  
{  
“": { "Name": "VideoSourceConfigurationToken", "Value": "VideoSourceToken" } }, { "”: {  
“Name”: “VideoAnalyticsConfigurationToken”,  
“Value”: “000”  
}  
},  
{  
“": { "Name": "Rule", "Value": "000" } } ] }, "data": { "simpleItem": { "”: {  
“Name”: “IsMotion”,  
“Value”: true  
}  
}  
}  
}  
}  
}
- “RuleEngine/CellMotionDetector/Motion”
- Event IsMotion = true
- Syncing time
- ------ Event detected ------
- {  
“topic”: {  
“\_”: “tns1:RuleEngine/CellMotionDetector/Motion”,  
“": { "Dialect": "http://www.onvif.org/ver10/tev/topicExpression/ConcreteSet" } }, "message": { "message": { "”: {  
“UtcTime”: “2020-04-20T12:30:40.000Z”,  
“PropertyOperation”: “Changed”  
},  
“source”: {  
“simpleItem”: [  
{  
“": { "Name": "VideoSourceConfigurationToken", "Value": "VideoSourceToken" } }, { "”: {  
“Name”: “VideoAnalyticsConfigurationToken”,  
“Value”: “000”  
}  
},  
{  
“": { "Name": "Rule", "Value": "000" } } ] }, "data": { "simpleItem": { "”: {  
“Name”: “IsMotion”,  
“Value”: true  
}  
}  
}  
}  
}  
}
- “RuleEngine/CellMotionDetector/Motion”
- Event IsMotion = true

I can’t see a URL. In the device I got a this:

 ![Screenshot_20200420-142821_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/a/1a9406da926c90aab08eebe372032a7a3b9c1bd2.jpeg)

or this with the moving circle

 ![20200420_144722](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/b/fb3a77986f3eb50338384370b02d42d3abfc7a92.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:** [April 20, 2020, 2:57pm UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/33 "2020-04-20T14:57:00Z")

</div>

So the good news is motion is being detected.  
I think, with the motion on, it is overflowing the log as I have to limit the size so it doesn’t use too much of Homey’s memory.  
Can you make sure the log is enabled, then restart the app and go straight back to the log view and switch the log off. You should see the URL information as part of the device start up logging. So i get:

> App Started\* Dev Data: {  
> “id”: “192.168.1.204”,  
> “port”: “80”  
> }
> 
> - 
> * * *
> - Connect to Camera
> - Dev Data: {  
> “id”: “192.168.1.205”,  
> “port”: “8899”  
> }
> - 
> * * *
> - Connect to Camera
> - CONNECTED
> - CONNECTED
> - SnapShot URL = [http://192.168.1.204:80/action/snap?cam=0&user=admin&pwd=](http://192.168.1.204:80/action/snap?cam=0&user=admin&pwd=)…
> - SnapShot save file = eventimage192\_168\_1\_204.jpg
> - SnapShot URL = [http://192.168.1.205/webcapture.jpg?command=snap&channel=1&user=admin&password=](http://192.168.1.205/webcapture.jpg?command=snap&channel=1&user=admin&password=)…
> - SnapShot save file = eventimage192\_168\_1\_205.jpg
> - register
> - register

(I have removed the password hash, but note you don’t see your actual password, just an ‘encrypted’ version of it).

---

<div class="post-metadata">

**Author:** ![RonnyW](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronnyw/32/10879_2.png) [@RonnyW](https://community.homey.app/u/RonnyW)\
**Post date:** [April 20, 2020, 5:55pm UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/34 "2020-04-20T17:55:53Z")

</div>

I got it now…

App Started\* Dev Data: {  
“id”: “192.168.1.150”,  
“port”: “8090”  
}

- 
* * *
- Connect to Camera
- CONNECTED
- SnapShot URL = [http://192.168.1.150:8090/onvif/snapshot](http://192.168.1.150:8090/onvif/snapshot)
- SnapShot save file = eventimage192\_168\_1\_150.jpg
- 
###### Waiting for events
- register
- ------ Event detected ------
- {  
“topic”: {  
“\_”: “tns1:RuleEngine/CellMotionDetector/Motion”,  
“": { "Dialect": "http://www.onvif.org/ver10/tev/topicExpression/ConcreteSet" } }, "message": { "message": { "”: {  
“UtcTime”: “2020-04-21T01:48:57.000Z”,  
“PropertyOperation”: “Changed”  
},  
“source”: {  
“simpleItem”: [  
{  
“": { "Name": "VideoSourceConfigurationToken", "Value": "VideoSourceToken" } }, { "”: {  
“Name”: “VideoAnalyticsConfigurationToken”,  
“Value”: “000”  
}  
},  
{  
“": { "Name": "Rule", "Value": "000" } } ] }, "data": { "simpleItem": { "”: {  
“Name”: “IsMotion”,  
“Value”: true  
}  
}  
}  
}  
}  
}
- “RuleEngine/CellMotionDetector/Motion”
- Event IsMotion = true

The URL is without user/PW. In device settings user/PW is sset. Any ideas what I could try?  
Thanks in advance.

---

<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 20, 2020, 6:18pm UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/35 "2020-04-20T18:18:53Z")

</div>

Thank you for the information. I will investigate why it doesn’t have the login details.  
Which camera is that (you mentioned two different cameras earlier)?  
Does the other camera get detected at all?

---

<div class="post-metadata">

**Author:** ![RonnyW](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronnyw/32/10879_2.png) [@RonnyW](https://community.homey.app/u/RonnyW)\
**Post date:** [April 20, 2020, 6:31pm UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/36 "2020-04-20T18:31:07Z")

</div>

Hi Adrian,

it’s a HiKam S6, but I think it doen’s support snapshots via http. It only seems to support rtsp-streams.

> **[Zugriff auf Kameras der 2. Generation via ONVIF (für S6, Q8, A7 2. Generation)](https://support.hikam.de/de/support/solutions/articles/16000070656-zugriff-auf-kameras-der-2-generation-via-onvif-f%C3%BCr-s6-q8-a7-2-generation-)**
>
> Möchten Sie Ihre Videos dauerhaft lokal auf Ihrem eigenen NAS-System (Synology, Qnap usw.) aufbewahren oder nutzen individuelle DDNS/Port-Mapping/VPN, bieten wir Ihnen zudem eine ONVIF-Schnittstelle an.  Mit dieser Alternative bzw. Ergänzung zu...

> **[onvif rtsp security camera](http://supportus.hikam.de/en/support/solutions/articles/16000073132-faq-about-onvif-rtsp)**
>
> We get questions from users about the ONVIF/RTSP to the camera.  Here we compose a collection of frequent asked questions as below to help our users.   If you have questions not listed, you can just send email to us or ask on the...

Do you read the picture from the rtsp-stream or from a http-jpeg-url?

The other cam is a Lutec lamp. It doesn’t support ONVIF. It’s not found in the app.  
It’s only possible to show a rtsp stream and a jpeg snapshot on port 80.

> **[ELARA](https://lutec.com/de_DE/products/product/5267101001-elara-5297)**
>
> Tubular stainless steel wall light in the SECURY?LIGHT range. Familiar design for entry-door application. with perfect finish and appropriate combination of the used materials. Warm white LED light without shadows. Camera. Speaker. Microphone &...

So I think my cameras are not full compatible. If you have further ideas, please write. I will test 🙂

---

<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 20, 2020, 6:55pm UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/37 "2020-04-20T18:55:17Z")

</div>

Could you ask HiKam if it is possible to obtain a snapshot image from the camera?

I can’t see any mention of it in their FAQ section so maybe not, but it seems strange that it returns a URL to the ONVIF query (that information in the log is retrieved from the camera, it is not something I add).

Do you have security enabled on the camera?

---

<div class="post-metadata">

**Author:** ![RonnyW](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronnyw/32/10879_2.png) [@RonnyW](https://community.homey.app/u/RonnyW)\
**Post date:** [April 20, 2020, 7:05pm UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/38 "2020-04-20T19:05:31Z")

</div>

Yes, security is enabled for rtsp (user/pw).  
I asked HiKam some months ago about support of http-snapshots. They put in promising it could be added in a new firmware version. But there was no update.  
So just don’t invest much work on this problem. Thank you for your help. I have to ask HiKam again…

---

<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 20, 2020, 8:51pm UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/39 "2020-04-20T20:51:01Z")

</div>

OK, you are welcome. I hope they add it soon for you.

---

<div class="post-metadata">

**Author:** ![Ben](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ben/32/12538_2.png) [@Ben](https://community.homey.app/u/Ben)\
**Post date:** [April 21, 2020, 2:22pm UTC](https://community.homey.app/t/app-pro-support-for-onvif-compatible-cameras-release-2-0-70-test-2-0-70/28377/40 "2020-04-21T14:22:01Z")

</div>

Hi Adrian,

The hikvision camera’s working perfect except the EBell ATZ-DBV01P 433 MHzdoorbell works not perfect (it has also the onvif protocol) Your app see’s the camera in the network but when i install the camera i got the message “Socket hang up”

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

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