Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump schema and embedded socket client #66

Merged
merged 5 commits into from
May 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions PSI/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@
"name": "server",
"bin": "./server.js",
"dependencies": {
"@zwave-js/server": "1.34.0",
"zwave-js": "12.4.4"
"@zwave-js/server": "1.35.0",
"zwave-js": "12.5.6"
},
"devDependencies": {
"@yao-pkg/pkg": "^5.11.4",
"esbuild": "^0.20.1"
"@yao-pkg/pkg": "^5.11.5",
"esbuild": "^0.20.2"
},
"scripts": {
"build": "npm run do_esbuild && npm run do_pkgbuild",
"do_esbuild": "esbuild server_source.js --bundle --outfile=server.js --platform=node --target=node18 --external:@serialport/* --external:@zwave-js/config --external:zwave-js/package.json",
"do_pkgbuild": "pkg . --compress Brotli -t host --targets node18"
"do_pkgbuild": "pkg . --compress gzip -t host --targets node18"
},
"pkg": {
"assets": "./node_modules/@serialport/bindings-cpp/prebuilds/**/*",
Expand Down
9 changes: 9 additions & 0 deletions PSI/server_source.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,15 @@ if (driverOptions.securityKeys) {
}
}

if (driverOptions.securityKeysLongRange) {
for (const key of Object.keys(driverOptions.securityKeysLongRange)) {
driverOptions.securityKeysLongRange[key] = Buffer.from(
driverOptions.securityKeysLongRange[key],
"hex"
);
}
}

const driver = new Driver(serialPort, driverOptions);
const server = new ZwavejsServer(driver, { port: wsPort, host: "localhost" });
server.on("listening",() =>{
Expand Down
Binary file removed Toolkit.PNG
Binary file not shown.
15 changes: 0 additions & 15 deletions Visual Studio Projects/ZWaveJS.NET/Debug/Debug.csproj

This file was deleted.

36 changes: 0 additions & 36 deletions Visual Studio Projects/ZWaveJS.NET/Debug/Program.cs

This file was deleted.

This file was deleted.

128 changes: 0 additions & 128 deletions Visual Studio Projects/ZWaveJS.NET/Demo Application/Associations.cs

This file was deleted.

Loading