Giter VIP home page Giter VIP logo

node-red-contrib-hikvision-ultimate's People

Contributors

supergiovane avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

node-red-contrib-hikvision-ultimate's Issues

help with a first run needed ;)

hi there, is it possible to write a short manual how to run this node with minimal setup for AX pro. what i want to achieve is the ability to arm and disarm the ax pro device with a simply shell commands from linux or any other software.

how can i achieve this to be done ? simple example how to start will be enought, i am not regular node-red user.

Annke Camera

Hi,

Thanks for your amazing Node-red node, works great for me.

No bug to report, just small note.
I'm using Annke camera's, It's not sure where these camera's are made, but the software is full Hikvision compatible and looks the same as Hikvision. Think that Annke is a OEM from Hikvision.
Even the service tools like "Batch Configuration" from Hikvision works with these Annke camera's.

Capture

So this makes the Hivision text in the above box is not correct for Annke and after pressing Yes the camera type is add to your tested device list , amazing idea.
This will make your tested device list not only Hikvision devices.

If you want to correct this totally not important issue let me know and I'm willing to help you with testing.

node-red-contrib-hikvision-ultimate 1.0.51

Grazie

[Feature Request] Xml in node

Hi, It's me again,

Thanks for your great nodes. I'm using them more and more to control my camera's, all is working great.
What I'm missing now is a XML in node.

It would be handy if you can ask for example the camera if motion detection is enabled or not. Can be used for example to see if the motion detection is enabled in the dashboard by a led or something.

Sending a path /ISAPI/System/Video/inputs/channels/1/motionDetection to the camera and get the XML back.
It should then be very handy if the node outputs the received XML as json.

msg = { "enabled": true, "enableHighlight": true, "samplingInterval": 2, etc.... }

Thanks

Connection issues - basic stuff

Hi,
I'm trying to use this addon, but I'm missing some basic info (probably important for everyone that would try..)
I'm using the DS-8003 Door station (with additional keypad). current firmware: 2.2.56 build 220713

in the doorbell node I'm getting "Waiting for event".
Clicking on Connect (Get info) - Brings up the unit's info so the connection is OK I guess.
But - no event happens when pressing the call button the the door unit and it say "calling failed"
In the RAW alert node I get "Unauthorized" (and here too - connect brings the right info).

To understand the workflow of the units (and hens the node red modules):

  1. Does the 8003 has a setting of "who is" the control station and it sends events to this location?
    Or does the control (node red for this example) logs into the 8003 and "samples" it for events?

  2. On the 8003 - there are a couple of setting the confuses me:
    (basic settings>port> I have http & https ports which are for contacting the unit. BUT what is server port?
    also
    Under "Intercom" there are "registration password", "main station IP" and "Private server IP"
    Does any of these has something to do with this implementation? I need to set something related?

  3. do we need to setup specific user on the 8003? some special permissions? or the regular admin is OK?

Last one :) What firmware versions seem to be working correctly ? maybe I'll downgrade if it will help

Many thanks :)
Gil

HIKVision NVR POE

Hi,
Is it possible to manage NVR POE settings from node-red \ HIK SDK?
For example NVR DS-7608NI-I2.
It needs to switch off several cameras if you at home \ switch on if away.
image

Good work, Thank you,

About deployment and withdrawal

Hi @Supergiovane
you are awesome
Unexpectedly, you are also using the products of hikvison
I have an NVR. I want to ask if I can implement the command of deploying and removing defense

Best Regards
Songzh

channelid: "0" eveytime

Hello,

The alarm messages I am getting from all cameras look like this:

object
payload: true
topic: ""
channelid: "0"
zone: 0
description: "Motion alarm"
_msgid: "8bf02a97.c12208"

Any ideas what I should look at to fix this?

Data from the Telegram node is overwritten (Taking a picture and sending it via telegram)

Hello!

