ITADN

Unable to relate a response to an endpoint

#1428Closedlsiepel 创建于 2025-06-08
L
lsiepelcommented
While developing a openHAB binding (https://github.com/openhab/openhab-addons/pull/18694) based on this wrapper, i encountered an issue with the zwave js API. First i request the data: ``` 2025-06-08 22:50:17.554 [DEBUG] [g.zwavejs.internal.api.ZWaveJSClient] - Sending command: NodeGetValueCommand. 2025-06-08 22:50:17.554 [DEBUG] [g.zwavejs.internal.api.ZWaveJSClient] - SEND | {"nodeId":44,"valueId":{"commandClass":51,"endpoint":0,"property":"currentColor","propertyKey":2},"command":"node.get_value"} ``` The response: ``` 2025-06-08 22:50:17.557 [DEBUG] [g.zwavejs.internal.api.ZWaveJSClient] - Received ResultMessage type: result, success: true 2025-06-08 22:50:17.557 [DEBUG] [g.zwavejs.internal.api.ZWaveJSClient] - RECV | {"type":"result","success":true,"result":{"value":173}} ``` As this is an async websocket connection, i would have expect a response that somehow references the request. Preferably by repeating the commandclass, endpoint, property etc. How could one relate the received value to a specific endpoint ?
关闭于 2025-06-10 2 条评论