henry-spanka / node-red-contrib-hikvision

Hikvision API for Node Red
MIT License
10 stars 1 forks source link

Hik-Acusense-Model: Multiple Region Index -- possible or bug? #26

Open ozett opened 4 years ago

ozett commented 4 years ago

on my acusense models i have multiple regions to configure (for the first time). would be great to filter on this. but the index in the msg-property is always one (1). is this a bug? or must the code be enhanced to refect multiple regions? would be great to filter on this (also multiple (max 4) lines for linedetection)

image

ozett commented 4 years ago

looks like it is not implementend? as "index" is used for another purpose? https://github.com/nayrnet/node-hikvision-api/blob/master/hikvision.js#L197

would be great to see an updated for this feature.. 👍 🎉

image

ozett commented 4 years ago

could i be already implemented here (sorry, i cannot write code 😭 )

https://github.com/magma1447/node-hikvision-api/commit/80079e74d38a97511e9f9a773cdac51a28877db3

ozett commented 4 years ago

and also corrected missing channel-id(??) here: (?)

https://github.com/pcorrick/node-hikvision-api/commit/7ef29bc4bc578f5b8d7f3c22141557bdd386d394

ozett commented 4 years ago

i was unsure, if there is really a region-index. But there is one. i got this hit on region 2

....really appreciate an api and node- upgrade +1

image