Describe the Issue
I try to integrate node-red-contrib-telegrambot with node-red-contrib-hikvision-ultimate to send a image from hikvision camera to a telegram user.
my goals are:

  1. Send an image from a closed circuit camera to a fixed telegram subscriber when an event occurs
  2. Give the possibility to a telegram user to request an image with the command /getImage from a closed circuit camera

point 1 ✔️
I was able to do it using the "picture node" of Hikvision-Ultimate and setting after the picture node a function:

msg.payload = {}

msg.payload.chatId = XXXXXXXX  //TelegramUserId
msg.payload.content = msg.forEmail;
msg.payload.type = 'photo';
msg.payload.caption = "l'immagine che ho acquisito"

return msg;

point 2
Here i've a problem, because the picture node overvrite all the content of the msg.
If a user writes to the bot, I have to save the chatID to reply to the same user (my bot reply to many users).
I save the payload of telegram node to a variable "msg.backup", but nothing remains after the picture node.
Is it possible that the image node keeps the contents of the previous msg?

Hikvision-Ultimate Version

  • 1.0.62

Are you running node-red behind homematic, docker or anything similar?

  • Node-Red running alone in Ubuntu 20.04.4 LTS linux-virtual-machine on vmware
  • Node v: 16.14.2

Thanks

FR: Calling PTZ-Prreset by number from payload

Salutation "Hello" Supergiovane

Describe the bug
Wondering if i need for each preset a PTZ-Node with the PTZ-Preset "preset" in that node

Expected behavior
maybe possible to send the preset-number with payload to call the preset?
i.e. payload=1, (for preset 1) ?

Screenshots
image

Hikvision-Ultimate Version
1.1.95
Node-Red running on ubuntu in vmware

Additional context
did not try it out, but did also found no documentation.

feature request: self-signed certs

Hello,

I am trying to authenticate to my NVR over SSL and I am getting:

"Errore  hikvisionUltimateGetInfoCam request to https://192.168.1.56:443/ISAPI/System/deviceInfo failed, reason: self signed certificate"

Is there a way perhaps to disable the cert check or offer it as an option perhaps?

IP cameras still not working

Hi,

Just tried this with my HVR analog cams 1 to 3 work as expected but IP cams give me bad request, any ideas ?

Picture node

First of all, this is a really great node. A big Thank you!

As for the picture node, I notice it is reading the substream. Is there a way to read from mainstream too?

Also, the picture node continuously generates null output on my setup even without any "true" input....is this the intended behavior? It can be easily filtered out but I was wondering perhaps this is a minor bug.

Missed Events

Hello,

Happy New Year to you.

First time posting to Github so apologies if I get anything wrong.

I have just installed HikVision Ultimate but I am having some issues. Many events are missed which I believe is down to a connection issue. I have it connected to a DS-9664-i16 NVR. I have a test camera on the desk. For testing I am using a linecrossing event. It starts to function and detect events but then stops. After a while it then displays "temporary lost connection" after it re-connects it may work but again fail within a minute. Repeating the tests direct to a camera and everything tests fine. The NVR is running the very latest firmware:
Firmware Version
V4.60.000 build 211129
The NVR can be viewed fine on the same PC and pings to the NVR do not drop.
I have tried with the NVR set to digest and digest / basic but again it does not change.
I have changed the server to emit errors after 4 but again no change.

To re-produce simply place an alarm node and debug. The debug stops after a short while and the connection error is displayed.

Test PC and NVR on same network just through a single switch. Expect no connection errors.
nodered normal 1
nodered error 1

Using version 1.0.58

Node-Red running on Windows 10 PC

Happy to perform any testing to help.

Thank you

Ian

Connected but no alerts

Hi, I've installed the package (1.0.25) and configured the node - they are reporting that they are connected to the NVR and I get get the model information back:
Name: Embedded Net DVR
Model: DS-7208HQHI-K1
Firmware: V4.30.101
But no alerts are received. The events are configured to sent to the Notification Centre and email address - they are displaying on the Hik-Connect app without issue - any ideas ?

Where can I learn about configuring Hikvision motion alarms?

