Closed michaelkkehoe closed 1 year ago
👋 Hey @michaelkkehoe!
It looks like you copied the contents of a logfile. Please attach it as a file instead, so it is easier to work with.
Note: You can just drag & drop files into the textbox. Just make sure to use a supported file extension like .log
or .txt
The device configuration guide may also be helpful: https://files.swidget.com/Integrations/UserManuals/Swidget_Z-Wave_Insert_Configuration.pdf
You changed the value sizes here: https://github.com/zwave-js/node-zwave-js/pull/5956/files
Is it possible that you never re-interviewed your device(s) after updating to that config file? That's necessary to pick up changes like these.
FWIW, I simulated a fake ZW008UWA that just has the parameter 14, no security, no supervision. When I change a partial, this command is sent:
21:10:39.661 SERIAL » 0x010d0013020670040e020062255d87 (15 bytes)
21:10:39.662 DRIVER » [Node 002] [REQ] [SendData]
│ transmit options: 0x25
│ callback id: 93
└─[ConfigurationCCSet]
parameter #: 14
reset to default: false
value size: 2
value format: UnsignedInteger
value: 98
On a different node (ZW001UWA) with S2 security:
2023-08-14 12:49:12.764 INFO Z-WAVE: Calling api writeValue with args: [
{
nodeId: 114,
commandClass: 112,
endpoint: 0,
property: 14,
propertyKey: 8
},
1,
null,
[length]: 3
]
2023-08-14 12:49:12.772 INFO Z-WAVE: Writing 1 to 114-112-0-14-8
2023-08-14 12:49:12.983 ERROR Z-WAVE: Unable to write 1 on 112-0-14-8: Fail
2023-08-14 12:49:12.987 INFO Z-WAVE: Success zwave api call writeValue { status: 2 }
My apologies. After forcing a re-interview, things seem to work as expected. I'll ask the contact at the manufacturer to test and confirm before closing this
Confirmed that re-interviewing the device fixes the issue. Apologies for the false issue.
Is your problem within Home Assistant (Core or Z-Wave JS Integration)?
NO, my problem is NOT within Home Assistant or the ZWave JS integration
Is your problem within Z-Wave JS UI (formerly ZwaveJS2MQTT)?
NO, my problem is NOT within Z-Wave JS UI
Checklist
[X] I have checked the troubleshooting section and my problem is not described there.
[X] I have read the changelog and my problem was not mentioned there.
Describe the bug
What causes the bug? When trying to set sub-parameters on Swidget devices via either the ZWaveJS-UI or through Home Assistant, the write action fails
What do you observe? Setting of sub-parameters fails, but regular parameters succeed. It appears that the value-size may be incorrect (see logs).
We (myself and the manufacturer believe the following is happening):
What did you expect to happen? The setting of the sub-parameter should succeed
Steps to reproduce the behavior: N/A
Device information
Manufacturer: Swidget Model name: ZW006UWA Node ID in your network: 3
How are you using
node-zwave-js
?zwave-js-ui
(formerlyzwavejs2mqtt
) Docker image (latest)zwave-js-ui
(formerlyzwavejs2mqtt
) Docker image (dev)zwave-js-ui
(formerlyzwavejs2mqtt
) Docker manually built (please specify branches)ioBroker.zwave2
adapter (please specify version)HomeAssistant zwave_js
integration (please specify version)pkg
node-red-contrib-zwave-js
(please specify version, double click node to find out)Which branches or versions?
version:
node-zwave-js
branch:11.9.2zwave-js-ui
branch: 8.22.3Did you change anything?
no
If yes, what did you change?
No response
Did this work before?
Yes (please describe)
If yes, where did it work?
I have manually set the sub-parameter with the zwave-js-ui by setting a bit-mask, but have been unable to set the sub-parameter using any other UI option
Attach Driver Logfile