OpenZWave / qt-openzwave

QT5 Wrapper for OpenZWave
GNU Lesser General Public License v3.0
104 stars 30 forks source link

Command Class version not reported #66

Closed kpine closed 4 years ago

kpine commented 4 years ago

I don't see the version of the command classes reported in any of the MQTT topic data, did I miss it somewhere? Should it be included, or is it intentionally withheld from the clients?

OpenZWave/1/node/3/instance/1/commandclass/113/

{
    "Instance": 1,
    "CommandClassId": 113,
    "CommandClass": "COMMAND_CLASS_NOTIFICATION",
    "TimeStamp": 1587995269
}

OpenZWave/1/node/3/instance/1/commandclass/113/value/1688849916641300/

{
    "Label": "Access Control",
    "Value": { ... },
    "Units": "",
    "Min": 0,
    "Max": 0,
    "Type": "List",
    "Instance": 1,
    "CommandClass": "COMMAND_CLASS_NOTIFICATION",
    "Index": 6,
    "Node": 3,
    "Genre": "User",
    "Help": "Access Control Alerts",
    "ValueIDKey": 1688849916641300,
    "ReadOnly": false,
    "WriteOnly": false,
    "ValueSet": false,
    "ValuePolled": false,
    "ChangeVerified": false,
    "Event": "valueAdded",
    "TimeStamp": 1587995269
}
Fishwaldo commented 4 years ago

I can add that!

Fishwaldo commented 4 years ago

Done: CommandClassVersion is now part of the CommandClass Topic JSON.

@marcelveldt

Fishwaldo commented 4 years ago

Should appear in Build 88