Changing Level

Three functions (see below) are provided for sending commands to change the current level on a device. These commands modify the ‘current level’ attribute of the Level Control cluster.

Each of the three level functions can be implemented with the On/Off cluster. In this case:

  • If the command increases the current level, the OnOff attribute of the On/Off cluster is set to ‘on’.

  • If the command decreases the current level to the minimum permissible level for the device, the OnOff attribute of the On/Off cluster is set to ‘off’.

Use of the three functions/commands are described below.

Move to Level Command

The current level can be moved (up or down) to a new level over a given time using the function eCLD_LevelControlCommandMoveToLevelCommandSend(). The target level and transition time are specified in the command payload (see Section16.8.3.1).

Move Command

The current level can be moved (up or down) at a specified rate using the function eCLD_LevelControlCommandMoveCommandSend(). The level varies until stopped (see Section 16.5.2) or until the maximum or minimum level is reached. The direction and rate are specified in the command payload (see Section 16.8.3.2).

Step Command

The current level can be moved (up or down) to a new level in a single step over a given time using the function eCLD_LevelControlCommandStepCommandSend(). The direction, step size and, transition time are specified in the command payload (see Section 16.8.3.3).

Parent topic:Sending Remote Commands