🖋️
open-api
  • Introduction
  • Header data
  • Sync devices
    • RequestFormat
    • ResponseFormat
  • Query States
    • Request Format
    • ResponseFormat
  • Execute
    • Switch
      • Request Format
      • ResponseFormat
    • BrightnessAbsolute
      • Request Format
      • ResponseFormat
    • BrightnessIncrement
      • Request Format
      • ResponseFormat
    • BrightnessDecrement
      • Request Format
      • ResponseFormat
    • Color
      • Request Format
      • ResponseFormat
    • ColorTemperature
      • Request Format
      • ResponseFormat
    • Scene
      • Request Format
      • ResponseFormat
  • Unlink
    • Request Format
    • ResponseFormat
  • Error responses
  • Report State
    • Device property changed
      • Property details
    • Device status changed
    • Device bind/unbind
Powered by GitBook
On this page

Was this helpful?

  1. Execute
  2. BrightnessAbsolute

ResponseFormat

{
    "requestId": "6529877997918554205",
    "payload": {
        "commands": [
            {
                "ids": [
                    "M1GAxtaW9A0LXNwZWMtdjIVgoAFGA55ZWVsaW5rLWNvbG9AyMRUUGAg1NTAwMTk0NhVoAA"
                ],
                "status": "ERROR",
                "errorCode": "deviceNotFound",
                "debugString": ""
            },
            {
                "ids": [
                    "M1GAxtaW9A0LXNwZWMtdjIVgoAFGA55ZWVsaW5rLWNvbG9AyMRUUGAg0NTk2NTYwNRVoAA"
                ],
                "status": "SUCCESS"
            }
        ]
    }
}

Params

Type

Value

Remarks

commands → ids

Array

Device ID collection

commands → status

String

SUCCESS / ERROR

Perform result

commands → errorCode

String

Error code

commands → debugString

String

Error details

PreviousRequest FormatNextBrightnessIncrement

Last updated 5 years ago

Was this helpful?