-
Notifications
You must be signed in to change notification settings - Fork 1
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
Different values. ZWaveAPI vs Expert UI #113
Comments
Please explain again. I've not got. nodesInstances is an array of pairs node1, inst1, node2, inst2,.... While nodes gives you dirrect associations (A, not MCA) |
Aha, sorry for the confusion. Didn't realize nodeInstances was an array of pairs (is there a good doc on this?). |
Some more info. There's something "inconsistent" in the behaviour, IMHO. To reproduce: Step 1. set the MCA (group=3, node=1, instance=1) through ZWaveAPI according to S 2. verify in log it's set S 2a. call the API again S 3. check the Expert UI-> Configuration -> Expert commands and pressing button MultiChannelAssociation for instance 0 and pop-up window shows: S 4. On the same page in Expert UI enter "3" for Group and press button Get and log suddenly shows S 5. redo the step 3 and the result is suddenly different: So the "Get" seem to reset the value for nodesInstances. |
https://github.com/Z-Wave-Me/Z-Way-Manual/blob/master/includesDev/commandclasses_autodoc.tex#L550 ----- Исходное сообщение -----
|
You are really misusing the API. Doing data[3].nodesInstances.value=[1] will not result in sending Set command, but will change local copy of device's data. Please use .Set command!!!! ----- Исходное сообщение -----
|
Using the Set command was the first thing I tried (which I have already mentioned in another issue)!!! But since it did not work from the API or Expert UI, I tried to find another solution, which apparently was totally wrong. |
Using the API to get values for Multichannel Association according to
ZWaveAPI/Run/devices[11].instances[0].commandClasses[142].data[1]
and then comparing to the values for "nodesInstances" shown in Expert UI (Expert Commands -> MultiChannelAssociation) are different? But if there's only one value like in value:[1] it looks like the same is shown in both alternatives.
The text was updated successfully, but these errors were encountered: