# From DTH to Edge Migration tips or tricks?

**URL:** <https://community.smartthings.com/t/from-dth-to-edge-migration-tips-or-tricks/246520>\
**Category:** How-To\
**Tags:** edge-device, aftergroovy\
**Created:** [August 22, 2022, 2:33am UTC](https://community.smartthings.com/t/from-dth-to-edge-migration-tips-or-tricks/246520 "2022-08-22T02:33:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![csstup](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/csstup/32/141481_2.png) [@csstup](https://community.smartthings.com/u/csstup)\
**Post date:** [August 22, 2022, 2:33am UTC](https://community.smartthings.com/t/from-dth-to-edge-migration-tips-or-tricks/246520/1 "2022-08-22T02:33:15Z")

</div>

Decided I would do a single “production” switch today that has routines, _Smart Lighting_ and Alexa ties. This was a ZEN71 switch, backed by @krlaframboise’s DTH (single entry for just the ZEN71).

Curious if others have any suggestions to make this go more smoothly for other similar devices?

1. Take screenshots of current configuration. Device info / configuration / settings, routines, smart lighting. Log into IDE \> Devices \> Device page screenshot.
2. Create virtual switch using Labs. Locate and move any _smart lighting_ entries from existing device to the placeholder virtual device.
3. Look up instructions of how to exclude/include the ZEN71.
4. Find QR code/DSK for this particular switch within all the other boxes of smart devices. I use S2.
5. Go into Hub details \> Z-Wave Utilities \> Z-wave exclude. Press paddle to exclude device. 1 device Excluded.
6. Go into IDE \> My Device Handlers. Delete DTH. I only have a single ZEN71 so this is okay. Otherwise I’d need to comment out the fingerprint so it would continue to operate other devices but not be found for new ones.
7. Go into Hub details on mobile. Add ZEN71 driver to hub.
8. Add device, scan for device/scan QR code. Press paddles to include device. Key in DSK. Device included with S2 successfully.
9. Go into new device, routines. Recreate any simple routines using screenshots as guides.
10. Go into _Smart Lighting_. Move entry from placeholder virtual to new device.
11. Log into Alexa app \> Devices. Reassociate new device into the previous group/room.
12. Test.

Simple huh? I know I could shave some effort out if I didn’t use S2 but I like and want to use it. Thoughts? Comments? Suggestions?

---

<div class="post-metadata">

**Author:** ![DaWeav](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/daweav/32/109130_2.png) [@DaWeav](https://community.smartthings.com/u/DaWeav)\
**Post date:** [August 22, 2022, 2:42pm UTC](https://community.smartthings.com/t/from-dth-to-edge-migration-tips-or-tricks/246520/2 "2022-08-22T14:42:51Z")

</div>

I use the virtual device approach, but not the SmartThings labs virtual switches. I use a combination of the new Edge virtual drivers by both @TAustin and @ygerlovin since their virtual devices can match the device type and capabilities in order to duplicate the physical device triggers and actions in Automations and Scenes.

> [@\[ST Edge\] vEdge Creator: a virtual device generator for end users](https://community.smartthings.com/t/st-edge-vedge-creator-a-virtual-device-generator-for-end-users/231786):
>
> Here is an Edge driver that will enable end-users to create virtual devices that run locally on-hub. UPDATED JULY 2023… Features: Supports the following virtual device types: A/C, air quality, alarm, Alexa switch, battery, CO2 level, contact, door, energy, fan, garage door, illuminance, Level/dimmer-only, lock, light (including RGBW), momentary button/doorbell, motion, panic, presence, refrigerator, smoke detector, sound pressure, sound sensor, switch, switch level/dimmer, temp/humidity, TV, thermostat, video camera, water sensor, window shade Create any number of virtual devices Easy and fast to use: No coding or CLI required Enables you to create 100% local automations with virtual devices See how many devices you’ve created of a given type (inventory) Devices include additional …

> [@\[ST Edge\] Virtual Things Edge Driver](https://community.smartthings.com/t/st-edge-virtual-things-edge-driver/232875):
>
> Hi, Following @TAustin 's great work on vEdge Creator, I was curious to explore a different approach for creating virtual devices. The driver allows creation of devices one-by-one. Please install “Virtual Things Edge Driver [YG]” How to use After installing the driver, press “Add device” and then “Scan nearby”. This will create “vDev Controller” - virtual devices controller (currently it only creates virtual devices, but does not actually allow to control them). Once the controller is created, enter its detailed view. The user specifies a type of the device to create by choosing “Virtual Thing Type To Create” and presses switch button. The controller will report its status (ready/creating/created) and the name of the device being created. When the device is created the switch g…
