Skip to content

Commit

Permalink
v5.0.5-beta
Browse files Browse the repository at this point in the history
  • Loading branch information
nimargolis committed Mar 9, 2021
1 parent e83ef00 commit 0195f0f
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ module.exports = {
},

async write(item, allowSendNext) {
this.client.setID(item.unitid);
this.client.setID(parseInt(item.unitid));
let fcw = item.vartype == 'bool' ? 5 : 6;
let val = item.value;
if (fcw == 6) {
Expand Down
2 changes: 1 addition & 1 deletion modbus.ih
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"id":"modbus",
"description":"Modbus Master plugin for IH",
"cross":true,
"version":"5.0.4"
"version":"5.0.5"
}
4 changes: 3 additions & 1 deletion node_modules/modbus-serial/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion v5/channelform.json
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,8 @@
"title": "$kh",
"type": "input",
"hide": "!data.p2.usek || data.p2.vartype.id == 'bool'"
}
},
{ "prop": "devpropname", "title": "Свойство устройства для привязки", "type": "input"}
],
"p3": [
{ "prop": "r", "title": "$Read", "type": "cb" },
Expand Down

0 comments on commit 0195f0f

Please sign in to comment.