Here is an Edge driver that will enable end-users to create virtual devices that run locally on-hub.
- Supports the following virtual device types:
air quality, alarm, battery, contact, door, light, lock, momentary, motion, presence, shade, smoke, switch, switchlevel/dimmer, thermostat, water
- Includes a switch in virtual devices to control device state (also useful for Alexa triggers)
- 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)
- Ability to select switch or plug icon for virtual switches
- Ability to select contact or light icons for virtual contacts
- Momentary button includes both switch and contact, plus preference settings to control on/off/revert behavior, and delay value
- Motion includes optional auto-revert back to inactive after given delay value
There is a known issue with Connect/Wifi hubs as of 11/8/21. The symptom is that the vEdge Creator device will not get created when you do an Add device/Scan nearby. Hopefully a future firmware update will solve it.
Virtual Smoke Detector devices may not show the proper state on the device dashboard. This is a known SmartThings app issue. However, the device details screen should show the correct state (‘detected’ or ‘clear’) and automation triggers based on the smoke detector state should work OK.
I’m happy to expand the list of virtual device types supported if the community finds this useful.
Please leave your feedback here!
Use this channel invitation link to load the driver to your hub: SmartThings. Add a little smartness to your things.
Enroll your hub, then display available drivers and choose Virtual Devices V2
Go to your mobile app and do an Add device / Scan nearby
This will fire up the driver and a device will be added called vEdge Creator V2
Open the new device to the device details screen. Set the quantity of devices you want to create of a given type, then select the device type and your device(s) will be created (look in your ‘No room assigned’ room).
If you have any problems, it would be helpful to get a log output, but for that you will need the CLI:
smartthings edge:drivers:installed smartthings edge:drivers:logcat <driverID> --hub-address=<hub ip addr>