Virtual Switch, Alexa and Ifttt

Yep, all of this. And here’s the link to the FAQ discussing how to create a virtual device that can be used in Alexa to trigger routines:
https://community.smartthings.com/t/faq-can-i-trigger-an-echo-action-without-speaking-to-it/117918

As I posted in the other thread, you simply need to add one of the following to the metadata in the device handler:
capability “Thermostat”
capability “Contact Sensor”
capability “Motion Sensor”

Which one you use is up to you, but be aware that this will enable commands that won’t do anything, and potentially result in confusing answers when you query Alexa about them, so choose wisely.
Once you do that, use the SmartThings app to give permission to Alexa for those devices (classic app would be Automation > SmartApps > Amazon Alexa > Device Authorization, don’t remember offhand where to do this in the new app). Once that is done have Alexa discover devices again.

2 Likes