SmartThings API Rest SPi Mode windfree AC

Hello dear SmartThings community,

I am playing with developing a rest application to control my Samsung AC (windfree) and am stuck on the ionizer control.
I expected, that similar to other calls, the following body in the post request will work (full request and response below, but it results in an error that the command is not correct, i kindly ask you for advise, how exactly the syntax should look. Searched for this information in the API documentation and on forums etc. but with no luck.

If you need more details, please let me know.

Thanks beforehand for your support!

Kind regards

jla

Request:

curl -X POST
https://api.smartthings.com/v1/devices/XXXXXXXX/commands
-H ‘Authorization: Bearer XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX’
-d ‘{“commands”:[{“component”:“main”,“capability”:“custom.spiMode”,“command”:“setSpiMode”,“arguments”:[“on”]}]}’

response status code:
HTTP/1.1 422 Unprocessable Entity

response body:
{
“requestId”: “44DB31D0-3FD0-4E3E-B139-F1CCD550DD93”,
“error”: {
“code”: “ConstraintViolationError”,
“message”: “The request is malformed.”,
“details”: [
{
“code”: “NotValidValue”,
“target”: “[0].command”,
“message”: “setSpiMode is not a valid value.”,
“details”:
}
]
}
}

I am not familiar with spiMode but I assume it is S-Plasma Ion (SPI).

I am unable to find the commands that this capability accepts. “setSpiMode” likely is not a valid command. I requested more information about this capability and will share that once I receive it.

EDIT: This custom capability is intended to show the state of the SPI but is not controllable via SmartThings.

Hello Brad.

Thank you for the effort!

Is there another capability which can control the SPI?
The phone app can control the SPI, so i would guess there should be one.

Would be great if you could share progress on this. I have the WiFi-kit with dvm system using AM007NN1DCH/AA ceiling cassettes. Samsung’s existing ST integration is very limited.

Sorry, no updates. There is still not a method for controlling SPI via API command.

Is this feature planed for the future? or could we as customers request it?
thanks!

I’m unsure. You could request the feature by contacting support in the SmartThings app.

Hello,
for anybody (still) interested, finally found a way on how to activate and deactivate the SPi Mode.

activation:
curl -X POST
https://api.smartthings.com/v1/devices/XXXXXXXX/commands
-H ‘Authorization: Bearer XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX’
-d ‘{
“commands”:[
{
“component”:“main”,
“capability”:“execute”,
“command”:“execute”,
“arguments”:[
“mode/vs/0”,
{
“x.com.samsung.da.options”:[
"Spi_On"
]
}
]
}
]
}’

deactivation:
curl -X POST
https://api.smartthings.com/v1/devices/XXXXXXXX/commands
-H ‘Authorization: Bearer XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX’
-d ‘{
“commands”:[
{
“component”:“main”,
“capability”:“execute”,
“command”:“execute”,
“arguments”:[
“mode/vs/0”,
{
“x.com.samsung.da.options”:[
"Spi_Off"
]
}
]
}
]
}’