MissiaL / hikvision-client

Client for Hikvision devices
MIT License
209 stars 43 forks source link

Catch 'line crossing' event #29

Open Bao150297 opened 2 years ago

Bao150297 commented 2 years ago

Hi, thank for ur great work. I'm currently work with Hikvision IP camera, and ur repo help me so much. Now I'm facing a problem about listening to line crossing alarm. Can u give me some advices? Thank in advance

MissiaL commented 2 years ago

Unfortunately I don't have a Hikvision camera anymore and I can't explore the api 😞

Bao150297 commented 2 years ago

@MissiaL thank for your reply and your greate work. For some reason, all messages I got from the Hikvision camera is only in "motion alarm" or heartbeat, althought I turned on 'line crossing detection' and 'field detection'. For who's getting in the same trouble: I found another way to solve this problem is build a server which listens to all events come from camera (you can setup this task in camera setting Network/Advanced/Alarm server).

Bao150297 commented 2 years ago

@MissiaL And one more question, can you tell me where I can download the ISAPI xml content? Some requests require xml setting in body but for now I can't find it