REST API for display/light on Samsung Windfree AC

Hi,

I have got a Samsung Windfree AC (AR09RXPXBWKNEU) I would like to control via the REST API.

I can get the switch status with a GET request like this (plus JSONPATH):

curl -v -i -G -X GET 'https://api.smartthings.com/v1/devices/<device-id>/components/main/status' \
        -H "Authorization: Bearer <token>" \

And I can also set it easily enough with this POST request:

curl -v -i -X POST 'https://api.smartthings.com/v1/devices/<device-id>/commands' \
        -H "Authorization: Bearer <token>" \
        -d '{"commands": [{"component": "main" , "capability": "switch", "command": "off"}]}'

I would like to turn the display/light on and off via REST (I am not so much interested in the state as is goes on every time you issue a command). In the Smartthings App it can be controlled via the Settings:

However, there seems to be no capability controlling this setting. The only thing I could find in the status is in the execute section of the status JSON result:

"execute": {
    "data": {
        "value": {
            "payload": {
                ...
                ],
                "x.com.samsung.da.options": [
                    ...
                   "Light_On",
                    ...
                ],
                ...
             }
        },
        "data": {}
    }
},

Is there a way of turning the display/light off via the REST API?

Thanks,
Peter

Did you manage this?
I’m trying to do the same (and others commands too)

Same story here. i’ve been trying all sorts of strings via webcore but nothing seems to work