# \[App\] Hikvision

**URL:** <https://community.homey.app/t/app-hikvision/16642>\
**Category:** Apps\
**Created:** [August 9, 2019, 4:56pm UTC](https://community.homey.app/t/app-hikvision/16642 "2019-08-09T16:56:22Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![mapulu](https://avatars.discourse-cdn.com/v4/letter/m/b9bd4f/32.png) [@mapulu](https://community.homey.app/u/mapulu)\
**Post date:** [August 18, 2019, 9:45pm UTC](https://community.homey.app/t/app-hikvision/16642/21 "2019-08-18T21:45:13Z")

</div>

Post can’t be empty

---

<div class="post-metadata">

**Author:** ![Stijn\_vdh](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/stijn_vdh/32/17439_2.png) [@Stijn\_vdh](https://community.homey.app/u/Stijn_vdh)\
**Post date:** [August 19, 2019, 7:43am UTC](https://community.homey.app/t/app-hikvision/16642/22 "2019-08-19T07:43:39Z")

</div>

Hi Mapulu,

Ok, thx for the feedback. 🙂

I’m planning on buying the Acusense in a few months, I’ll let you know how it goes.

grtz

---

<div class="post-metadata">

**Author:** ![Peter\_Thornton](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_thornton/32/5109_2.png) [@Peter\_Thornton](https://community.homey.app/u/Peter_Thornton)\
**Post date:** [August 20, 2019, 9:23pm UTC](https://community.homey.app/t/app-hikvision/16642/23 "2019-08-20T21:23:21Z")

</div>

Perfect! Just what I needed.  
I can confirm it works with 2342, 2355 and 2385 cameras.

I haven’t checked the API specs, but do you know if it supports disabling the camera/video stream?

I would like to be able to disable the camera/stream at certain times, and it would be so much easier I I could do it with Homey

Can also confirm that it works with motion detection and line crossing. 🙂

---

<div class="post-metadata">

**Author:** ![WouterV](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/wouterv/32/14740_2.png) [@WouterV](https://community.homey.app/u/WouterV)\
**Post date:** [August 21, 2019, 8:21am UTC](https://community.homey.app/t/app-hikvision/16642/24 "2019-08-21T08:21:24Z")

</div>

I’ve connected sucesfully, I can grab images from Homey.  
But the alarm trigger doesnt work I have checked Notify Surveillance Center.  
In the Hik-Connect app I do get notifications. What could be the problem?

---

<div class="post-metadata">

**Author:** ![WouterV](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/wouterv/32/14740_2.png) [@WouterV](https://community.homey.app/u/WouterV)\
**Post date:** [August 22, 2019, 1:06pm UTC](https://community.homey.app/t/app-hikvision/16642/25 "2019-08-22T13:06:14Z")

</div>

@mapulu I just had a check in the stream /ISAPI/Event/notification/alertStream

and noticed that for me there is no channelid but a dynChannelID so i think it goes wrong there since you are checking like this.  
var index = parseInt(result[‘EventNotificationAlert’][‘channelID’][0])

see below my output, as you can see for some message its **channelID** and for some its **dynChannelID** I think if you change it so it also looks for dynChannelID that it will work for me and probably for others too

\<-EventNotificationAlert version=“1.0” xmlns=“[http://www.hikvision.com/ver20/XMLSchema](http://www.hikvision.com/ver20/XMLSchema)”\>  
\<-ipAddress\>192.168.1.103\<-/ipAddress\>  
\<-portNo\>80\<-/portNo\>  
\<-protocol\>HTTP\<-/protocol\>  
\<-macAddress\>f8:4d:fc:ed:96:35\<-/macAddress\>  
\<-channelID\>0\<-/channelID\>  
\<-dateTime\>2019-08-22T14:47:23+01:00\<-/dateTime\>  
\<-activePostCount\>0\<-/activePostCount\>  
\<-eventType\>videoloss\<-/eventType\>  
\<-eventState\>inactive\<-/eventState\>  
\<-eventDescription\>videoloss alarm\<-/eventDescription\>  
\<-/EventNotificationAlert\>  
–boundary  
Content-Type: application/xml; charset=“UTF-8”  
Content-Length: 465

\<-EventNotificationAlert version=“1.0” xmlns=“[http://www.hikvision.com/ver20/XMLSchema](http://www.hikvision.com/ver20/XMLSchema)”\>  
\<-ipAddress\>192.168.1.103\<-/ipAddress\>  
\<-portNo\>80\<-/portNo\>  
\<-protocol\>HTTP\<-/protocol\>  
\<-macAddress\>f8:4d:fc:ed:96:35\<-/macAddress\>  
\<-dynChannelID\>1\<-/dynChannelID\>  
\<-dateTime\>2019-08-22T14:47:25+01:00\<-/dateTime\>  
\<-activePostCount\>12\<-/activePostCount\>  
\<-eventType\>VMD\<-/eventType\>  
\<-eventState\>active\<-/eventState\>  
\<-eventDescription\>Motion alarm\<-/eventDescription\>  
\<-/EventNotificationAlert\>  
–boundary  
Content-Type: application/xml; charset=“UTF-8”  
Content-Length: 465

---

<div class="post-metadata">

**Author:** ![mapulu](https://avatars.discourse-cdn.com/v4/letter/m/b9bd4f/32.png) [@mapulu](https://community.homey.app/u/mapulu)\
**Post date:** [August 22, 2019, 2:54pm UTC](https://community.homey.app/t/app-hikvision/16642/26 "2019-08-22T14:54:10Z")

</div>

Post can’t be empty

---

<div class="post-metadata">

**Author:** ![WouterV](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/wouterv/32/14740_2.png) [@WouterV](https://community.homey.app/u/WouterV)\
**Post date:** [August 22, 2019, 3:08pm UTC](https://community.homey.app/t/app-hikvision/16642/27 "2019-08-22T15:08:18Z")

</div>

@mapulu thank you. When will this version be released so I can start using the app 🙂

---

<div class="post-metadata">

**Author:** ![mapulu](https://avatars.discourse-cdn.com/v4/letter/m/b9bd4f/32.png) [@mapulu](https://community.homey.app/u/mapulu)\
**Post date:** [August 22, 2019, 3:09pm UTC](https://community.homey.app/t/app-hikvision/16642/28 "2019-08-22T15:09:14Z")

</div>

Post can’t be empty

---

<div class="post-metadata">

**Author:** ![WouterV](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/wouterv/32/14740_2.png) [@WouterV](https://community.homey.app/u/WouterV)\
**Post date:** [August 23, 2019, 3:49pm UTC](https://community.homey.app/t/app-hikvision/16642/29 "2019-08-23T15:49:55Z")

</div>

Great will let you know if it works now.

---

<div class="post-metadata">

**Author:** ![WouterV](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/wouterv/32/14740_2.png) [@WouterV](https://community.homey.app/u/WouterV)\
**Post date:** [August 24, 2019, 8:54am UTC](https://community.homey.app/t/app-hikvision/16642/30 "2019-08-24T08:54:05Z")

</div>

It works now thank you!

---

<div class="post-metadata">

**Author:** ![WouterV](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/wouterv/32/14740_2.png) [@WouterV](https://community.homey.app/u/WouterV)\
**Post date:** [August 26, 2019, 4:34pm UTC](https://community.homey.app/t/app-hikvision/16642/31 "2019-08-26T16:34:22Z")

</div>

@mapulu would you also be able to add \<-eventType\>fielddetection\<-/eventType\> this would add support for intrusion alerts

\<-EventNotificationAlert version=“1.0” xmlns=“[http://www.hikvision.com/ver20/XMLSchema](http://www.hikvision.com/ver20/XMLSchema)”\>  
\<-ipAddress\>192.168.1.103\<-/ipAddress\>  
\<-portNo\>80\<-/portNo\>  
\<-protocol\>HTTP\<-/protocol\>  
\<-macAddress\>f8:4d:fc:ed:96:35\<-/macAddress\>  
\<-dynChannelID\>2\<-/dynChannelID\>  
\<-dateTime\>2019-08-26T18:30:36+01:00\<-/dateTime\>  
\<-activePostCount\>2\<-/activePostCount\>  
\<-eventType\>fielddetection\<-/eventType\>  
\<-eventState\>active\<-/eventState\>  
\<-eventDescription\>fielddetection alarm\<-/eventDescription\>  
\<-/EventNotificationAlert\>

---

<div class="post-metadata">

**Author:** ![mapulu](https://avatars.discourse-cdn.com/v4/letter/m/b9bd4f/32.png) [@mapulu](https://community.homey.app/u/mapulu)\
**Post date:** [August 26, 2019, 5:38pm UTC](https://community.homey.app/t/app-hikvision/16642/32 "2019-08-26T17:38:46Z")

</div>

Post can’t be empty

---

<div class="post-metadata">

**Author:** ![WouterV](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/wouterv/32/14740_2.png) [@WouterV](https://community.homey.app/u/WouterV)\
**Post date:** [August 26, 2019, 5:50pm UTC](https://community.homey.app/t/app-hikvision/16642/33 "2019-08-26T17:50:00Z")

</div>

@mapulu thank you!

---

<div class="post-metadata">

**Author:** ![WouterV](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/wouterv/32/14740_2.png) [@WouterV](https://community.homey.app/u/WouterV)\
**Post date:** [August 27, 2019, 12:53pm UTC](https://community.homey.app/t/app-hikvision/16642/34 "2019-08-27T12:53:54Z")

</div>

@mapulu when i try to install the updated version i get a message.  
This app is incompactible with homey pro.

I also tried to unintall and reinstall but the same error occures

---

<div class="post-metadata">

**Author:** ![mapulu](https://avatars.discourse-cdn.com/v4/letter/m/b9bd4f/32.png) [@mapulu](https://community.homey.app/u/mapulu)\
**Post date:** [August 27, 2019, 1:04pm UTC](https://community.homey.app/t/app-hikvision/16642/35 "2019-08-27T13:04:03Z")

</div>

Post can’t be empty

---

<div class="post-metadata">

**Author:** ![WouterV](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/wouterv/32/14740_2.png) [@WouterV](https://community.homey.app/u/WouterV)\
**Post date:** [August 27, 2019, 1:16pm UTC](https://community.homey.app/t/app-hikvision/16642/36 "2019-08-27T13:16:24Z")

</div>

Ok thank you

---

<div class="post-metadata">

**Author:** ![mapulu](https://avatars.discourse-cdn.com/v4/letter/m/b9bd4f/32.png) [@mapulu](https://community.homey.app/u/mapulu)\
**Post date:** [August 28, 2019, 10:22am UTC](https://community.homey.app/t/app-hikvision/16642/37 "2019-08-28T10:22:45Z")

</div>

Post can’t be empty

---

<div class="post-metadata">

**Author:** ![WouterV](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/wouterv/32/14740_2.png) [@WouterV](https://community.homey.app/u/WouterV)\
**Post date:** [August 29, 2019, 9:16am UTC](https://community.homey.app/t/app-hikvision/16642/38 "2019-08-29T09:16:33Z")

</div>

@mapulu everthing works great! thank you

---

<div class="post-metadata">

**Author:** ![WouterV](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/wouterv/32/14740_2.png) [@WouterV](https://community.homey.app/u/WouterV)\
**Post date:** [August 29, 2019, 4:02pm UTC](https://community.homey.app/t/app-hikvision/16642/39 "2019-08-29T16:02:15Z")

</div>

@mapulu ive noticed and tested the following situation.

If i set an alert on both intrusion and linedection I only get 1 trigger and not both. (Seems like only the last detected) In the hik-connect app both are triggerd.

---

<div class="post-metadata">

**Author:** ![mapulu](https://avatars.discourse-cdn.com/v4/letter/m/b9bd4f/32.png) [@mapulu](https://community.homey.app/u/mapulu)\
**Post date:** [August 29, 2019, 4:58pm UTC](https://community.homey.app/t/app-hikvision/16642/40 "2019-08-29T16:58:14Z")

</div>

Post can’t be empty

[Previous page](https://community.homey.app/t/app-hikvision/16642.md?page=1)

[Next page](https://community.homey.app/t/app-hikvision/16642.md?page=3)
