New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.0.44 to 1.0.45

2

CHANGELOG.md

@@ -7,3 +7,3 @@ <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.44</b> April 2021<br/>
<b>Version 1.0.45</b> April 2021<br/>
- Alarm node: fixed an issue where the camera won't emit the intrusion detection event start, but only the end. Workaround for that.<br/>

@@ -10,0 +10,0 @@ </p>

@@ -221,3 +221,3 @@

}
if (sEventType === "duration") {
if (sEventType === "duration" && !node.isNodeInAlarm) {

@@ -245,2 +245,3 @@ // This is a duration event of an alarm, so i must get the real alarm event from the relationEvent prop

bAlarmStatus = (_msg.payload.eventState.toString().toLowerCase() === "active" ? true : false);
node.isNodeInAlarm = bAlarmStatus;
} else {

@@ -326,2 +327,8 @@ // Mmmm.... no event state?

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"}`;
msg.payload = JSON.parse(msg.payload);
node.sendPayload(msg);
}, 5000);
});

@@ -328,0 +335,0 @@

{
"name": "node-red-contrib-hikvision-ultimate",
"version": "1.0.44",
"version": "1.0.45",
"description": "A native set of nodes for Hikvision Cameras, Alarms, Radars etc.",

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

Sorry, the diff of this file is not supported yet

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