From fceca703b39df2c15efaa7a081f6624dfb3d912c Mon Sep 17 00:00:00 2001 From: Nick O'Leary Date: Tue, 24 Nov 2015 22:40:39 +0000 Subject: [PATCH] Update tcp node status on reconnect after timeout Closes #757 --- nodes/core/io/31-tcpin.js | 1 + 1 file changed, 1 insertion(+) diff --git a/nodes/core/io/31-tcpin.js b/nodes/core/io/31-tcpin.js index e47f29245..13661e29c 100644 --- a/nodes/core/io/31-tcpin.js +++ b/nodes/core/io/31-tcpin.js @@ -495,6 +495,7 @@ module.exports = function(RED) { setTimeout(function() { client.connect(port, host, function() { node.connected = true; + node.status({fill:"green",shape:"dot",text:"common.status.connected"}); client.write(msg.payload); }); },reconnectTime);