I have just discovered the Groovy IDE and also the fact it is being phased out .
This is not good, since I have also just discovered how useful virtual devices are and how to use them in an automation.
My questions are:
What happens to devices created on Groovy IDE after its phase-out ?
Will the devices I created using Groovy IDE still exist on the platform and my hub after it is retired?
Will the devices and the incorporating automations still exist and work after Groovyâs retirement?
Will I still be able to create virtual devices, and how may I do this?
These are all questions that are of concern to me as a new user.
Can anyone help me with answers to these ?
Thanks
MarkTr
(MarkTr)
March 5, 2023, 1:04pm
2
1,2, and 3 are all essentially the same question. ST hasnât announced how virtual devices will transfer to Edge - they can be created in several ways (official and unofficial) and the answer may not be the same for all of them. They will most likely continue to exist but may not function as expected if theyâre assigned to a driver that doesnât have the same capabilities.
3 - if the old virtual devices are deleted, your automations that rely on them may go away with them.
If you donât have too many, since it sounds like youâve just started setting them up, the easiest thing would be to create new virtual devices on Edge and swap them out in your automations.
4 - There are a number of different virtual device drivers available, some for specialized purposes. For general use, here are a couple of popular ones:
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âŚ
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 âŚ
Some general reading on Edge and the transition if you arenât fully up to speed yet:
As of September 2023, SmartThings has now almost completed transition to a new architecture, part of which is called Edge.
The Samsung-hosted free groovy cloud gradually went away beginning on September 30, 2022. For hub-connected devices, including Zwave and Zigbee, the DTH replacement will be Edge Drivers, which are written in the Lua programming language and will run locally on your own hub.
IF YOU ARE NEW TO SMARTTHINGS
If you are new to SmartThings, the basics of the SmartThings architecture are pretty simple:
A) An âEdge Driverâ is code that runs on your SmartThings/Aeotec hub so the hub can talk directly to an individual device. If you donât have a hub, you can skip all the rest of this thread: it wonât apply to your setup.
B) If your device uses a âcloud to cloâŚ
1 Like
In addition to the answers @MarkTr already gave you, see the following community FAQ. Itâs especially important if you donât have a SmartThings/Aeotec hub, but useful in any case.
FAQ: Creating Virtual Devices with the new architecture (Without the IDE) (2023)
1 Like
Thank you both for your very useful and informative responses.
The learning curve is steep
So⌠onward and upwardâŚ
1 Like