Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

node-red-contrib-hikvision-ultimate

Package Overview
Dependencies
Maintainers
1
Versions
121
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-red-contrib-hikvision-ultimate - npm Package Compare versions

Comparing version 1.1.15 to 1.1.16

4

CHANGELOG.md

@@ -7,2 +7,6 @@ <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.1.16</b> April 2024<br/>
- Fixed somme try-catch functions.<br/>
</p>
<p>
<b>Version 1.1.15</b> April 2024<br/>

@@ -9,0 +13,0 @@ - Doorbel node: fixed a crash if you send msg.hangUp = true, when the doorbell cannot be reached.<br/>

26

nodes/hikvisionUltimateAlarm.js

@@ -351,4 +351,4 @@

}`;
// TEST VERSION 1.0
msg.payload = `{
// TEST VERSION 1.0
msg.payload = `{
"$":{

@@ -370,10 +370,20 @@ "version":"1.0",

msg.payload = JSON.parse(msg.payload);
node.sendPayload(msg);
setTimeout(() => {
msg.payload = `{"$":{"version":"2.0","xmlns":"http://www.hikvision.com/ver20/XMLSchema"},"ipAddress":"10.0.0.2","ipv6Address":"::ffff:10.0.0.2","portNo":"80","protocol":"HTTP","macAddress":"08:a1:89:6a:3d:59","channelID":"1","dateTime":"2021-04-24T16:59:56+08:00","activePostCount":"1","eventType":"fielddetection","eventState":"inactive","eventDescription":"fielddetection alarm","channelName":"Hik"}`;
try {
msg.payload = JSON.parse(msg.payload);
node.sendPayload(msg);
}, 5000);
setTimeout(() => {
msg.payload = `{"$":{"version":"2.0","xmlns":"http://www.hikvision.com/ver20/XMLSchema"},"ipAddress":"10.0.0.2","ipv6Address":"::ffff:10.0.0.2","portNo":"80","protocol":"HTTP","macAddress":"08:a1:89:6a:3d:59","channelID":"1","dateTime":"2021-04-24T16:59:56+08:00","activePostCount":"1","eventType":"fielddetection","eventState":"inactive","eventDescription":"fielddetection alarm","channelName":"Hik"}`;
try {
msg.payload = JSON.parse(msg.payload);
node.sendPayload(msg);
} catch (error) {
}
}, 5000);
} catch (error) {
}
});

@@ -380,0 +390,0 @@

{
"name": "node-red-contrib-hikvision-ultimate",
"version": "1.1.15",
"version": "1.1.16",
"description": "A native set of nodes for Hikvision (and compatible) Cameras, Alarms, Radars, NVR, Doorbells, etc.",

@@ -5,0 +5,0 @@ "author": "Supergiovane (https://github.com/Supergiovane)",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc