Replies: 2 comments 14 replies
-
Hi @BJ205 You can use the CCAPI for that - but it will require the integer that represents all 4 bits. In V9 that I am working on the ValueAPI is default. Setting a Value let targetValueID = {
}
let someValue = someValue
let Message = {
"payload": {
"mode": "ValueAPI",
"node": 12,
"method": "setValue",
"params": [targetValueID, someValue]
}
}
return Message Getting a Value let targetValueID = {
}
let Message = {
"payload": {
"mode": "ValueAPI",
"node": 12,
"method": "getValue",
"params": [targetValueID]
}
}
return Message See To get the correct valueID - In the side panel UI - double click on a property, and you will get the ValueID |
Beta Was this translation helpful? Give feedback.
-
If you still wanted to use the CCAPI.
This is a ConfigurationCCAPISetOptions payload |
Beta Was this translation helpful? Give feedback.
-
I am 'playing' with node-red on my laptop before moving flows on to a raspberry pi. Node-red-contrib-zwave-js installed flawlessly and I am happy working with binary sensors, can switch power sockets on and off, happy days. Now I am working with an AEOTEC Indoor Siren, again, much success, I can play sounds, though the Siren doesn't accept the volume settings. Using Command Factory I can ask for data, for instance from Parameter 2 as in the picture, and the Siren returns four messages because there are four partial parameters.
The bit that has me stumped is how to set singly or as a group, the four partial parameters that the Siren tells me about. I read https://zwave-js.github.io/node-zwave-js/#/config-files/partial-parameters which gives an example of 7[0x01] as how to access partial parameters, and also the manual for the Siren which has an example of 0x01020304 to set the four partial parameters of a parameter. I read about the Configuration CC set command Configuration CC
but I can't find how to format the ConfigurationCCAPISetOptions, or any mention elsewhere about ConfigurationCCAPISetOptions. I have tried everything I can think of in the Params section of the Command Factory, but I either get error messages, or nothing, or it just reports back four unchanged Partial Parameters. Any help much appreciated.
Beta Was this translation helpful? Give feedback.
All reactions