I have a new(ish) Annke camera that uses hikvision software. I'd been in contact with Annke support about how to get motion alarms working (among addressing other things/bugs) and was rather frustrated that they would only suggest enabling "Platform Access", which I don't want to do - I don't want to rely on a remote service for motion. They also constantly tell me to install an additional "vision" software for recording - but I already use an alternate paid software (Sighthound Video Pro) and have been for years - and am happy with it. When I complained to them that the motion emails were only triggering at night (when the IR was on), their solution was repeatedly: enable platform access. It seems that that's their cure-all for every issue.

But after I found your node, I was able to get motion alarms into my node-red setup, which is great... and I'm getting motion alarms and emails now during both day and night, but the motion alarms go off on average once a minute when nothing is happening. Even when I turned the sensitivity down to 1, it had no effect on the frequency of the motion alarms.

So I thought I would ask you what a good source is for figuring out how to tweak the motion event settings...

Node-red stops after UnhandledPromiseRejectionWarning

Node-RED version: 2.1.3
Node.js version: 12.22.7
npm version: 6.14.15
Platform/OS: Raspbian
Camera: DS-2CD2343G2-I, firmware: V5.7.1 build 211009

Oct 31 23:04:23 raspberrypi Node-RED[12424]: (node:12424) UnhandledPromiseRejectionWarning: Error: Text data outside of root node.
Oct 31 23:04:23 raspberrypi Node-RED[12424]: Line: 6
Oct 31 23:04:23 raspberrypi Node-RED[12424]: Column: 12
Oct 31 23:04:23 raspberrypi Node-RED[12424]: Char: 1
Oct 31 23:04:23 raspberrypi Node-RED[12424]: at error (/root/.node-red/node_modules/sax/lib/sax.js:651:10)
Oct 31 23:04:23 raspberrypi Node-RED[12424]: at strictFail (/root/.node-red/node_modules/sax/lib/sax.js:677:7)
Oct 31 23:04:23 raspberrypi Node-RED[12424]: at SAXParser.write (/root/.node-red/node_modules/sax/lib/sax.js:1035:15)
Oct 31 23:04:23 raspberrypi Node-RED[12424]: at Parser.exports.Parser.Parser.parseString (/root/.node-red/node_modules/xml2js/lib/parser.js:323:31)
Oct 31 23:04:23 raspberrypi Node-RED[12424]: at /root/.node-red/node_modules/xml2js/lib/parser.js:5:59
Oct 31 23:04:23 raspberrypi Node-RED[12424]: at /root/.node-red/node_modules/node-red-contrib-hikvision-ultimate/nodes/Hikvision-config.js:179:41
Oct 31 23:04:23 raspberrypi Node-RED[12424]: at Array.forEach ()
Oct 31 23:04:23 raspberrypi Node-RED[12424]: at handleChunk (/root/.node-red/node_modules/node-red-contrib-hikvision-ultimate/nodes/Hikvision-config.js:170:34)
Oct 31 23:04:23 raspberrypi Node-RED[12424]: at Readable. (/root/.node-red/node_modules/node-red-contrib-hikvision-ultimate/nodes/Hikvision-config.js:263:33)
Oct 31 23:04:23 raspberrypi Node-RED[12424]: at Readable.emit (events.js:314:20)
Oct 31 23:04:23 raspberrypi Node-RED[12424]: (node:12424) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promi$
Oct 31 23:04:23 raspberrypi Node-RED[12424]: (node:12424) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-ze$

event home_away

Hello why are armed at home and armed away event the same?
can you modify the code to have separate havings?

ANPR problem

We are using the the node-red-contrib-hikvision-ultimate for ANPR with:
Name: IP CAMERA
Model: iDS-2CD7A26G0/P-IZHSY
Firmware__V5.8.20_230328_S3000489273

Describe the bug
Bildschirm­foto 2023-05-25 um 10 34 41

Since the upgrade to Firmware__V5.8.20_230328_S3000489273 we get all 20s the error : Invalid header or no response

To Reproduce
Steps to reproduce the behavior:
comes every time

