First of all, apologies, as this must have been asked before and I can’t seem to find what I need. I could also be in the wrong section of the Forum.
I am looking for a virtual switch that I can detect in an Alexa a routine and I don’t seem to be getting anywhere.
All of this I’ve done mainly on the website, rather than the IOS App.
I’ve created a Device under the MyDevices section of the website and allocated it a type of Virtual Switch.
When I try and use an Alexa Routine (IOS App) I can’t find it as a trigger in the SmartHome section.
The issue you are running into is covered in the community FAQ, so you will want to take a look at that. It gives you the exact sequence of steps that you need to do to authorize the device and explains why you need a device which is both a switch and a sensor.
But the short answer for others who might have run into this is that at the present time Alexa routines (not smartthings routines) cannot be triggered by a switch at all. Only by a sensor.
What the FAQ is going to do is show you how to create a virtual device which is both a switch and a sensor. When you turn on the switch, the sensor will look like it opened. When you close the switch the sensor will look like it closed. The sensor part of the Device can then be used to trigger an Alexa routine.
It will also give you the exact sequence of steps that you need to follow in order to get that virtual device visible to Alexa routines.
(It sounds like you found the right virtual device, you just didn’t follow the full sequence for authorization the first time.)
Here’s the FAQ (the topic title is a clickable link)
You are spot when you say I wasn’t following the exact sequence.
I was fooled into thinking that changing the device type in ST, deleting it in Alexa and searching for new devices in Alexa would work. I was fooled because the trigger appears in Alexa Routines. If you don’t follow the full sequence, Alexa claims device isn’t supported.