OpenZWave / node-openzwave-shared

OpenZWave addon for Node.js (all versions) including management and security functions
Other
199 stars 113 forks source link

Expose GetNodeClassInformation to get the version of a Command Class #374

Closed sescandell closed 4 years ago

sescandell commented 4 years ago

Hi,

I don't know what is your process for contributions. Let me know if something is missing.

Following some evolutions of the ZWave protocol it might be usefull, from a consumer perspective, to know what is the current Command Class version supported by a node to handle situations such as the SwitchMultilevel in its 4th version and its new Target Value (see also ZWave Application Command Class Specification §4.72). Might also answer to #287

I propose here to simply expose the Version, not the command class name itself (because it is something we already know based on its ID).

robertsLando commented 4 years ago

LGTM thanks @sescandell !