Hikvision-Ultimate Version

  • Eg. 1.1.95

Are you running node-red behind homematic, docker or anything similar?

  • Eg. Node-Red running alone in RaspberryPi

Additional context
Add any other context about the problem here.

Intrusion Detection

Excellent set of nodes.

I have several cameras and have been trialling your alarm node with both the Hikvision DS-2CD2386G2-I and Annke C800 I91BF. Both cameras are setup in the same spot with the same settings and the same zones for motion/line crossing/intrusion.

Both cameras work well with video motion and line crossing, however with the intrusion detection the node doesn’t seem to send true when the event commences for the Hikvision DS-2CD2386G2-I (monitored via the IVMS Event Center). The Annke C800 I91BF sends true immediately then false after, however the Hikvision DS-2CD2386G2-I only sends false 5-10 seconds after event trigger. For line crossing the Hikvision DS-2CD2386G2-I sends true successfully then false soon after.

Below are screenshots from the Event Center showing 2 different triggers, and also the Node-Red debug node (connected direct to the alarm node [set to intrusion direction]) showing only the false.

image

image

Would appreciate some assistance as the Annke C800 I91BF in the same scenario show 2 triggers in Event Center and also in Node-Red debug node.

image

image

Feature request: text overlay node

Hi. Supergiovane.
It would be nice to have a text overlay node using Hikvision ISAPI
I use following flow to show temperature on video stream:
textoverlay.txt
Unfortunately, I don't have the skills to make a node.
I don't think it would be a problem for you.

New feature to pull recorded images / video

Hi,

I'm working on a flow to grab a still image on an alarm and store on my PI4 for easy verification. I'm sure it would be possible to get this from the DVR directly based on timestamp, camera channel etc. I don't have any good info on the API and its probably beyond my skills.
Do you have any plans for something like this ?

AX PRO not getting zone update message for second zone

hi! i manage to run node-red with this library, connect to AX Pro, and setup a simply mqtt broker to send status / change setteings via mqtt commands. What is interesting for me

when i am playing with the APP hik connect or directly from node-red i see

AXPRO {"zoneUpdate":{"id":0,"name":"Strefa przewodowa 1","status":"online","sensorStatus":"normal","tamperEvident":true,"shielded":false,"bypassed":false,"armed":true,"isArming":false,"alarm":false,"subSystemNo":1,"linkageSubSystem":[1],"detectorType":"passiveInfraredDetector","stayAway":false,"zoneType":"Instant","accessModuleType":"localTransmitter","moduleChannel":1,"zoneAttrib":"wired","deviceNo":2,"abnormalOrNot":false}}

when i send command to "whole alarm system" or to First zone (id number: 0). I have 2 zones in the setup and don't see any status updates for second zone even when i am playing with the zone from himkvision app.

but i do see the CIDevents for different zones i think system 1 or 2

"CIDEvent":{"code":3441,"name":"jkjebj","type":"armAndDisarm","trigger":"2023-03-13T13:59:00+01:00","upload":"2023-03-13T13:59:02+01:00","system":1,"subSystemName":"Dom parter"}}
AXPRO {"CIDEvent":{"code":1401,"name":"jkjebj","type":"armAndDisarm","trigger":"2023-03-13T14:00:30+01:00","upload":"2023-03-13T14:00:30+01:00","system":2,"subSystemName":"Dom pietro"}}
AXPRO {"CIDEvent":{"code":3401,"name":"jkjebj","type":"armAndDisarm","trigger":"2023-03-13T14:00:38+01:00","upload":"2023-03-13T14:00:38+01:00","system":2,"subSystemName":"Dom pietro"}}
AXPRO {"CIDEvent":{"code":3441,"name":"jkjebj","type":"armAndDisarm","trigger":"2023-03-13T14:00:39+01:00","upload":"2023-03-13T14:00:40+01:00","system":2,"subSystemName":"Dom pietro"}}

not sure if this is a bug we can fix, happy to help you with testing

Forbidden

