Skip to content

Commit

Permalink
fix(write): IP address missing via payload
Browse files Browse the repository at this point in the history
fix(command): HTML width of the select box
  • Loading branch information
biancode committed Apr 23, 2018
1 parent 7b9242c commit e1a3ef1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/bacnet-command.html
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@
<div class="form-row">
<label for="node-input-commandType" style="min-width:140px"><i class="fa fa-list"></i>
<span data-i18n="bacnet-contrib.label.commandType"></span></label>
<select type="text" id="node-input-commandType">
<select type="text" id="node-input-commandType" style="min-width:55%">
<option value="deviceCommunicationControl">Device Communication Control</option>
<option value="reinitializeDevice">Reinitialize Device</option>
<option value="timeSync">Time Sync</option>
Expand Down
2 changes: 1 addition & 1 deletion src/bacnet-write.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit e1a3ef1

Please sign in to comment.