Please give me information about 'samsungce.kitchenModeSpecification' capability

how can i get information about samsungce.kitchenModeSpecification of capability

i bought ‘Samsung OCF Oven(DeviceTypeName)’
and when i get status of that device i checked capability about samsungce.kitchenModeSpecification

but there is no samsungce.kitchenModeSpecification information on capability reference on document section.

could i get samsungce.kitchenModeSpecification capability information and can i get on exmaple of samsungce.kitchenModeSpecification when i command by rest api???

You can pull the raw JSON definition from the SmartThings REST API. The CLI is quite useful for this.

{
    "id": "samsungce.kitchenModeSpecification",
    "version": 1,
    "status": "proposed",
    "name": "Kitchen Mode Specification",
    "ephemeral": false,
    "attributes": {
        "specification": {
            "schema": {
                "type": "object",
                "properties": {
                    "value": {
                        "type": "object",
                        "additionalProperties": false,
                        "patternProperties": {
                            "^(single|lower|upper)$": {
                                "type": "array",
                                "items": {
                                    "type": "object",
                                    "required": [
                                        "mode"
                                    ],
                                    "properties": {
                                        "mode": {
                                            "type": "string"
                                        },
                                        "supportedOperations": {
                                            "type": "array",
                                            "items": {
                                                "type": "string",
                                                "enum": [
                                                    "start",
                                                    "set"
                                                ]
                                            }
                                        },
                                        "supportedOptions": {
                                            "type": "object",
                                            "patternProperties": {
                                                "^(temperature|probeTemperature)$": {
                                                    "type": "object",
                                                    "additionalProperties": false,
                                                    "patternProperties": {
                                                        "^[CF]$": {
                                                            "type": "object",
                                                            "additionalProperties": false,
                                                            "patternProperties": {
                                                                "^(min|max|resolution|default)$": {
                                                                    "type": "number"
                                                                }
                                                            },
                                                            "properties": {
                                                                "supportedValues": {
                                                                    "type": "array",
                                                                    "items": {
                                                                        "type": "number"
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            },
                                            "properties": {
                                                "powerLevel": {
                                                    "type": "object",
                                                    "additionalProperties": false,
                                                    "properties": {
                                                        "supportedValues": {
                                                            "type": "array",
                                                            "items": {
                                                                "type": "string"
                                                            }
                                                        },
                                                        "default": {
                                                            "type": "string"
                                                        }
                                                    }
                                                },
                                                "operationTime": {
                                                    "type": "object",
                                                    "additionalProperties": false,
                                                    "patternProperties": {
                                                        "^(min|max|resolution|default)$": {
                                                            "type": "string",
                                                            "pattern": "^\\d\\d+:[0-5]\\d:[0-5]\\d$"
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        },
                        "examples": [
                            {
                                "single": [
                                    {
                                        "mode": "Convection",
                                        "supportedOperations": [
                                            "set"
                                        ],
                                        "supportedOptions": {
                                            "temperature": {
                                                "F": {
                                                    "min": 300,
                                                    "max": 500,
                                                    "default": 350,
                                                    "resolution": 5
                                                },
                                                "C": {
                                                    "min": 100,
                                                    "max": 250,
                                                    "default": 180,
                                                    "supportedValues": [
                                                        100,
                                                        180,
                                                        250
                                                    ]
                                                }
                                            },
                                            "operationTime": {
                                                "min": "00:00:01",
                                                "max": "11:59:59",
                                                "default": "00:30:00",
                                                "resolution": "00:00:01"
                                            },
                                            "probeTemperature": {
                                                "C": {
                                                    "min": 30,
                                                    "max": 90,
                                                    "default": 50,
                                                    "resolution": 5
                                                }
                                            }
                                        }
                                    }
                                ]
                            }
                        ]
                    }
                },
                "additionalProperties": false,
                "required": [
                    "value"
                ]
            },
            "enumCommands": []
        }
    },
    "commands": {}
}

The use of the namespace ‘samsungce’ in the capability ID indicates that this is a custom capability rather than a stock one which is why you don’t see it in the SmartThings developer documentation. OK it doesn’t have the random looking ‘dogbreath12345’ form of namespace assigned to community developers, but it is still a custom capability. Samsung Consumer Electronics may have a bit more influence than the average user but it is still down to them to document it if they want to.

As capabilities go, it seems rather a well written one. I’ve never noticed one with ‘examples’ before.

2 Likes