I was using the devices with firmware and device handler from ecrocm1231, Tasmota firmware with device handler from argiope then hongtat, and even developed a simple http button device handler for zmote IR blaster, during the groovy era.
So now it’s time to move, it took me a while to figure out how & which driver to migrate in Edge era, eventually I migrated all my devices using ST Edge driver from TAustin, so I decided to share the steps below:
After install the web requestor, you will have the “Web Req Multi Master” in your ST App dashboard (usually under “No room assigned”).
Click on the button point by the cursor (Figure 4 below) to create an instance of Web Requestor, you will find another device created with the name “Web Req Multi #” appear in your ST App.
Open the newly created device, click on the 3 dots at the top right corner, Settings, setup the value for the Web Request #1 and #2 (refer Figure 5 for example).
Open vEdge Creator V2, enter the “Quantity to Create”, select “Switch” for the type of Virtual Device to be created.
A virtual switch will be created in ST App with the name “vEdge Switch #”
Open the newly created device, click on “Routines”, “+” to add a new routine, see Figure 6 & 7 below for sample to setup on and off action.
I experimented with this method a few weeks ago but was only able send commands to outputs, have you figured out how to change the vSwitch states based on inputs?
Your driver was the first I tested but could not get it to work for inputs. I then tested the method described here but had the same problem so ended up using Mosquitto. If your Edge driver would work for inputs (contact sensors) then it would be an ideal solution.
Related to TAustin’s excellent drivers, you can also use the virtual device to post the http directly rather than setting it up in the main creator tool and referencing the pre-configured request. I found this easier when I was experimenting with these driver.
No, it’s done with the virtual switch and works with Alexa control. It is the same as your process above except don’t select the pre-configured entry but instead just enter the post or get request. It bypasses needing to save (pre-configure) entries in the multi master so with multuple devices I thought it was easier to manage but your method works.