For example, I can find the list of command classes anywhere - basic is 0x20.
But what are the commands that go with it? In the zwave spec it just lists constants like “BASIC_GET” or “BASIC_SET”. But no actual values. And the same type of reference is shown in the developer docs here. But is there a way to get the raw code? 2003 is command class 20 (Basic) and command 3 (set?). Is there a list of those actual commands, by command class, anywhere?
If you’re not familiar with Z wave documentation, you can’t just jump straight to a command and get all the information you need. The documentation is describing the frames used by each command set, but not necessarily the individual values.
So begin by reading everything at the front of the document, and it will explain how the remaining sections are structured.
Then go to the section for the specific command you were interested in and it will describe the frame format for that command.
For something like basic set, you may then have to go to the device class documentation to find the actual values allowed for each different class.
Thanks for the links and references! I’ve had those since I first rolled my sleeves up and started working on device handlers though - back when they were 2 huge documents.
I wasn’t asking what valid values to use for a specific command, but what the values are for the command itself.
For example, the basic command class is 0x20. The next piece of information in the frame is the actual command. The command is always one byte (per 184.108.40.206 of the command class spec. But all you will see in the spec or anywhere is reference to names, ie “BASIC_SET”, or “BASIC_GET”. There is nothing that tells you the decimal equivalent of that named command. So if the frame starts 2001, that’s a basic set. If it starts 2002, it’s a basic get. And 2003 is a basic report. But I know from hacking my way around - I can’s find a reference that says the set command for the basic command class is 01, get is 02, and report is 03. And if I look at a different class, like configuration, the set/get/report numbers are 4/5/6, respectively. So I can’t even infer the values from the spec.
At least I can’t infer them. So…I asked if there is a reference anywhere to that level of specificity. Still haven’t found one.