Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/A3KSA/s7-knx
Browse files Browse the repository at this point in the history
  • Loading branch information
ch-zacmo committed Aug 27, 2024
2 parents 40bc263 + cc10fc6 commit 269adf9
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 11 deletions.
12 changes: 5 additions & 7 deletions package-lock.json

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

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@automation3000/s7-knx",
"version": "2.0.1",
"version": "2.0.2",
"description": "S7-KNX Gateway",
"main": "src/index.js",
"scripts": {
Expand All @@ -17,7 +17,7 @@
"dependencies": {
"async-exit-hook": "^2.0.1",

"debug": "^4.3.4",
"debug": "^4.3.6",
"dotenv": "^16.4.1",
"express": "^4.19.2",
"knx": "^2.5.2",
Expand Down
4 changes: 2 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ async function sendSyncKNX() {
if (item != undefined) {
counter++

debugS7("PLC -> KNX : " + item.groupAddress + " : " + item.value + " -> Counter " + counter);
debugS7(`PLC -> KNX : ${item.groupAddress.padStart(12)} : ${item.value.padStart(8)} -> Counter ${counter}`);
knxConnection.connection.write(item.groupAddress, item.value, item.dpt);
}

Expand Down Expand Up @@ -117,4 +117,4 @@ async function main() {
}
}

main();
main();

0 comments on commit 269adf9

Please sign in to comment.