Click or drag to resize

ZWManagerIsPrimaryController Method

Query if the controller is a primary controller.

Namespace:  OpenZWave
Assembly:  OpenZWave (in OpenZWave.dll) Version: 255.255.255.255
Syntax
public bool IsPrimaryController(
	uint homeId
)

Parameters

homeId
Type: SystemUInt32
The Home ID of the Z-Wave controller.

Return Value

Type: Boolean
true if it is a primary controller, false if not.
Remarks

The primary controller is the main device used to configure and control a Z-Wave network. There can only be one primary controller - all other controllers are secondary controllers.

The only difference between a primary and secondary controller is that the primary is the only one that can be used to add or remove other devices. For this reason, it is usually better for the primary controller to be portable, since most devices must be added when installed in their final location.

Calls to BeginControllerCommand will fail if the controller is not the primary.

See Also