Hi Supergiovane, great node, but I'm experiencing "Forbidden" errors. Sometimes nodes are connected to my camera and after some time, there is a Forbidden error. This appeared after the update to 1.0.12 and today after the update to 1.0.14 is still appearing. Thank you

Snímek obrazovky 2020-12-18 v 11 05 40

From syslog:

Dec 18 12:12:11 nodered Node-RED[667]: ReferenceError: Cannot access 'destroys' before initialization
Dec 18 12:12:11 nodered Node-RED[667]:     at internal/streams/pipeline.js:82:31
Dec 18 12:12:11 nodered Node-RED[667]:     at internal/util.js:392:14
Dec 18 12:12:11 nodered Node-RED[667]:     at PassThrough.<anonymous> (internal/streams/pipeline.js:33:21)
Dec 18 12:12:11 nodered Node-RED[667]:     at PassThrough.<anonymous> (internal/util.js:392:14)
Dec 18 12:12:11 nodered Node-RED[667]:     at PassThrough.onerror (internal/streams/end-of-stream.js:68:14)
Dec 18 12:12:11 nodered Node-RED[667]:     at PassThrough.emit (events.js:326:22)
Dec 18 12:12:11 nodered Node-RED[667]:     at abort (/home/pi/.node-red/node_modules/node-fetch/lib/index.js:1424:18)
Dec 18 12:12:11 nodered Node-RED[667]:     at AbortSignal.abortAndFinalize (/home/pi/.node-red/node_modules/node-fetch/lib/index.js:1433:4)
Dec 18 12:12:11 nodered Node-RED[667]:     at AbortSignal.dispatchEvent (/home/pi/.node-red/node_modules/event-target-shim/dist/event-target-shim.js:818:35)
Dec 18 12:12:11 nodered Node-RED[667]:     at abortSignal (/home/pi/.node-red/node_modules/abort-controller/dist/abort-controller.js:52:12)
Dec 18 12:12:13 nodered Node-RED[667]: (node:667) UnhandledPromiseRejectionWarning: TypeError: stream.on is not a function
Dec 18 12:12:13 nodered Node-RED[667]:     at destroyer (internal/streams/pipeline.js:27:10)
Dec 18 12:12:13 nodered Node-RED[667]:     at internal/streams/pipeline.js:79:12
Dec 18 12:12:13 nodered Node-RED[667]:     at Array.map (<anonymous>)
Dec 18 12:12:13 nodered Node-RED[667]:     at pipeline (internal/streams/pipeline.js:76:28)
Dec 18 12:12:13 nodered Node-RED[667]:     at internal/util.js:297:30
Dec 18 12:12:13 nodered Node-RED[667]:     at new Promise (<anonymous>)
Dec 18 12:12:13 nodered Node-RED[667]:     at pipeline (internal/util.js:296:12)
Dec 18 12:12:13 nodered Node-RED[667]:     at Timeout.startAlarmStream [as _onTimeout] (/home/pi/.node-red/node_modules/node-red-contrib-hikvision-ultimate/nodes/Hikvision-config.js:242:21)
Dec 18 12:12:13 nodered Node-RED[667]:     at runMicrotasks (<anonymous>)
Dec 18 12:12:13 nodered Node-RED[667]:     at processTicksAndRejections (internal/process/task_queues.js:97:5)
Dec 18 12:12:13 nodered Node-RED[667]: (node:667) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 17)

Controlling NVR

Hi, was wondering is there a way to control the NVR instead of using the IR remote someway like up, down, left, right, channel numbers etc. This would be very helpful.

Picture Grab from Mainstream

Hi,
Thanks again for your very nice nodes, it works great with my camera's

I noticed the grabbed picture is 624x482 pixels in size. From this size and the quality of the picture I assume that the picture is grabbed from the substream.
Is it possible to grab the picture form the mainstream so we can have a better quality picture?

Ver. 1.0.53

[Support] Start/Stop-Events for Linedetection?

Hello Supergiovane, great moduel! thanks!

