Child devices in new app

I have a Qubino 1D flush relay. It shows up and works correctly in the classic app (and on With the new app I am not able to see the status of the child device.
Does anyone know if this is due to a general lack of child devices in the new app or if there is way to add the child device?

Can you elaborate on this?

In the old app the status shows up as seen in the picture to the left. In the new app there is no such illustration. In addition I am able to use the “Smart Home Monitor” to create a rule that informs me if the garage has been left open for more than 30 min.

In the new app there is no such illustration. I only got the activity history (which I only realized after taking the picture to illustrate this post). In addition I am not able to use the status of the contact sensor status as a condition for an automation the way I could using the classic app.

The DTH needs to be updated to support the new app

1 Like

Here is an example groovy dth



Is there some info on how the new app displays the groovy DTH?

If I add capabilities to the DTH it will display some of them in the new app, but not all. If I add “ocfDeviceType”, it will change the main tile. If I add “vid” it will change the layout the a pre-made one.

For example Im trying to add: capability “Carbon Dioxide Measurement” to display in the new app, but I cant find a way to do it in the groovy DTH. The ST docs says that the capability is live

I will see if there is someone from the hub connected team who can better respond today.

From our docs

Step 3: Create a Device Handler in the IDE

A Device Handler is a representation of a physical device in the SmartThings platform. It is responsible for communicating between the actual device and the SmartThings platform.

  1. Under “My Device Handlers”, click “Create a New Device Handler”.
  2. In the From Template tab, select the protocol (Zigbee Home Automation [HA] or 3.0; Zigbee Light Link [ZLL]; Z-Wave) and capabilities that correspond to your device.
  • If there is no Device Handler match (i.e. a New Device Handler Form is created), we recommend creating a Device Handler From Example . See below.
  • If there is a Device Handler match, the corresponding Device Handler is shown. Enter the required fields to create a unique fingerprint for your device. Required fields may include: Manufacturer Name/ID, Product ID, Model Name/ID, Device Join Name, Namespace, Device Handler Name.
  1. Click the “Update Existing Device Handler” or “Create” button. You will see the template code.
  2. Click “Save”. Then click “Publish” and “For Me” to publish this Device Handler in your account.
1 Like

Also the following community thread might be helpful:

New app — which CUSTOM DTH’s will work?

1 Like

@jody.albritton and @blake.arnold it would be very helpful if someone from ST could clarify the relationship between Groovy DTH and new app UI. It would make the transition from Classic to new app for custom DTH smoother. Some things i’m thinking of specifically:

  1. How does MCD work and how does one convert from classic app child devices to MCD (if needed)
  2. How does ocfDeviceType metadata influence new app icon/tile
  3. A list of valid ocfDeviceType entries and what icon t hey represent
  4. How does mnmn and vid metadata influence the device UI?
  5. A list of “standard” vid entries and what capability combinations they represent

This will at least give custom DTH creators a head start on getting their DTH minimally working with the new app. Then a logical next step would be discussing custom capabilities, but for now having a documented process for minimal viable DTH for the new app would be very helpful.


Thanks @prjct92eh2, Jody and I had a discussion about this earlier this morning and are already on it. We’re also planning to provide a broader explanation of how DTHs work in OneApp vs. Classic, specifically the difference between attributes and capabilities and what is required to get the latter to render properly in OneApp. Appreciate the help and list - if anyone has topics to add, please let us know and we’ll do our best to make sure there’s clear documentation.


Great news Blake!

Yes! What @prjct92eh2 is a asking is just what I’m looking for.

@jody.albritton I managed to get the capabilities to display if I made the DH from scratch and preselected the capabilities as per the docs you linked to. Its a start, but before I was able to the change the main tile in the new app by changing the ocfDeviceTypeIf I do that now, the icon change but not the value. Info/guide on how all this work together would be very much appreciated

@jody.albritton @blake.arnold

Can you provide a way to change the main tile in the new app. Adding ocfDeviceType will do that, but only if “vid” is also used. But if I use “vid” it will override my selected capabilities to a preset one.

This is a very timely discussion, thanks for your reply @blake.arnold and @jody.albritton I have a quick question?


I took this stock ST handler and only changed 1 metadata element: (was set to true)
runLocally: false

And then I tweaked “parameterNumber: 111” to have the device report faster than 5 minutes.

After I did that and applied the DTH, the new ST app can’t bring up the device. I can see the tiles with spinning icons, and new tiles that include battery and Refresh, but I now get the error “a network or server error occurred, try again.”.

What could I have done to have caused that?

Any help would be appreciated!

@johnconstantelo I found that making modifications before you create the DH works much better for the new app. I was trying to add some capabilities, but not until I deleted the DH and created the new one (with the same code) did the new app read the new capabilities correctly. I don’t know of this would help in you case. But changes to the DH are not instant in the new app like they are in the classic app. Often changing to another DH and back again works for me

1 Like

I found out that ocfDeviceType only changes the icon on the main tile, but not the value. The main tile is preset by the vid, but I have not found a way to select the value for the main tile without using a preselected vid

I’ve tried all those tricks as well. I just updated my version of that DTH to add the vid “generic-switch-power-energy” and to remove ocfDeviceType: “”. That seemed to have worked for me, but I have no idea why…

© 2019 SmartThings, Inc. All Rights Reserved. Terms of Use | Privacy Policy

SmartThings; SmartApps®; Physical Graph; Hello, Home; and Hello, Smart Home are all trademarks of the SmartThings, Inc.