node-red-contrib-antenna-genius 0.2.4-beta → 0.2.5-beta

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.
@@ -32,6 +32,7 @@ module.exports = (RED) => {
32
32
  }
33
33
  else {
34
34
  this.status({ fill: "red", shape: "ring", text: "topic is not set" });
35
+ this.server.forceUpdate();
35
36
  }
36
37
  if(done) {
37
38
  done();
@@ -100,6 +100,7 @@ module.exports = (RED) => {
100
100
  this.client.write(command);
101
101
  }, 400);
102
102
 
103
+ this.forceUpdate();
103
104
  this.updatesEventEmitter.emit("connected");
104
105
  })
105
106
 
@@ -122,6 +123,10 @@ module.exports = (RED) => {
122
123
  this.client.connect(this.port, this.host);
123
124
  }
124
125
  }
126
+
127
+ forceUpdate() {
128
+ this.refresh = -1;
129
+ }
125
130
  }
126
131
 
127
132
  RED.nodes.registerType("antenna-genius-server",AntennaGeniusServerNode);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-red-contrib-antenna-genius",
3
- "version": "0.2.4-beta",
3
+ "version": "0.2.5-beta",
4
4
  "description": "Antenna Genius Control and Monitoring Nodes",
5
5
  "keywords": [
6
6
  "node-red"