'Grabbing' a z-wave message when sent from the controller #139
-
I'm tinkering with indicator messages - I'm trying to create a 'base' message in a function. When I connect a debug node directly to the controller node and send an 'indicator multilevel 50' from the gui, I actually expected to see the message in the debug panel - but didn't. ps. the device updates it's indicator just fine - I would just like to know which command was sent to the device and which parameters was included. |
Beta Was this translation helpful? Give feedback.
Replies: 16 comments 28 replies
-
Hey, Are you referring to the Indicator CC or Multilevel Switch CC - if so The Indicator CC does not 'respond' like other CCs' Do you have a manual for the device? |
Beta Was this translation helpful? Give feedback.
-
I should be able to test this today/night - I'm very appreciative of your help, just hung up like hell... I had great fun with indicators for a few hours yesterday - and will report back as soon as I have the time. |
Beta Was this translation helpful? Give feedback.
-
Yeah, the Indicator CC is a good one, My security pin pad uses it to indicate the current security arm modes (or to create a countdown i.e to exit the property for an example) - so I can easily sync it with my DIY alarm setup. Again, everything can be done within factory, just call out if you need help. No worries. - I am usually around. |
Beta Was this translation helpful? Give feedback.
-
It worked i'm no longer stranded. {mode: "ValueAPI", method: "setValue", node: 4,…} |
Beta Was this translation helpful? Give feedback.
-
before sure to remove noWait: true |
Beta Was this translation helpful? Give feedback.
-
This was the final working result - a multilevel+indicator sender in an easy understandable subflow :) I'll be tinkering with the blinking same time tomorrow (the device has blinking and blinking speed afaik)
|
Beta Was this translation helpful? Give feedback.
-
very nice, |
Beta Was this translation helpful? Give feedback.
-
Well, the cmd-factory node is way too complicated for me. The sheer amount of inputs in the cmd-factory makes the learning curve very steep. I have such flows for basic/binary set, scenes and now indicator/multichannel - they get the job done. And thank you, very much - I'm pretty proud of the progress i'm making 😃 |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
So with Indicator V2+ 0x01: The Multi Level Value Then the value which can be numeric for 0x01, 0x03 and 0x04 |
Beta Was this translation helpful? Give feedback.
-
So, to set 2 properties, let Multilevel = {
indicatorId: 1,
propertyId: 1,
value: 30 // Brightness I assume
}
let OnOffCycles = {
indicatorId: 1,
propertyId: 4,
value: 5 // How many times it flickers?
}
let Props = [Multilevel, OnOffCycles]
let Message = {
payload: {
mode: "CCAPI",
node: 2,
cc: "Indicator",
method: "set",
/* This needs to be an array, but setting using 2 indicator properties, in its self needs to be an array ;-) */
/* so param 0 is actually an array ;-) */
params: [Props]
}
}
return Message https://zwave-js.github.io/node-zwave-js/#/api/CCs/Indicator?id=set |
Beta Was this translation helpful? Give feedback.
-
I'm trying to mark this as answered - but my morning-IQ is not sufficient. //Edit: I wanted to mark the Marcus' post about browser/network monitoring as the answer, but couldn't. I marked the post above it instead. |
Beta Was this translation helpful? Give feedback.
-
Someone once asked me, if it were possible to view the messages being sent from the UI - so you can capture the required message. Well....Someone once implemented the feature. @crxporter - Thoughts as well? NOTE: This is only for UI interaction - its not to monitor everything being sent out to the network, it only details what commands from the UI are taking place - but you can use the message being recorded in your setup later. Screen.Recording.2021-10-22.at.20.13.20.mov |
Beta Was this translation helpful? Give feedback.
-
The ability to capture both value and cc API would be very helpful in my usecase. I actually thought I could use the GUI to build commands like that already (expand CC -option). The command viewer looks great - I would welcome it, greatly. |
Beta Was this translation helpful? Give feedback.
-
Ok, Having it log like - seems a really nice way? |
Beta Was this translation helpful? Give feedback.
-
The finished UI Monitor. Screen.Recording.2021-10-23.at.08.11.01.mov |
Beta Was this translation helpful? Give feedback.
Hey,
Are you referring to the Indicator CC or Multilevel Switch CC - if so The Indicator CC does not 'respond' like other CCs'
(therefore we don't see anything) its really only to... well.... indicate - i.e some devices use them to set an LED, some devices use them to trigger a sound, or in the case of outdoor sirens - to illuminate the logo on the box.
Do you have a manual for the device?