Enable scene

Last Updated on : 2023-12-07 03:33:53download

Used to enable the specified scene.

API address

PUT: /v1.0/homes/{home_id}/scenes/{scene_id}/actions/enable

Request parameter

Parameter nameTypeINRequiredDescription
home_idStringuritrueFamily ID
scene_idStringuritrueScene ID

Return parameter

Parameter nameTypeDescription
resultBooleanScene activation status.
  • true: activation success
  • false: activation failure

Request example

PUT: /v1.0/homes/242****/scenes/53IYSXI****/actions/enable

Return example

{
    "result": true,
    "t": 1541072348540,
    "success": true
}

Error code

For more information, see error code.