Describe the bug
longtime user auf node-red-contrib-hikvision v1.1.0.
now i found your node. seems to be better supported and more information.
but i am missing start/stop events for (Line-)Detections.
How do i get them?

Screenshots
from node-red-contrib-hikvision v1.1.0. :
image

Hikvision-Ultimate Version
1.0.56

Are you running node-red behind homematic, docker or anything similar?
Node-Red running alone in ubuntu 20.x lts

Additional context
like to use ony starting events ... but cannot filter on this...
in your node, i only see always same eventState": "active"

help with MQTT-IN and sending commands to AXPRO

I am able to receive and send data from AXP PRO to mqtt, now i am trying to add to my flow the possibility to operate ax pro by publishing commands via mqtt.
mqtt-in up and running, tested with "Debug" but i don't know how to handle received message and execute one of the inject's messages to arm/disarm etc.

connect to DVR error

hi, good to see another hikvision module for node-red.
but i got errors when connecting to my dvr.
i can login on the weg-gui with the given credentials, but not with your node.
image

node.js: v12.22.0
node.red: v1.2.9
Model: DS-7616NI-I2
Firmware: V4.22.005 build 191208

any hints?

https also shows error with self-signed dvr-certificate.
image

New function

Hello. I wish you a Happy New Year and Merry Christmas. I would like to suggest adding functionality to your site if possible.

  1. To the alarm node input action for arming and disarming
    2.To the doorbell node the method associated with the RFID tag reader
  2. There was an idea to implement the possibility of arming / disarming by reading the tag on the doorbell :)
  3. From the equipment that I have on the network, this is the called ds-kv6113 panel, ds-kb6320 monitor, ax pro hub
    Regards, Oleg.

Missing end of alarm

Hi!
I think this is a very outstanding project and very very useful!
I could setup my NVR without a problem and connection is stable.
My problem is, that I don't see anything related to event end. Nor in RAW Alarm.

I used a hikvision->mqtt script running on my linux server and I receive a message when an triggered alarm ends but I don't see it here. always see true as output. For one alarm case I see multiple true messages, then nothing. At the next alarm situation I get another bunch of true messages, then nothing. I tried local alarm input as well.
Can you please help if I misconfigure something?
Thank you very much!

Can see preview picture but node always has bad request

Hi Supergiovane,

Thanks for your work on the nodes - I am trying to setup the picture node so I can email a picture to myself when motion is detected.

My issue is:

  • I can setup the picture node and obtain a picture under "refresh picture" - no issues
  • When I deploy - the node continually shows "Bad Request".

I don't need to do anything else to reproduce the error

I would expect that if I can see a picture when configuring the node that this would use the same connection to the NVR so I am unsure why it would not connect to the unit outside of the configuration window.

Hikvision-Ultimate Version

  • 1.0.64

Server1
Server
deployed
Picture 1

Node-Red running on RaspberryPi

OSD Overlay 4 is not placed on YX as expected

Bonjour la communauté,

In the OSD text send node, we can enter 4 different texts on locations at the desired X and Y coordinates.

it works perfectly our first three texts but for the fourth, the location does not fix. it always appears at the top left of the image. and the value entered in the XY field of Node-Red is not saved. Value always returns empty without coordinates when opening text node config

Describe the bug
A clear and concise description of what the bug is.

Expected behavior
Not any error message

Hikvision-Ultimate Version

  • lastest

Are you running node-red behind homematic, docker or anything similar?

  • Eg. Node-Red running alone in RaspberryPi

node-red-contrib-hikvision-ultimate (Flows stopped due to missing node types. Hikvision-config)

Hello Supergiovane,

I apologize to put issue here but I cannot find the issue option for "node-red-contrib-hikvision-ultimate".

Describe the bug
Flows stopped due to missing node types. Hikvision-config

node-red-contrib-hikvision-ultimate 1.0.61 installed via menu Manage pallete in Node-red is showing the following error:

