Sending messages is hard :) #110
Replies: 18 comments 127 replies
-
oh, and the association-interface has a bug. I typed 1 and 1 into the interface. |
Beta Was this translation helpful? Give feedback.
-
Hi @lurendrejer , lets take a look. To turn on a Binary Switch. let Message = {
payload: {
mode: "CCAPI",
node: 2,
cc: "Binary Switch",
method: "set",
params: [true]
}
}
return Message |
Beta Was this translation helpful? Give feedback.
-
This is that I tried: does the return Message -part actually 'send' the command? |
Beta Was this translation helpful? Give feedback.
-
And how would i go about leaving 'node' empty, since i'm routing it to a specific z-wave node in my flow? |
Beta Was this translation helpful? Give feedback.
-
Just to re-cap 😆
I would also use the real wiki address. |
Beta Was this translation helpful? Give feedback.
-
How do i send the command from the UI? |
Beta Was this translation helpful? Give feedback.
-
I'll be re-enabling my homeseer -> nodered -> conbee flow for the rest of the day, I think. And look into the native zwave-js -> nodered -> conbee later. After that, I'll start the zwave-js -> nodered -> native zigbee -project. |
Beta Was this translation helpful? Give feedback.
-
And again, thank you so much for you time! |
Beta Was this translation helpful? Give feedback.
-
OK, Double clicking Based on that. in a function node -> Controller or zwave-device node let Message = {
payload: {
mode: "CCAPI",
node: <your node id>, /* not needed for some modes on device-node /*
endpoint: #,
cc: "Binary Switch",
method: "set",
params: [true]
}
}
return Message if |
Beta Was this translation helpful? Give feedback.
-
Be sure to checkout the wiki in all its glory - it has examples for most things |
Beta Was this translation helpful? Give feedback.
-
Oh and welcome to z-wave for node red 😁 @crxporter, |
Beta Was this translation helpful? Give feedback.
-
It actually does seem to work... thank you. |
Beta Was this translation helpful? Give feedback.
-
My simple test - triggered by a zigbee device, is working. once again, thank you!! |
Beta Was this translation helpful? Give feedback.
-
Lastley, |
Beta Was this translation helpful? Give feedback.
-
If the original request here was "make commands easier" ... we are working on some ideas at #113 |
Beta Was this translation helpful? Give feedback.
-
Updating seems to fail: 2021-09-29T17:44:09.738Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production --engine-strict [email protected] |
Beta Was this translation helpful? Give feedback.
-
This is giving me headaches... I've tried sending commands via the gui, but the debugger doesn't show them - maybe because it's a battery device and the get queued. Is this correct? let Message = { |
Beta Was this translation helpful? Give feedback.
-
Can you confirm you currently have a functional setup (I.e no issues) with zwave in node-red? I am going to switch my focus to the new But want to make sure you are at a stage of exploration as opposed to dealing with teething issues? and I really do suggest joining our discord server for real time discussion, lots of Node-red users, who use the zwave plug-in, apple Homekit plug-in, unify plug-in, deconz and more. 👍 |
Beta Was this translation helpful? Give feedback.
-
Well, just saying 'hi' - had a great time moving my SH-setup from my current controller to NR with zwave-js.
I got everything going where something had to react to z-wave commands (turning on conbee lights, etc).
When I came to the part where i had to change states of z-wave devices themselves - I hit a wall.
Thermostats, binary switches, etc. - I tried and tried (https://github-wiki-see.page/m/zwave-js/node-red-contrib-zwave-js/wiki/CC-API)
I'm super impressed by how effecient zwave-js and node-red in itself is, but having to create z-wave messages manually is just too much for me.
If you ever consider creating some sort of function node, where one can select commands (multi, switch, whatever) - I'll be all over this thing.
Great work, thank you!
Beta Was this translation helpful? Give feedback.
All reactions