Open strarsis opened 5 years ago
Thanks for reporting Please add any relevant information about camera type.
@hawkeye64: Model is HiLook PTZ-N2204I. ONVIF is enabled, "Operator"-Level user is used by the nodejs script, there is also "Administrator" available, but it making the user an "Administrator" doesn't help with the issue. I get the error events many times and quite regularly during the script run. Also switched from IPv6 IPCam address to the IPv4 one because some programs had issues with IPv6 support, but this also doesn't seem to be the issue.
@hawkeye64: Is there any other information that can be helpful?
@hawkeye64: So after some time I tried the script again and first I got messages, then in a subsequent script run I only get Message Errors. Could this issue occur because events are pulled multiple times from the device, I also explicitly called camera.events.stopPull()
but this doesn't help.
It's possible. I haven't found time to look into this yet. I have 3 cameras at my disposal and all three (Hikvision, Axis and Trendnet) were all working. That doesn't mean much. I found lots of errors in each of those cameras for not exactly following the spec. And for Hikvision, even had to write special handling code because of them misspelling a critical command.
@hawkeye64: It is very unlikely that you have the same Hikvision model as I have, I can give you ONVIF access to that IPCamera so you can see the actual XML data. If you like, you can give me an email address or send me an email to strarsis@gmail.com and I send you its hostname, ONVIF username, and password (I can't publish them here on GitHub of course).
@strarsis email sent. Thanks.
@strarsis I apologize, I just haven't been able to find time for this.
Almost 7 weeks ago, I was struggling with a ruptured disk. This last past Friday I had the back op and on my way to mending and being able to (hopefully) sit at a computer for more than 20 minutes.
One other thing, I realized I never did get the hikvision events working. The other two IP cameras I have available, yes.
Same error I get. I use BCS camera.
After PTZ GoTo finished a message should be received by the nodejs script. A message is received, but an error message:
Also messages are received, but only of one type:
Does the nodejs script have to pull from a particular URL to retrieve the actual event data?