I’ve been hands-off with Smartthings for a while, so much that I am completely out of the loop. Now I need to create a new custom device that sends a HTTP request on the local network (I was going to do this as a virtual button), but I have no idea how to do this now without the IDE or groovy. Is this still possible? Basically, I just want a virtual button that when pressed will send an HTTP request. I can then add this to custom automations (this is an animal feeder I just made, so I need to automate it dispensing food twice a day).
DTHs will be replaced with Edge Drivers.
Start with this FAQ:
FAQ: I have no idea what Edge is. Is that a new developer tool? (2022)
Then go to the quick browse list of community – created edge Drivers and look for the Miscellaneous Function list, there are some there that may already do what you want.
Also, separately, if you just need a virtual device, here’s a clever edge driver:
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 sw…
See if this edge driver from
@TAustin will do the trick:
I have a new Edge driver to share that provides the ability to issue POST and GET web requests to a specified URL. This functionality can help users that may today depend on webCoRE or other cloud-based means to do a similar task. Of course being an Edge driver it enables you to have fast & local automations.
There are two ways this driver can be used:
Pre-configure up to 50 different POST/GET URL strings, which can then be individually triggered through Automations/Rules or via a button in the mobile app.
Issue custom URL POST/GET commands from within a Rule
>>>>>UPDATE: Please go to
this readme file for the latest instructions
Although GET method is supported, it currently does not actually do anything with the returned data from the server. I’m open to ideas he…