mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
parent
4dc60d2477
commit
fceca703b3
@ -495,6 +495,7 @@ module.exports = function(RED) {
|
|||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
client.connect(port, host, function() {
|
client.connect(port, host, function() {
|
||||||
node.connected = true;
|
node.connected = true;
|
||||||
|
node.status({fill:"green",shape:"dot",text:"common.status.connected"});
|
||||||
client.write(msg.payload);
|
client.write(msg.payload);
|
||||||
});
|
});
|
||||||
},reconnectTime);
|
},reconnectTime);
|
||||||
|
Loading…
Reference in New Issue
Block a user