Closed Andrew55529 closed 2 years ago
This look like something useful.
https://github.com/rtorchia/Smartthings-Hikvision-Events/blob/master/hikvisioneventserver/HikvisionEventServer.py
@Andrew55529 - check out https://github.com/mezz64/pyHik and my comments in https://github.com/keshavdv/unifi-cam-proxy/issues/125 - I got motion working well on my Annke cam (which is essentially hikvision). I have it running in the same docker as the proxy.
I've been working on a version to support this natively within the Hikvision implementation, so check back in a little bit.
I've been working on a version to support this natively within the Hikvision implementation, so check back in a little bit.
Thanks
Is your feature request related to a problem? Please describe. I would like someone to add motion detection support for Hikvision, HiWatch (same cameras) cameras. Describe the solution you'd like A clear and concise description of what you want to happen.
Describe alternatives you've considered This is an example API for these cameras written in node js https://github.com/nayrnet/node-hikvision-api I check this and find some information. I start connection by curl on windows curl -X GET http://192.168.10.XXX/ISAPI/Event/notification/alertStream -H "Accept: multipart/x-mixed-replace\r\n\r\n" -H "Authorization: Basic XXXXXXX" it start send me this
--boundary Content-Type: application/xml; charset="UTF-8" Content-Length: 518
It starts sending when the motion is detected and will send some time after.
Additional context Secure have to be set like this.
![image](https://user-images.githubusercontent.com/29784571/149239103-cf1adb69-b02e-4867-ae73-73db03d85d03.png)