Here’s the scenario. I have several window contact sensors, and I’d like to be able to do something like “alexa, ask home if the windows are closed” and get output from alexa like “they’re all closed” or “the master bedroom window is open.”
Now, polling sensors with webcore is super easy and I’ve actually written a piston to poll and use logic to list which sensors are open. I can also call this piston from alexa via ask alexa, which again is easy. What I’m missing is the ability to get alexa to give me a report on what’s open. It would be nice to just have a parameter like xParam that could be passed back to ask alexa, which I could populate with the piston and just call it as a custom acknowledgement message, but as best as I can tell this is a one way street.
Other ideas would be to write a virtual sensor that polled all of the sensors in question but gave back input in the form of which windows were open.
Has anyone played around with functionality like this? Note that just hooking up an external supported speaker is out of the question unfortunately. If it were that easy I’d have already done it.