How to trigger Alexa Routine from Hubitat

Just to revive the question..... I have created a virtual switch, a virtual contact, a virtual lock, AND a virtual motion sensor in Hubitat and shared them with Alexa. However, whenever I try to use them as a tigger in Alexa, I get the error, "This Device is Currrently Not Supported"

All I want is to use it as a trigger in a routine. Is that just not possible from HE?

The virtual contact and virtual motion sensor should definitely work as triggers for Alexa routines (I've used them). The lock should work, but I've never tested it. The virtual switch will not work.

Finally got it. Apparently took it more than 20 minutes to sync up as the right device type.

Not really familiar with Alexa. Just using it for 2 routines as that is the only way to get the Bose Portable Smart speaker to directly play music from a specific source without opening the bose music app on my phone

2 Likes

So, I have been able to create a virtual contact sensor to trigger an Alexa routine to turn on and off a Feit Wifi Light bulb. In the Device, if I Open or Close it, the light goes off and on.

The thing i cant figure out how to do is to put a button on dashboard that does activates the virtual device. If i use the contact sensor template, the button reflects the sate of the virtual device but does not let you change it. If I try to use a different template, I haven’t been able to get it to work.

Any ideas?

Many thanks in advance.

The easiest way I know is to change the Driver Type for the Virtual Contact Sensor to one like the following. This driver implements both the Contact Sensor and Switch Capabilities, which will make it much simpler from the Hubitat side to treat is just like a "Switch" device, while Alexa will see it as both a Contact Sensor (for triggering Alexa Routines) and as a switch.

5 Likes

Worked like a charm! Thank you for the very quick response.

Great work and one more reason Hubitat is great.

Thanks again,
Luis

3 Likes