You would use alexa helper to run the routine when you turn on that virtual switch.
Using a virtual switch to lock door alexa.
Scroll down and tap the smart lock that you want to be able to unlock with your voice.
Thanks for the info.
Now you can use amazon echo to say alexa turn on the garage door lock which will turn on the button tile which in turn will lock the specified lock.
Then create a smartapp in groovy or core to lock the door when security is on and unlock it.
Still need to setup the alexa integration.
Tap edit in the top right corner.
Once i do that will see if i can get any virtual switches recognized by alexa so i can use them as a trigger.
Tell alexa to lock unlock or check the status of your front door.
You could create a virtual switch in alexa helper and tie that switch to a rule in rule machine to control the lock.
Alexa lock the front door alexa unlock the front door alexa is the back door locked when asking alexa to lock or check lock status you must use the name of your lock as it appears in your smartthings app i e.
Tap the unlock by voice toggle switch to turn the option on.
Action april 3 2016 1 20am 10.
I do have mine tied to lock for routine goodnight with a virtual switch from alexa helper.
Select smart home from the menu.
I just tried this and it works.
Just log into the ide and go under my devices add device then select the new virtual device type and fill in the required fields.
You can even tell it which echo you want to speak.
As far as i can see door switches seem to work.
To start fire up the alexa app and then tap the menu button in the top left corner of the screen.
Went into the alexa app and created a routine that says front door open whenever the door sensor is activated.
Clarkeng65 steven clark october 4 2017 8 01pm 6.
Make up whatever you want i used a 6 digit hexadecimal string for the network id.
Install this app and select your new button tile virtual device and a lock device.
The contact and motion sensors are automatically populated in the alexa app.
You would then be able to tell alexa to turn on the virtual switch.
The latest 4th generation lock also includes wi fi and bluetooth built right in so you no longer need a separate hub.
This will link the on off state of the button tile to the locked unlocked state of the lock.
You can create a virtual switch called xxxx security front door security back door security etc.
This lock offers total control.
The only reason i didn t mention this before is as i said i don t have a garage door controller and i don t know whether you can put one into a routine or not.
It won t be lock unlock but on off.
At this time alexa does not support scenes with lock devices and groups with locks added.