node-red-contrib-hik-media-buffer 1.1.16 → 1.1.17

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.
@@ -80,7 +80,7 @@ module.exports = function(RED) {
80
80
  });
81
81
  if (statoCamera[cam.ip] === false) {
82
82
  const nomeOnline = await getCameraName(cam);
83
- node.send({ payload: { tipo_messaggio: "status", status: "online", nome_cliente: node.name, nome_telecamera: nomeOnline, ip_telecamera: cam.ip, channel: cam.channel, msg: "Camera ripristinata" } });
83
+ node.send({ payload: { tipo_messaggio: "status", stato_telecamera: "online", nome_cliente: node.name, nome_telecamera: nomeOnline, ip_telecamera: cam.ip, channel: cam.channel, msg: "Camera ripristinata" } });
84
84
  statoCamera[cam.ip] = true;
85
85
  } else if (statoCamera[cam.ip] === undefined) {
86
86
  statoCamera[cam.ip] = true;
@@ -88,7 +88,7 @@ module.exports = function(RED) {
88
88
  } catch (e) {
89
89
  if (statoCamera[cam.ip] !== false) {
90
90
  const nomeOffline = await getCameraName(cam);
91
- node.send({ payload: { tipo_messaggio: "status", status: "offline", nome_cliente: node.name, nome_telecamera: nomeOffline, ip_telecamera: cam.ip, channel: cam.channel, msg: "Camera non raggiungibile" } });
91
+ node.send({ payload: { tipo_messaggio: "status", stato_telecamera: "offline", nome_cliente: node.name, nome_telecamera: nomeOffline, ip_telecamera: cam.ip, channel: cam.channel, msg: "Camera non raggiungibile" } });
92
92
  statoCamera[cam.ip] = false;
93
93
  }
94
94
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-red-contrib-hik-media-buffer",
3
- "version": "1.1.16",
3
+ "version": "1.1.17",
4
4
  "description": "Ottiene buffer video e immagine da camere Hikvision via ISAPI",
5
5
  "keywords": [
6
6
  "node-red",