Closed ozett closed 4 years ago
looks ok...anything i can check on this with the events or....?
https://github.com/nayrnet/node-hikvision-api/blob/master/hikvision.js#L179
looks like an exeption for unknown event-types (catch-all-other) is missing? if i could code it -- i would... 😭
something like here for "undefined"..?
https://github.com/Tsopic/hikvision-node-eventSubscribe/blob/master/cameraEventHandler.js#L134
I didn't notice that before but I think some cameras send some kind of keep alive messages. Unfortunately this must be fixed in the Hikvision API project. I will probably fork the repository and do it myself as the API is not really maintained anymore.
.... I will probably fork the repository and do it myself as the API is not really maintained anymore.
that would be all the BEST!!!!! (original project seems abandoned)
i am no coder, but looks like only a exeption missing.. i am willing to help as much as i can....maybe testing again after fix...
🎉 🎉 🎉 👍
No problem. Should be fixed. Please check if it still crashes.
how do i check? i tried to install the master right this minute, but got errors.. https://github.com/henry-spanka/node-red-contrib-hikvision/issues/4#issuecomment-547110782
Yeah, I screwed up. Sorry! Try again.
i am testing with 4 cameras to catch the line-crossing events... from time to time my node-red dies with this error:
any help or hints on this?