SmartThings cannot create virtual modules out of the box. With this solution, we will show you how to create and use virtual modules.


Virtual devices can help in automation to store states and use them in other automation.


Install Virtual Things Edge Driver


  1. Login SmartThings Groovy IDE
  2. Open following link:
    1. https://api.smartthings.com/invitation-web/accept?id=b119aed9-4083-46bc-bc16-584b9d738abe
  3. Find your Hub and press Enroll
  4. Press Available Drivers
  5. Choose Virtual Things Edge Driver [YG]  and press Install


Add Virtual Things Driver in SmartThings App


  1. Open your SmartThings App
  2. Go to devices
  3. Tap + in the upper left corner
  4. Choose Add device
  5. Tap on Scan nearby
  6. This will create “vDev Controller - ”virtual devices controller "
  7. Go back to devices


Create Virtual device


  1. Tap vDev Controller for open details
  2. Tap the gear next to Virtual Thing Type To Create
  3. Choose a virtual device type
    1. SWITCH
    2. DIMMER
    3. LOCK
    4. CONTACT SENSOR
    5. PRESENCE SENSOR
    6. CURTAIN SWITCH
    7. MOTION SENSOR


  4. Tap ON button (The virtual module is created and the status changes back to Off)
     


Delete Virtual device


  1. Tap on your Virtual device
  2. Tap on 3 points in the upper right corner
  3. Tap Edit
  4. Tap Remove device