From e1a3ef1313f468a2123d339a54c6d737cc211201 Mon Sep 17 00:00:00 2001 From: Klaus Landsdorf Date: Mon, 23 Apr 2018 21:28:54 +0200 Subject: [PATCH] fix(write): IP address missing via payload fix(command): HTML width of the select box --- src/bacnet-command.html | 2 +- src/bacnet-write.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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) {