Hello, by using Google I found out that I can send the following command to my Air Conditioner
{
"component": "main",
"capability": "switch",
"command": "on"
}
Now I wonder what else I can send it. I used the call for device components and capabilities, it gave me for example a airConditionerMode but it seems I cannot set it using a POST to .../commands
.
{
"component": "main",
"capability": "airConditionerMode",
"command": "cool"
}
The above does not work.
The documentation shows me that there is such a thing as âcommandsâ but I have not found an overview of possible commands for my air conditioner.
This is the capability I would like to use for example:
https://api.smartthings.com/v1/devices/aaaa-bbbbb-ccccccc-dddddd/components/main/capabilities/airConditionerMode/status
It returns:
{
"supportedAcModes": {
"value": [
"cool",
"dry",
"wind",
"auto",
"heat"
],
"timestamp": "2021-12-22T20:17:09.582Z"
},
"airConditionerMode": {
"value": "cool",
"timestamp": "2022-05-19T16:39:29.034Z"
}
}
But it does not really take any value in a command.
The latest is that I use the âexecuteâ capability to do something like this:
{
"commands": [
{
"component": "main",
"capability": "switch",
"command": "on"
},
{
"component": "main",
"capability":"execute",
"command":"execute",
"arguments":[
"mode", {
"airConditionerFanMode": "get-me-a-beer"
}
]
}
]
}
But it did not get me a beer, it beeps that itâs all fine and the API reponse is all ok but obviously I can send it anything this way.