Devices
Get the Description of a Device
Changed onGet a device's given description.
get/devices/{deviceId}
Request
- Base URLhttps://api.smartthings.com/v1
- AuthOAuth 2Implicithttps://auth-global.api.smartthings.comScopesr:devices:*
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
includeStatusboolean
Include the status of the device's capabilities, if permission is adequate to view them. This requires r:devices permission.
Response
A device
Example response
{
"deviceId": "6f5ea629-4c05-4a90-a244-cc129b0a80c3",
"name": "color.light.100x",
"label": "color.light.100x",
"manufacturerName": "SmartThings",
"presentationId": "VD-STV_2018_K",
"deviceManufacturerCode": "010F-0B01-2002",
"locationId": "0c0b935d-0616-4441-a0bf-da7aeec3dc0a",
"ownerId": "1c75f712-2c3e-4e51-970c-a42ae7aedbdc",
"roomId": "0fd2b1ef-1b33-4a54-9153-65aca91e9660",
"deviceTypeId": "Deprecated please look under \"dth\".",
"deviceTypeName": "Deprecated please look under \"dth\".",
"deviceNetworkType": "Deprecated please look under \"dth\".",
"productId": "48bea670-2bb3-494f-a402-dbc5a7cf1e06",
"brandId": "cb1332ca-8dd6-422f-b2ab-e757d9abf694",
"components": [
{
"id": "main",
"capabilities": [
{
"id": "switch",
"version": 1,
"config": {
"values": [
{
"key": "thermostatMode.value"
}
]
},
"status": {
"switch": {
"value": "on"
}
}
}
],
"categories": [
{
"name": "Light"
}
]
}
],
"profile": {
"id": "a7b3c264-2d22-416e-bca1-ca4b59a60aee"
},
"app": {
"installedAppId": "0c0b935d-0616-4441-a0bf-da7aeec3dc0a",
"externalId": "Th13390",
"profile": {
"id": "a7b3c264-2d22-416e-bca1-ca4b59a60aee"
}
},
"bleD2D": {
"encryptionKey": "96012869B606355A1F843B1E19DC31B1",
"cipher": "BMO_256-CBS-PKMS1Padding",
"gattCipher": "BMO_256-CBS-PKMS1Padding",
"advertisingId": "9C0D4219",
"identifier": "88-57-1d-0e-53-ab",
"configurationUrl": "https://apisa.samsungiots.com/v1/miniature/profile/e524ceba-93b9-499d-a90a-24214f7f01cb",
"bleDeviceType": "BLE, TAG, DOORLOCK, HEALTH"
},
"dth": {
"deviceNetworkType": "ZIGBEE",
"deviceTypeId": "7b8514e6-230d-41cc-b3c2-512bca15abf0",
"deviceTypeName": "x.com.samsung.da.fridge",
"hubId": "f7239728-edb3-48e9-b588-a27f30b968a0",
"installedGroovyAppId": "8f5ra619-4c05-4a90-a245-cc129b0a8098",
"fingerprintId": "smartthings.motion-v4"
},
"lan": {
"driverId": "9314a926-528c-403f-ae56-4b0d059381dd",
"hubId": "f7239728-edb3-48e9-b588-a27f30b968a0",
"fingerprintId": "smartthings.motion-v4"
},
"zigbee": {
"eui": "24FD5B000105DB96",
"driverId": "9314a926-528c-403f-ae56-4b0d059381dd",
"hubId": "f7239728-edb3-48e9-b588-a27f30b968a0",
"fingerprintId": "smartthings.motion-v4"
},
"zwave": {
"driverId": "9314a926-528c-403f-ae56-4b0d059381dd",
"hubId": "f7239728-edb3-48e9-b588-a27f30b968a0",
"manufacturerId": 134,
"productType": 17488,
"productId": 12336,
"fingerprintId": "smartthings.motion-v4"
},
"matter": {
"driverId": "9314a926-528c-403f-ae56-4b0d059381dd",
"hubId": "f7239728-edb3-48e9-b588-a27f30b968a0",
"version": {
"hardware": 771,
"software": 50529027
},
"endpoints": [
{
"endpointId": 771,
"deviceTypes": [
{
"deviceTypeId": 197379
}
]
}
],
"syncDrivers": true,
"fingerprintId": "smartthings.motion-v4"
},
"hub": {
"hubEui": "D053A8B4F6D80001",
"hubDrivers": [
{
"driverId": "9314a926-528c-403f-ae56-4b0d059381dd",
"channelId": "9314a926-528c-403f-ae56-4b0d059381dd"
}
],
"hubData": {
"zwaveStaticDsk": "21720-31296-41384-03009-58023-25366-38831-43982",
"hardwareType": "V3_HUB",
"hardwareId": "00A2",
"zigbeeFirmware": "5.4.0",
"failoverAvailability": "Available",
"primarySupportAvailability": "Available",
"secondarySupportAvailability": "Available",
"zigbeeAvailability": "Available",
"zwaveAvailability": "Available",
"threadAvailability": "Available",
"lanAvailability": "Available",
"matterAvailability": "Available",
"localVirtualDeviceAvailability": "Available",
"childDeviceAvailability": "Available",
"edgeDriversAvailability": "Available",
"hubReplaceAvailability": "Available",
"hubLocalApiAvailability": "Available",
"edgeDriverSupportedEndpointApps": {
"apps": [
{
"appName": "Sonos",
"version": "v1"
}
]
},
"repeaterReachability": "Unreachable",
"matterRendezvousHedgeSupported": true,
"matterCommissionerSupport": {
"supportedModes": [
"ON_NETWORK",
"BLE"
]
},
"matterSoftwareComponentVersion": "1.2-0",
"matterDeviceDiagnosticsAvailability": "Available",
"zigbeeDeviceDiagnosticsAvailability": "Available",
"hedgeTlsCertificate": "-----BEGIN CERTIFICATE----- 1A2b3C4d... -----END CERTIFICATE-----",
"hub2hubSupportMatrix": {
"capabilities": [
{
"name": "HEDGE",
"version": 1
}
]
}
},
"driverId": "a5e05a41-0b0a-4d07-a825-b85e9543fc1b"
},
"edgeChild": {
"driverId": "9314a926-528c-403f-ae56-4b0d059381dd",
"hubId": "f7239728-edb3-48e9-b588-a27f30b968a0",
"fingerprintId": "smartthings.motion-v4"
},
"ir": {
"profileId": "0c0b875r-0213-6479-a0bf-da7aeec3dc0a",
"ocfDeviceType": "oic.d.tv",
"irCode": "006C",
"functionCodes": {
"statelessPowerToggleButton.powerToggle": "power",
"statelessAudioMuteButton.muteToggle": "mute",
"statelessAudioVolumeButton.volumeUp": "volume_up",
"statelessAudioVolumeButton.volumeDown": "volume_down",
"statelessChannelButton.channelUp": "channel_up",
"statelessChannelButton.channelDown": "channel_down",
"statelessCustomButton.green": "green",
"statelessCustomButton.right": "right",
"statelessCustomButton.3": 3,
"statelessCustomButton.exit": "exit",
"statelessCustomButton.playback": "playback"
}
},
"irOcf": {
"profileId": "0c0b875r-0213-6479-a0bf-da7aeec3dc0a",
"ocfDeviceType": "oic.d.tv",
"irCode": "006C",
"functionCodes": {
"statelessPowerToggleButton.powerToggle": "power",
"statelessAudioMuteButton.muteToggle": "mute",
"statelessAudioVolumeButton.volumeUp": "volume_up",
"statelessAudioVolumeButton.volumeDown": "volume_down",
"statelessChannelButton.channelUp": "channel_up",
"statelessChannelButton.channelDown": "channel_down",
"statelessCustomButton.green": "green",
"statelessCustomButton.right": "right",
"statelessCustomButton.3": 3,
"statelessCustomButton.exit": "exit",
"statelessCustomButton.playback": "playback"
}
},
"viper": {
"uniqueIdentifier": "1a-74",
"manufacturerName": "TP-Link",
"modelName": "HS101",
"swVersion": "23.123.231",
"hwVersion": "v1 US bulb",
"endpointAppId": "viper_bb238c20-675a-11ed-970f-571777eb58c5"
},
"group": {
"groupName": "My Group",
"devices": [
{
"deviceId": "747d79d3-4685-4852-89b6-e2fc681a590f",
"components": [
{
"id": "main"
}
]
}
]
},
"virtual": {
"hubId": "f7239728-edb3-48e9-b588-a27f30b968a0",
"driverId": "9314a926-528c-403f-ae56-4b0d059381dd"
},
"indoorMap": {
"coordinates": [
"1.0",
"2.0",
"3.0"
],
"rotation": [
"0",
"0",
"0"
],
"visible": true,
"data": [
{
"extraData1": "some data"
}
]
},
"relationships": [
{
"deviceId": "6f5ea629-4c05-4a90-a244-cc129b0a80c3"
}
]
}Changes
- info
added the new optional
queryrequest parameterincludeStatus
- info