henry-spanka / node-red-contrib-hikvision

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

hikvision-image-in: status-code #25

Open ozett opened 4 years ago

ozett commented 4 years ago

i grab images from my hilook camera (hikvision-brand) with this node, but the node does not send his grabbing status in the msg. i.e. msg.status

the node itself has a status-display, but i would be easyier for the flow-logic to set an switch-node after grabbing to get status.

image

do you think this is a good idea to implement? or do i miss something?

thx,

ozett commented 4 years ago

would also be great to pass the error-code in a property ( like msg.grab-errorcode or msg.errcode) https://github.com/henry-spanka/node-red-contrib-hikvision/blob/master/hikvision.js#L163

i would gratefully appreciate little feature anhancemanets and thx a lot in advance.

ozett commented 4 years ago

with the http-node and digest-auth i got the error-codes in property "statusCode"...

image