Looking for list of capabilities for Air Purifier

Hi.
I’m trying to make a smartapp for Samsung OCF Air Purifier with SmartThings Groovy IDE.
I managed to make a smartapp to turn it on/off using switch capability, but I cannot find a way to control the fan mode.
I looked up in the capabilities references, there are no capability for fanmode of air purifier, but only for thermostatFanMode, AirConditionerMode, etc.

When I access my device with the IDE, there are some info like
supportedAcFanModes: [ “auto”, “sleep”, “low”, “medium”, “high”, “windFree” ]
fanMode: auto (current status)

So I assumed there’s a way to control the fanMode somehow, but not sure how to access without the exact name for those capabilities and commands.

Can I get any information regarding this?

The Air Conditioner Fan Mode capability doesn’t list any specific values.

    "id": "airConditionerFanMode",
    "version": 1,
    "status": "proposed",
    "name": "Air Conditioner Fan Mode",
    "attributes": {
        "fanMode": {
            "schema": {
                "type": "object",
                "properties": {
                    "value": {
                        "title": "String",
                        "type": "string",
                        "maxLength": 255
                    }
                },
                "additionalProperties": false,
                "required": []
            },
            "enumCommands": []
        },
        "supportedAcFanModes": {
            "schema": {
                "type": "object",
                "properties": {
                    "value": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        }
                    }
                },
                "additionalProperties": false,
                "required": []
            },
            "enumCommands": []
        }
    },
    "commands": {
        "setFanMode": {
            "arguments": [
                {
                    "name": "fanMode",
                    "optional": false,
                    "schema": {
                        "title": "String",
                        "type": "string",
                        "maxLength": 255
                    }
                }
            ]
        }
    }
}

There is an Air Purifier Fan Mode capability.

    "id": "airPurifierFanMode",
    "version": 1,
    "status": "proposed",
    "name": "Air Purifier Fan Mode",
    "attributes": {
        "airPurifierFanMode": {
            "schema": {
                "type": "object",
                "properties": {
                    "value": {
                        "title": "AirPurifierFanMode",
                        "type": "string",
                        "enum": [
                            "auto",
                            "sleep",
                            "low",
                            "medium",
                            "high",
                            "quiet",
                            "windFree"
                        ]
                    }
                },
                "additionalProperties": false,
                "required": []
            },
            "enumCommands": []
        },
        "supportedAirPurifierFanModes": {
            "schema": {
                "type": "object",
                "properties": {
                    "value": {
                        "type": "array",
                        "items": {
                            "type": "string",
                            "enum": [
                                "auto",
                                "sleep",
                                "low",
                                "medium",
                                "high",
                                "quiet",
                                "windFree"
                            ]
                        }
                    }
                },
                "additionalProperties": false,
                "required": []
            },
            "enumCommands": []
        }
    },
    "commands": {
        "setAirPurifierFanMode": {
            "arguments": [
                {
                    "name": "airPurifierFanMode",
                    "optional": false,
                    "schema": {
                        "title": "AirPurifierFanMode",
                        "type": "string",
                        "enum": [
                            "auto",
                            "sleep",
                            "low",
                            "medium",
                            "high",
                            "quiet",
                            "windFree"
                        ]
                    }
                }
            ]
        }
    }
}
2 Likes

Thank you for your quick response. I will try with the airPurifierFanMode.

where can I get this information if it isn’t on the official reference?
is there any other source of information that I 'd better look into?

I just read it out of the REST API.

1 Like