diff --git a/src/bacnet-command.html b/src/bacnet-command.html index c4bdc36..84d5bcc 100644 --- a/src/bacnet-command.html +++ b/src/bacnet-command.html @@ -188,7 +188,7 @@
- diff --git a/src/bacnet-write.js b/src/bacnet-write.js index 9e46506..47d66fe 100644 --- a/src/bacnet-write.js +++ b/src/bacnet-write.js @@ -68,7 +68,7 @@ module.exports = function (RED) { }] node.connector.client.writePropertyMultiple( - node.deviceIPAddress, + msg.payload.deviceIPAddress || node.deviceIPAddress, msg.payload.values || defaultValues, options, function (err, value) {