It is possible to request a list of connected devices from the Z-Wave controller. This article will take a look at the requests and responses related to device discovery in Z-Wave.
The article is part of a series of articles with focus on the Z-Wave protocol and how to implement it in C#. Reading the previous articles will be an advantage, but it is not mandatory.
- An introduction to Z-Wave programming in C#
- An introduction to the Z-Wave protocol
- The Z-Wave protocol in C# – Part 1
- The Z-Wave protocol in C# – Part 2
- The Z-Wave protocol in C# – Part 3
It is possible to have 232 Z-Wave devices in one network. Each device is identified by a node id. A number of common attributes are defined for the devices e.g. type. The Z-Wave protocol defines numerous device types but only the Controller, Switch and Dimmer will be addressed in this article.
It is relatively straight forward to identify the devices in the Z-Wave network handled by the Z-Wave controller.
- Ask the Z-Wave controller about the registered node ids
- Ask the Z-Wave controller about the type linked to each of the node ids
