Applies a scene to a group of fixtures controlled by the switch. Each set of light level settings for fixtures is called a scene. For example, in a conference room, typical scenes would include using a projector when the lights should be off (all off) or during a meeting when the lights should be on (all on).
|em_ip_address or hostname||The Enlighted Manage (EM) IP address or host name|
|switch_id||Switch identifier (returned in Get Switch Scenes API)|
|scene_id||Scene identifier (returned in Get Switch Scenes API)|
0 – Success; Other than ‘0’: Failure
1 – Switch not available
Apply the scene 'All off' with the Scene ID ‘158’ to the Switch which has ID '7'. You can use the Get Switch Scenes API to get the Scene ID and Switch ID. The response ‘0’ indicates that the 'All off' scene was applied to the switch successfully.
Article is closed for comments.