"Error [ERR_REQUIRE_ESM]: require() of ES Module /home/pi/.node-red/node_modules/node-fetch/src/index.js from /home/pi/.node-red/node_modules/digest-fetch/digest-fetch-src.js not supported. Instead change the require of index.js in /home/pi/.node-red/node_modules/digest-fetch/digest-fetch-src.js to a dynamic import() which is available in all CommonJS modules. (line:4)"

Hardware and Software used
Raspberry Pi 3B+
Raspberry Pi OS, Buster
Node-red version 2.2.2 - this is the only software running on Raspberry Pi 3B+
Node.js version 12.22.12 (but I tried also version 14 and version 16 installation)
Linux 5.10.103-v7+ arm LE
node-red-contrib-hikvision-ultimate 1.0.61

I tried clean installation several times: Raspberry Pi OS, Buster + Node-red with different versions of Node.js (12, 14, 16). I am getting the same error.

I was not able to install older versions of node-red and older version of node-red-contrib-hikvision-ultimate

Thank you very much for your suggestion how to fix the issue.

Kind regards,
Milos

Text Overlay Size

This is a really useful node so thank you so much for your work.

One issue I've found is that when posting a text overlay the set font size is overridden to the smallest. On my setup this is too small to be useful so I'm not really able to use this feature.

I think it would be helpful if the sizes (for me 16x16, 32x32, 64x64) could be specified in the node as I assume this must already be being in the data posted (or perhaps it's not and DVRs that support multiple sizes are defaulting to [0] which is 16x16)?

There is also a setting for flashing and/or transparent text which would be pretty useful if it could be added.

Settings on my DVR, per camera:
image

Constant disconnections on DS-K1T341AMF

Hello! Firstly, let me thank you for such an amazing node! You've saved us all thousands of hours of sifting through API commands!

I'm experiencing constant disconnects on DS-K1T341AMF. The connection lasts for about 5 seconds, then seems to drop out for about 10-20 seconds. The devices in on the Local LAN, with no VLAN or firewall etc.

LAST DEVICE INFORMATION SAVED
Name: Access Controller
Model: DS-K1T341AMF
Firmware: V3.2.30

Are there any settings i need to change on the DS-K1T341AMF? Anyone else had experience with this? I see that its on the list of devices that are said to work.

The bug reproduces itself every 5 - 10 seconds. I've tried Alarm node, RAW node. They all disconnect.
I have also tried different ports using the ones listed in SADP tool, though it only connects on its web port which is set at 80.

As seen in the screen shots, a ping tells me that the device isnt dropping off the network etc.

Your help is greatly appreciated!

My goal is basically to see the devices alarm input state: ie Open or Closed door, see the relay state: open or closed and then to be able to control the relay state.

Thank you so much for taking the time to read my issues and hopefully someone has an answer for what i'm doing wrong :)

Screenshot 2021-07-09 091107
Screenshot 2021-07-09 091225
Screenshot 2021-07-09 091153
Screenshot 2021-07-09 091136
Screenshot 2021-07-09 091123

No connect with DS-7616NI-I2

Hello!

Describe the bug
I try to connect to a DS-7616NI-I2 with firmware V4.22.005 build 191208 without success.
There is a minimun firmware version?

Screenshots
image

Hikvision-Ultimate Version

  • 1.0.62

Are you running node-red behind homematic, docker or anything similar?

  • Node-Red running alone in Ubuntu 20.04.4 LTS linux-virtual-machine on vmware
  • Node v: 16.14.2

Thanks

How secure are the credentials

Hi thanks for this.
How secure do you think the NVR login credentials are when saved ?
Will they be getting saved in a standard yaml config file on HA or encrypted some how?
Cheers

Door Station DS-KV8213-WME1

Ciao Supergiovane,
I have the doorstation DS-KV8213-WME1 (Firmware V2.1.5), I need to receive doorbell notification, see the pictures from the camera and open the door.
Now I can only open the door, The doorbell is connected but the debug node doesn't show any event when I press the button on the unit.
The Picture node retrieve server informations but has a red dot with "not found" and no pictures are received.
No other HIKVision units are in the network.

Screenshots

image

image

This is the doorbell node configuration:
image

This is the picture node configuration:
image

Hikvision-Ultimate Version

  • 1.0.62

Are you running node-red behind homematic, docker or anything similar?
Node-Red v14.18.1 running alone in RaspberryPi

Many thanks in advance
and Forza Italia!

Problem with ANPR

Help me.
I can't connect to my ANPR camera HIKVISION via this module.
I add new ANPR node, configure IP, username, password, auth protocol but it isn't have effect.
Maybe do I first need prepare my camera ?

Crashes when DVR/NVR loses IP or powers down

Hi all,

with node picture fetching an image from the DVR every 5 seconds and when the DVR is removed from the network or is powered down, Google Chrome freezes and node-red throws the following messages. Powering up the device and when it gets its ipaddress all is restored to normal.

(node:8712) UnhandledPromiseRejectionWarning: FetchError: network timeout at: ht
tp://192.168.1.130/ISAPI/Streaming/channels/101/picture
at Timeout. (C:\Users\Thanos.node-red\node_modules\node-fetch\li
b\index.js:1454:13)
at listOnTimeout (internal/timers.js:554:17)
at processTimers (internal/timers.js:497:7)
(node:8712) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This
error originated either by throwing inside of an async function without a catch
block, or by rejecting a promise which was not handled with .catch(). To termina
te the node process on unhandled promise rejection, use the CLI flag --unhandle d-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejectio
ns_mode). (rejection id: 878)
(node:8712) UnhandledPromiseRejectionWarning: AbortError: The user aborted a req
uest.
at abort (C:\Users\Thanos.node-red\node_modules\node-fetch\lib\index.js:141
8:16)
at AbortSignal.abortAndFinalize (C:\Users\Thanos.node-red\node_modules\node
-fetch\lib\index.js:1433:4)
at AbortSignal.dispatchEvent (C:\Users\Thanos.node-red\node_modules\event-t
arget-shim\dist\event-target-shim.js:818:35)
at abortSignal (C:\Users\Thanos.node-red\node_modules\abort-controller\dist
\abort-controller.js:52:12)
at AbortController.abort (C:\Users\Thanos.node-red\node_modules\abort-contr
oller\dist\abort-controller.js:91:9)
at Hikvisionconfig.node.request (C:\Users\Thanos.node-red\node_modules\node
-red-contrib-hikvision-ultimate\nodes\Hikvision-config.js:337:63)
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:97:5)
(node:8712) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This
error originated either by throwing inside of an async function without a catch
block, or by rejecting a promise which was not handled with .catch(). To termina
te the node process on unhandled promise rejection, use the CLI flag --unhandle d-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejectio
ns_mode). (rejection id: 879)

