Is anyone passing arguments from Michael Struck’s Ask Alexa to WebCoRE? I currently have a piston that will suspend LANnouncer announcements for one hour. This is used to silence “motion was detected” announcements when my outside cameras sense motion but it’s actually blowing snow. All the piston does is set a variable that determines if announcements are made to false, waits one hour, and then sets the variable to true so alerts are generated again.
I’d prefer to say something along the lines of, “Alexa, tell the house to suspend motion alerts for x hours.” Ask Alexa would pass the value of x hours to WebCoRE and the piston would then wait for x hours and then set the announceMotion variable to true. It seems simply enough but I can’t figure out how to pass the “x hours” value from Ask Alexa to WebCoRE. If anyone has one, an example piston would be greatly appreciated.
I’ve attached a screenshot of the piston I’m using now. I just need to figure how (if it’s possible) to pass a value and use that instead of wait 1 hour.
Thanks for any suggestions anyone has.