# Help needed with custom DTH for motorized zwave curtains

**URL:** <https://community.smartthings.com/t/help-needed-with-custom-dth-for-motorized-zwave-curtains/181236>\
**Category:** Writing Device Types\
**Created:** [December 21, 2019, 4:13pm UTC](https://community.smartthings.com/t/help-needed-with-custom-dth-for-motorized-zwave-curtains/181236 "2019-12-21T16:13:34Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![SYL](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/syl/32/109565_2.png) [@SYL](https://community.smartthings.com/u/SYL)\
**Post date:** [December 21, 2019, 4:13pm UTC](https://community.smartthings.com/t/help-needed-with-custom-dth-for-motorized-zwave-curtains/181236/1 "2019-12-21T16:13:34Z")

</div>

I’m trying to make custom DTH for Z-Wave motorized curtains and have some problems:

Standard DTH contains Tile with blinds icon and status, slider to change position , button to set saved position and battery status.

I changed the DTH: Changed the metadata and fingerprint, deleted button and battery tiles, but they still displays in smartthings. Device reconnect doesn’t help.  
So my question is how to make my own list of tiles?

---

<div class="post-metadata">

**Author:** ![RBoy](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/rboy/32/62677_2.png) [@RBoy](https://community.smartthings.com/u/RBoy)\
**Post date:** [December 22, 2019, 4:45am UTC](https://community.smartthings.com/t/help-needed-with-custom-dth-for-motorized-zwave-curtains/181236/2 "2019-12-22T04:45:58Z")

</div>

For UI changes to take effect on the new st app you need to exclude and re pair the device or change and re set the DTH

---

<div class="post-metadata">

**Author:** ![SYL](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/syl/32/109565_2.png) [@SYL](https://community.smartthings.com/u/SYL)\
**Post date:** [December 22, 2019, 9:27am UTC](https://community.smartthings.com/t/help-needed-with-custom-dth-for-motorized-zwave-curtains/181236/3 "2019-12-22T09:27:22Z")

</div>

I did it, but nothing happened

---

<div class="post-metadata">

**Author:** ![mark\_cockcroft](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/mark_cockcroft/32/93792_2.png) [@mark\_cockcroft](https://community.smartthings.com/u/mark_cockcroft)\
**Post date:** [December 22, 2019, 9:35am UTC](https://community.smartthings.com/t/help-needed-with-custom-dth-for-motorized-zwave-curtains/181236/4 "2019-12-22T09:35:54Z")

</div>

Close the new app completely make sure it’s not running in the background

---

<div class="post-metadata">

**Author:** ![SYL](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/syl/32/109565_2.png) [@SYL](https://community.smartthings.com/u/SYL)\
**Post date:** [December 22, 2019, 11:58am UTC](https://community.smartthings.com/t/help-needed-with-custom-dth-for-motorized-zwave-curtains/181236/7 "2019-12-22T11:58:33Z")

</div>

I created a DTH, but slider tile position is wrong and I cant set value range from 0 to 100.

Link to my DTH:

> <https://github.com/sylion/Smartthings/blob/master/Forest/Forest%20Shuttle%20L>

This is how it looks:

 ![photo_2019-12-22_13-56-46](https://global.discourse-cdn.com/smartthings/original/3X/4/0/40aae6ce34954106770e04ba40983382ff4e2eee.jpeg)

Also status is not displays on small tile in device list

This is how standard DTH looks:

 ![photo_2019-12-22_13-59-18](https://global.discourse-cdn.com/smartthings/original/3X/5/3/53f53c526ab14ca0636a71257f40054b146fb3cf.jpeg)

Actually I need only 2 first tiles from standard screen.

What I’m doing wrong? Why the labels are not like standard? Why Google home don’t see this device? Is there any way to update code and UI without unpair/pair device?

Sorry, I have really a lot of questions 😄

---

<div class="post-metadata">

**Author:** ![w35l3y](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/w35l3y/32/109618_2.png) [@w35l3y](https://community.smartthings.com/u/w35l3y)\
**Post date:** [December 23, 2019, 7:57pm UTC](https://community.smartthings.com/t/help-needed-with-custom-dth-for-motorized-zwave-curtains/181236/8 "2019-12-23T19:57:50Z")

</div>

It seems obvious but have you changed the device handler of your device ?  
It happened to me more than once.  
It took me awhile to understand that just choosing the correct device when simulating wouldn’t be enough.

1. Menu My Devices
2. Click on your device
3. Press Edit
4. Select your device handler at Type field
5. Press Update

---

<div class="post-metadata">

**Author:** ![SYL](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/syl/32/109565_2.png) [@SYL](https://community.smartthings.com/u/SYL)\
**Post date:** [December 23, 2019, 8:02pm UTC](https://community.smartthings.com/t/help-needed-with-custom-dth-for-motorized-zwave-curtains/181236/9 "2019-12-23T20:02:45Z")

</div>

Sure I did it

---

<div class="post-metadata">

**Author:** ![w35l3y](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/w35l3y/32/109618_2.png) [@w35l3y](https://community.smartthings.com/u/w35l3y)\
**Post date:** [December 23, 2019, 8:25pm UTC](https://community.smartthings.com/t/help-needed-with-custom-dth-for-motorized-zwave-curtains/181236/10 "2019-12-23T20:25:05Z")

</div>

What about the option “Publish \> For Me” after saving the handler ?

I am mentioning obvious things because you seem to have done everything else correctly.

---

<div class="post-metadata">

**Author:** ![SYL](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/syl/32/109565_2.png) [@SYL](https://community.smartthings.com/u/SYL)\
**Post date:** [December 23, 2019, 9:34pm UTC](https://community.smartthings.com/t/help-needed-with-custom-dth-for-motorized-zwave-curtains/181236/11 "2019-12-23T21:34:59Z")

</div>

I think the problem in the new smartthings app. I tried to make tiles layout without any capabilities in DTH, it works for classic app, but nothing displayed in the new one. Also google assistant can’t see devices with “Window Shade” capability because of some security reasons (found this info in other forum threads). I’m not sure is there any standard capability for motorized curtains but hope samsung will add it in future.

Does anybody know:

- how to make labels translation in custom DTH?
- is it possible to not use any capabilities in custom DTH and make it work with the new app?
- is it possible to create custom capability?
- is there any difference between DTH for classic and new apps?
- is the new developers workspace have a different IDE for hub-connected devices then [graph.api.smartthings.com](http://graph.api.smartthings.com) or it’s just a tool to publish DTH for all users?