RAW Alarm, Alarm not Connects

Greetings!
I have a kv8113 doorbell.
When i use the Doorbell node, i can controll it as open the doors or hang up the call. But can't connect to it as a server as the Alarm or the RAW Alarm node needs to. The default port is 8000 what is opened on the device but after updating the setting in the node, it keep saying :

Problem reading infostream from camera: {"message":"request to http://192.168.1.114:8000/ISAPI/System/deviceInfo failed, reason: read ECONNRESET","type":"system","errno":"ECONNRESET","code":"ECONNRESET"}. Check your credentials and connection properties.

I'm sure the credentials are correct, it works on the Doorbell node.
What did i miss or where should i set some other config? Maybe i didn't set someting on the 8113 config?

Thank you!

Invalid Json

Hi, I have repeating messages in daemon.log but everything is working. I'm scared about the SD card full of logs.

Dec 12 13:40:31 nodered Node-RED[329]: 12 Dec 13:40:31 - [info] Hikvision-config: DecodingBody: Invalid Json
Dec 12 13:40:31 nodered Node-RED[329]: Content-Type: application/xml; charset="UTF-8"
Dec 12 13:40:31 nodered Node-RED[329]: Content-Length: 845
Dec 12 13:40:31 nodered Node-RED[329]: #15

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.