REST API for display/light on Samsung Windfree AC

Hi @javalin, you can use curl command to turn off the light, like so:

curl -L -X POST 'https://api.smartthings.com/v1/devices/<device_id>/commands' \
-H 'Authorization: Bearer <token>' \
-H 'Content-Type: application/json' \
--data-raw '{
  "commands": [
    {
      "component": "main",
      "capability": "execute",
      "command": "execute",
      "arguments": [
        "mode/vs/0",
          {
             "x.com.samsung.da.options":[
                "Light_On"
             ]
          }
       ]
    }
  ]
}'

Ironically, as Ronaldo mentioned above,
Light_On = display off
Light_Off = display on

3 Likes