Issuing Local Commands
Some of the operations described in Section 13.4 that correspond to remote commands can also be performed locally, as described below.
Creating a Scene
A scene can be created on the local node using either of the following functions:
eCLD_ScenesAdd(): This function can be used to add a new scene to the Scene table on the specified local endpoint. A scene ID and an associated group ID must be specified (the latter must be set to 0x0000 if there is no group association). If a scene with these IDs exists in the table, the existing entry is overwritten.
eCLD_ScenesStore(): This function can be used to save the currently implemented attribute values on the device to a scene in the Scene table on the specified local endpoint. A scene ID and an associated group ID must be specified (the latter must be set to 0x0000 if there is no group association). If a scene with these IDs exists in the table, the existing entry is overwritten except for the transition time and scene name fields.
Parent topic:Issuing Local Commands
Applying a Scene
An existing scene can be applied on the local node using the function eCLD_ScenesRecall(). This function reads the stored attribute values for the specified scene from the local Scene table and implements them on the device. The values of any attributes that are not included in the scene remain unchanged.
Parent topic:Issuing Local Commands
Parent topic:Scenes Cluster