Module: OpenZWave::DriverControllerCommand

Defined in:
lib/ansible/zwave/openzwave/ozw_types.rb

Constant Summary collapse

ControllerCommand_None =
0
ControllerCommand_AddController =

< No command.

1
ControllerCommand_AddDevice =

< Add a new controller to the Z-Wave network. The new controller will be a secondary.

2
ControllerCommand_CreateNewPrimary =

< Add a new device (but not a controller) to the Z-Wave network.

3
ControllerCommand_ReceiveConfiguration =

< Add a new controller to the Z-Wave network. The new controller will be the primary, and the current primary will become a secondary controller.

4
ControllerCommand_RemoveController =

< Receive Z-Wave network configuration information from another controller.

5
ControllerCommand_RemoveDevice =

< Remove a controller from the Z-Wave network.

6
ControllerCommand_RemoveFailedNode =

< Remove a new device (but not a controller) from the Z-Wave network.

7
ControllerCommand_HasNodeFailed =

< Move a node to the controller’s failed nodes list. This command will only work if the node cannot respond.

8
ControllerCommand_ReplaceFailedNode =

< Check whether a node is in the controller’s failed nodes list.

9
ControllerCommand_TransferPrimaryRole =

< Replace a non-responding node with another. The node must be in the controller’s list of failed nodes for this command to succeed.

10
ControllerCommand_RequestNetworkUpdate =

< Make a different controller the primary.

11
ControllerCommand_RequestNodeNeighborUpdate =

< Request network information from the SUC/SIS.

12
ControllerCommand_AssignReturnRoute =

< Get a node to rebuild its neighbour list. This method also does ControllerCommand_RequestNodeNeighbors

13
ControllerCommand_DeleteAllReturnRoutes =

< Assign a network return routes to a device.

14
ControllerCommand_CreateButton =

< Delete all return routes from a device.

15
ControllerCommand_DeleteButton =

Create a handheld button id.

16
VALUE_MAP =
{0 => "ControllerCommand_None", 1 => "ControllerCommand_AddController", 2 => "ControllerCommand_AddDevice", 3 => "ControllerCommand_CreateNewPrimary", 4 => "ControllerCommand_ReceiveConfiguration", 5 => "ControllerCommand_RemoveController", 6 => "ControllerCommand_RemoveDevice", 7 => "ControllerCommand_RemoveFailedNode", 8 => "ControllerCommand_HasNodeFailed", 9 => "ControllerCommand_ReplaceFailedNode", 10 => "ControllerCommand_TransferPrimaryRole", 11 => "ControllerCommand_RequestNetworkUpdate", 12 => "ControllerCommand_RequestNodeNeighborUpdate", 13 => "ControllerCommand_AssignReturnRoute", 14 => "ControllerCommand_DeleteAllReturnRoutes", 15 => "ControllerCommand_CreateButton", 16 => "ControllerCommand_DeleteButton"}
VALID_VALUES =
Set.new([ControllerCommand_None, ControllerCommand_AddController, ControllerCommand_AddDevice, ControllerCommand_CreateNewPrimary, ControllerCommand_ReceiveConfiguration, ControllerCommand_RemoveController, ControllerCommand_RemoveDevice, ControllerCommand_RemoveFailedNode, ControllerCommand_HasNodeFailed, ControllerCommand_ReplaceFailedNode, ControllerCommand_TransferPrimaryRole, ControllerCommand_RequestNetworkUpdate, ControllerCommand_RequestNodeNeighborUpdate, ControllerCommand_AssignReturnRoute, ControllerCommand_DeleteAllReturnRoutes, ControllerCommand_CreateButton, ControllerCommand_DeleteButton]).freeze