Devices Categories and Commands

Hello SmartThings developers,

I am currently making a third party application which uses SmartThings api for cameras. There are multiple camera manufacturers with SmartThings like arlo, ring, tapo, etc.

To make use of SmartThings api the device commands and capabilities are used. Example for Arlo below capabilities and commands exist.

I want to know if a manufacturer support similar features for their cameras, do they use the same names for categories and commands?

So that i can generalize app behaviour across all camera manufacturers.

Aeotec Cam 360:

Tapo C225:

The Irony:

1 Like

Ring Stickup Cam Wired









Ring Doorbell Pro



1 Like

Hi, @Krushnali_Tiwari
There are indeed some capabilities that are common among camera devices.
However, each can have different values supported for each capability like “alarm”.
It’s important to understand that:

  1. A device is composed of a group of capabilities and metadata (device presentation and others)
  2. Each capability has certain attributes and/or commands which are the ones you see in the Advanced Users app but that configuration can be seen through the API as well.
    To get which capabilities are part of a device you get its details:
    https://api.smartthings.com/v1/devices/{deviceId}

To see the attributes and commands available for a capability you can query it:
https://api.smartthings.com/v1/capabilities/{capabilityId}/{capabilityVersion}
(version is always 1)

  1. However, there are certain capabilities that have an attribute called “supportedX” where x is a specific reference like Modes, Features, etc.
    That attribute can be empty or have certain values assigned which you should consider as well.
  2. In the device presentation we can also filter the supported options/enums, but I don’t know if it’s common for camera devices, so I just mention it in case you see something strange.
3 Likes

Thankyou @Andreas_Roedl and @h0ckeysk8er. The images help a lot.

Thanks @nayelyz for clarification.

Hello i want to know - can the captured image (from Ring doorbell pro) be viewed on browser.
Please help be by following below steps.

  1. capture the image (snapshot) from your ring doorbell pro (this you can do from advance web portal as well by clicking imageCapture → take command in commands section for ring doorbell)
  2. Open the advance web portal like before
  3. in the attributes you might see imageCapture → image → imageURL
  4. copy this url and paste in another browser tab.
  5. let me know what happened when you did 4th.