node-red-contrib-hikvision-ultimate
Advanced tools
Comparing version 1.0.62 to 1.0.63
@@ -7,2 +7,7 @@ <p align="center"><img src='https://raw.githubusercontent.com/Supergiovane/node-red-contrib-hikvision-ultimate/master/img/logo.png' width="40%"></p> | ||
<p> | ||
<b>Version 1.0.63</b> August 2022<br/> | ||
- Maintenance release. Optimized the scope of some variables.<br/> | ||
- Aded a Warning on the README page.<br/> | ||
</p> | ||
<p> | ||
<b>Version 1.0.62</b> Juni 2022<br/> | ||
@@ -9,0 +14,0 @@ - Maintenance release. Fixed an issue with node-fetch v3 incompatibility.<br/> |
@@ -250,3 +250,3 @@ | ||
reqController = new AbortController(); // For aborting the stream request | ||
var reqController = new AbortController(); // For aborting the stream request | ||
var options = { | ||
@@ -253,0 +253,0 @@ // These properties are part of the Fetch Standard |
@@ -325,3 +325,3 @@ | ||
reqController = new AbortController(); // For aborting the stream request | ||
var reqController = new AbortController(); // For aborting the stream request | ||
var options = { | ||
@@ -328,0 +328,0 @@ // These properties are part of the Fetch Standard |
module.exports = (RED) => { | ||
const DigestFetch = require('digest-fetch') | ||
const DigestFetch = require('digest-fetch'); // 04/6/2022 DO NOT UPGRADE TO NODE-FETCH V3, BECAUSE DIGEST-FETCH DOESN'T SUPPORT IT | ||
const AbortController = require('abort-controller'); | ||
@@ -325,3 +325,3 @@ const xml2js = require('xml2js').Parser({ explicitArray: false }).parseString; | ||
reqController = new AbortController(); // For aborting the stream request | ||
var reqController = new AbortController(); // For aborting the stream request | ||
var options = { | ||
@@ -328,0 +328,0 @@ // These properties are part of the Fetch Standard |
{ | ||
"name": "node-red-contrib-hikvision-ultimate", | ||
"version": "1.0.62", | ||
"version": "1.0.63", | ||
"description": "A native set of nodes for Hikvision (and compatible) Cameras, Alarms, Radars, NVR, Doorbells, etc.", | ||
@@ -8,3 +8,3 @@ "author": "Supergiovane (https://github.com/Supergiovane)", | ||
"xml2js": "0.4.23", | ||
"node-fetch": "2.6.7", | ||
"node-fetch": "2.6.7", | ||
"digest-fetch": "1.2.1", | ||
@@ -11,0 +11,0 @@ "abort-controller": "3.0.0", |
@@ -22,3 +22,7 @@ | ||
**Note:** for NVR/DVR, pleas remember to select "Notify Alarm Center" in the event window, otherwise the NVR won't emit any alarm event.<br/> | ||
## WARNING | ||
Due to the many models and firmware versions out there, not all cams/NVR/Intercoms does work. For example, many intercoms does not really support, what the official ISAPI documentation says it supports, thus, they don't work, not only with this node, but also with any software using the public ISAPI documentation. Please don't blame the developer, as it can do nothing to workaround such problems. <br/> | ||
## ENABLE NOFITICATIONS | ||
For NVR/DVR, pleas remember to select "Notify Alarm Center" in the event window, otherwise the NVR won't emit any alarm event.<br/> | ||
<img src='https://raw.githubusercontent.com/Supergiovane/node-red-contrib-hikvision-ultimate/master/img/NotifyCenter.png' width="30%"> | ||
@@ -25,0 +29,0 @@ |
2096454
656