Configuration manager access #78
Replies: 2 comments 2 replies
-
Hi @pnpebeling You likely havant compiled the middleware image (PSI file) to the latest version - therefore, it's not pulling down the server version that included this functionality (config manager) See https://github.com/zwave-js/ZWaveJS.NET/tree/main/PSI for the PSI source The 'current' version of the PSI is based on schema 17 - quite old now, its currently on schema version 40 (I think The are a 2 parts to this project...
The PSI file contains an embedded version of the Zwave JS Driver, and the web socket server - its the web socket server, that will handle this functionality - and I doubt schema version 17 - contained this functionality. The PSI file is compiled to an exe - and hosts an embedded runtime of the Driver and Server - the DLL fires it up, and connects to it via web socket See : https://github.com/zwave-js/zwave-js-server Try using the V4 branch (be aware of a lot of breaking changes) + the need to now compile your own PSI |
Beta Was this translation helpful? Give feedback.
-
You could just try bumping the server and driver on the current version you have downloaded (and build as normal) |
Beta Was this translation helpful? Give feedback.
-
Hello,
I am converting the ZWave portion my home automation .NET project from openZWave to ZWaveJS via ZWaveJS.NET. I am using the current version of ZWaveJS.NET in "Self Hosted" mode. The conversion has gone quite smoothly. I have a need to access the manufacturer information and since there are no public methods within ZWaveJS.NET to access the ZWaveJS configuration manager I am attempting to add some.
I have include the JWaveJS.NET source code as a project within my solution and am in the process of adding extension methods to provide configuration manager access. My extension methods follow the established pattern for sending requests to the server code. I have successfully added an extension method to retrieve a node's neighbor nodes.
My attempts to access the server configuration manager have not been successful. My extension method and the server response are shown below. From reviewing the server documentation I believe I have formatted the command correctly, however I get Unknown Command responses.
Any insight into this issue is appreciated.
paul ebeling
{
"type": "result",
"success": false,
"messageId": "5edbfc06-73ae-464c-b9f6-bfe6ebac08b5",
"errorCode": "unknown_command",
"args": {
"command": "config_manager.lookup_manufacturer"
}
}
Beta Was this translation helpful? Give feedback.
All reactions