node-red-contrib-hik-media-buffer 1.0.16 → 1.0.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -5
- package/hik-media-buffer.html +2 -2
- package/hik-snapshot.html +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -17,10 +17,10 @@ This below is an example of msg output:</br>
|
|
|
17
17
|
```javascript
|
|
18
18
|
msg = {
|
|
19
19
|
payload: object,
|
|
20
|
-
ip: "192.168.
|
|
20
|
+
ip: "192.168.1.100", // IP of the camera
|
|
21
21
|
channel: "2", // Channel of the camera
|
|
22
22
|
event: "LineDetection", // Type of event deteced
|
|
23
|
-
videoPath: "
|
|
23
|
+
videoPath: "", // Path of the video
|
|
24
24
|
imageBuffer: buffer[12360], // Buffer of the image
|
|
25
25
|
status: "online", // Status of the camera
|
|
26
26
|
_msgid: "45fd74589048966d",
|
|
@@ -30,8 +30,8 @@ msg = {
|
|
|
30
30
|
|
|
31
31
|
<img src='https://raw.githubusercontent.com/ALLSYSTEM-SPA/node-red-contrib-hik-media-buffer/main/img/hik-snapshot-node.png'>
|
|
32
32
|
|
|
33
|
-
The Hik Snapshot node connects to **_NVR_** and generates a live image for each camera when it receives **_payload = true_** as input
|
|
34
|
-
This node can also report if there are recordings
|
|
33
|
+
The Hik Snapshot node connects to **_NVR_** and generates a live image for each camera when it receives **_payload = true_** as input.</br>
|
|
34
|
+
This node can also report if there are recordings on the day this node is triggered for each camera.
|
|
35
35
|
|
|
36
36
|
<img src='https://raw.githubusercontent.com/ALLSYSTEM-SPA/node-red-contrib-hik-media-buffer/main/img/hik-snapshot-configuration.png'>
|
|
37
37
|
|
|
@@ -48,7 +48,7 @@ msg = {
|
|
|
48
48
|
channel: 1, // Channel 1 of the NVR
|
|
49
49
|
photo: buffer[18080], // Snapshot buffer
|
|
50
50
|
snapOk: true, // True if it gets the snapshot, False if not
|
|
51
|
-
isRecording: true, // True if
|
|
51
|
+
isRecording: true, // True if the camera recorded something that day, False if not
|
|
52
52
|
1: object,
|
|
53
53
|
channel: 2,
|
|
54
54
|
photo: buffer[35056],
|
package/hik-media-buffer.html
CHANGED
|
@@ -113,10 +113,10 @@ This below is an example of msg output:</br>
|
|
|
113
113
|
```javascript
|
|
114
114
|
msg = {
|
|
115
115
|
payload: object,
|
|
116
|
-
ip: "192.168.
|
|
116
|
+
ip: "192.168.1.100", // IP of the camera
|
|
117
117
|
channel: "2", // Channel of the camera
|
|
118
118
|
event: "LineDetection", // Type of event deteced
|
|
119
|
-
videoPath: "
|
|
119
|
+
videoPath: "", // Path of the video
|
|
120
120
|
imageBuffer: buffer[12360], // Buffer of the image
|
|
121
121
|
status: "online", // Status of the camera
|
|
122
122
|
_msgid: "45fd74589048966d"
|
package/hik-snapshot.html
CHANGED
|
@@ -73,8 +73,8 @@
|
|
|
73
73
|
|
|
74
74
|
<img src='https://raw.githubusercontent.com/ALLSYSTEM-SPA/node-red-contrib-hik-media-buffer/main/img/hik-snapshot-node.png'>
|
|
75
75
|
|
|
76
|
-
The Hik Snapshot node connects to NVR and generates a live image for each camera when it receives payload = true as input
|
|
77
|
-
This node can also report if there are recordings
|
|
76
|
+
The Hik Snapshot node connects to NVR and generates a live image for each camera when it receives "payload = true" as input.</br>
|
|
77
|
+
This node can also report if there are recordings on the day this node is triggered for each camera.
|
|
78
78
|
|
|
79
79
|
<img src='https://raw.githubusercontent.com/ALLSYSTEM-SPA/node-red-contrib-hik-media-buffer/main/img/hik-snapshot-configuration.png'>
|
|
80
80
|
|
|
@@ -91,7 +91,7 @@ payload: array[5], // 5 channels
|
|
|
91
91
|
channel: 1, // Channel 1 of the NVR
|
|
92
92
|
photo: buffer[18080], // Snapshot buffer
|
|
93
93
|
snapOk: true, // True if it gets the snapshot, False if not
|
|
94
|
-
isRecording: true, // True if
|
|
94
|
+
isRecording: true, // True if the camera recorded something that day, False if not
|
|
95
95
|
1: object,
|
|
96
96
|
channel: 2,
|
|
97
97
|
photo: buffer[35056],
|