Skip to content

Commit 87df238

Browse files
committed
Fixed issue with saving heartbeat on read-ws node
Updated Ignition read ws node to save the heartbeat and message type properly. Increased to 1.5.11.
1 parent 784432c commit 87df238

3 files changed

Lines changed: 7 additions & 7 deletions

File tree

IgnitionNodeRED-build/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
<moduleId>org.imdc.nodered.IgnitionNodeRED</moduleId>
4848
<moduleName>${module-name}</moduleName>
4949
<moduleDescription>${module-description}</moduleDescription>
50-
<moduleVersion>1.5.10.${timestamp}</moduleVersion>
50+
<moduleVersion>1.5.11.${timestamp}</moduleVersion>
5151
<requiredIgnitionVersion>${ignition-platform-version}</requiredIgnitionVersion>
5252
<requiredFrameworkVersion>8</requiredFrameworkVersion>
5353
<licenseFile>license.html</licenseFile>

node-red-contrib-ignition/ignition-nodes.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -88,12 +88,12 @@
8888
});
8989
$("#node-config-input-hb-cb").trigger("change");
9090
if (!heartbeatActive) {
91-
$("#node-config-input-hb").val("");
91+
$("#node-input-hb").val("");
9292
}
9393
},
9494
oneditsave: function() {
9595
if (!$("#node-config-input-hb-cb").prop("checked")) {
96-
$("#node-config-input-hb").val("0");
96+
$("#node-input-hb").val("0");
9797
}
9898
}
9999
});
@@ -209,8 +209,8 @@
209209
<input type="text" id="node-input-server">
210210
</div>
211211
<div class="form-row">
212-
<label for="node-config-input-wholemsg">Send/Receive</label>
213-
<select type="text" id="node-config-input-wholemsg" style="width: 70%;">
212+
<label for="node-input-wholemsg">Send/Receive</label>
213+
<select type="text" id="node-input-wholemsg" style="width: 70%;">
214214
<option value="false">payload</option>
215215
<option value="true">entire message</option>
216216
</select>
@@ -219,7 +219,7 @@
219219
<label for="node-config-input-hb-cb">Send heartbeat</label>
220220
<input type="checkbox" style="margin: 0 8px; width:auto" id="node-config-input-hb-cb">
221221
<span id="node-config-input-hb-row" class="hide" >
222-
<input type="text" style="width: 70px; margin-right: 3px" id="node-config-input-hb">
222+
<input type="text" style="width: 70px; margin-right: 3px" id="node-input-hb">
223223
<span>seconds</span>
224224
</span>
225225
</div>

node-red-contrib-ignition/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "node-red-contrib-ignition-nodes",
3-
"version": "1.5.10",
3+
"version": "1.5.11",
44
"description": "Adds support for reading, writing, and browsing tags in Ignition",
55
"dependencies": {
66
"ws": "^7.5.3",

0 commit comments

Comments
 (0)