I’m really getting into Stringify and am planning a way to use Alexa commands to control my house based flows.
What I want to do is use Alexa as the trigger as my whole family are comfortable saying ‘Alexa do this / that / the other’ rather than have buttons or widgets or rely on me to trigger things off.
I’ve got hue lights, Arlo cameras and various smart plugs and flows that will respond according to the status i tell Alexa, ie
‘it’s bedtime’ will turn off the plugs, arm the camera and dim the lights etc.
‘Going away’ will be the holiday default so arm cameras and have lights coming on at various times etc.
So, what I want to know from you lovely people is how best to run this in terms of variables. I know I could use the mode thing but it only has 4 options and I need more functionality than just home/away/ awake/asleep.
Do I have each Alexa command update one variable, say ‘house status’ with a status word - home / away / bedtime / daytime / etc etc as needed and then each Stringify flow simply starts with a trigger of ‘if variable ‘house status’ is x then run flow y
Is it better to have a different variable for each Alexa command status, ie away = true / false, holiday = true / false, bedtime = true / false and then run flows accordingly.
I suppose I’m trying to avoid having hundreds of flow ‘ifs’, and just have flows that run from one variable and act accordingly - or am I trying to be too cute at the start and will run into longer term difficulties this way?
Any help would be greatfully received.