Hi there, I’m SUPER new to the whole idea of the SmartThings developer IDE but I’m trying to find a way to get certain Alexa routines to turn off when I’m not home. For example, I have an Alexa routine set up to wake me up in the morning, but there’s certain nights where I’m not at my apartment and don’t need the routine to play in the mornings unless my presence sensor is set to arrived. Has anyone figured out a way to do this? I know the Alexa app doesn’t even recognize the SmartThings presence sensor so I guess that would be a good place to start. Even so, I’m unaware if there is even a way to trigger a sequence that has the ability to turn an Alexa routine on and off without me having to go into the Alexa app and turning it off manually. Essentially, I’m looking for a way for this to happen:
If: device > presence sensor > status = arrived
then: turn on routine > ‘Wake up’
If: device > presence sensor > status = away
then: turn off routine > ‘Wake up’
I don’t want to change my routine from the Alexa app to SmartThings because I have Alexa set up to say certain things and play my morning news broadcast as well as control the lights. I just don’t want her to do so without me being home.