Closed lurendrejer closed 2 years ago
May be related to #240
@crxporter - ah, neat.
Can I do something to get 8.0.0? I deleted an association (which worked absolutely fine 👍) and would like to recreate it.
8.0.0 isn't out yet - @marcus-j-davies is still working on it. Also it's still pending the final zwave js 10.0 release (which is currently beta).
I also don't know if he's fixed the [object Object]
thing in this particular situation. Let's see what he says in a couple hours once he's done with work today...
Hi @lurendrejer
This is fixed for 8.0.0, but if you want early access.
cd ~/.node-red
npm install node-red-contrib-zwave-js@beta
or to recreate the association without the BETA
// omit endpoint, if it doesn't apply or is not needed
// Setting association groups for node 34
const Source = {nodeId:34}
const Targets = [{nodeId:35}]
const Group = 2
let Message = {
payload: {
mode: "AssociationsAPI",
method: "addAssociations",
params: [Source, Group, Targets]
}
}
return Message
See https://github.com/zwave-js/node-red-contrib-zwave-js/wiki/Associations-API
And its due to this https://github.com/zwave-js/node-red-contrib-zwave-js/issues/231 closed as duplicate
superb! Thank you!
How can we help?
When adding associations i cannot select anything.
The popup just displays: [OBJECT] [OBJECT] - and if I click 'Add' it creates an association to node1 endpoint 1.
Version
Latest
Node-RED Version
3.0.1
What hardware are you using?
No response
Any code to add?
No response