WebCoRE asks a question, my voice response determines the action

text-to-speech
answer
query
voice
alexa

#142

I have it implemented and working perfectly when using a routine with a distinctive sentence. But not without saying “OK Google” first then my sentence. “Turn on Answer Yes”. If I do that everytthing works like a charm. My simswitch turn on and my other piston runs the commands.


#143

I have the same setup with my google home. Webcore asks the question through My Sonos speaker. For me to respond I say “ok google sure” Or “ok google nope”. My google home routine would then either turn on the sim switch or not which will let the webcore piston continue accordingly.

There is no other way that I know of to answer the question without first saying ok google.

In your case it sounds like the question is being asked through google home via the broadcast feature. Even then I think you will always have to respond with ok google first. The only thing I can think of is turning on continued conversation in the google home app to see if that lets it listen for your answer without having to say ok google.


#144

All excellent responses… It makes me happy to see this in use by so many others. :sunglasses:


Alexa and Google Home require a “wake word” to begin listening…
(“Alexa” and “OK Google” respectively)

Once the microphone is awake, then send the verbal command to turn on either Answer Yes or Answer No. WebCoRE will take over from there.


#145

I need some inspiration to use this more. My creativity has become drained recently lol.

What are some things you’re using it for @WCmore?


#146

Here are a few ideas from earlier in this thread…

… just to mention a few… :sunglasses:


#147

Thank you again @WCmore for this great idea! I came up with another interesting use and wanted to share.

My Scenario
I have my Smart Home Monitor armed at night for all doors and have it turn off automatically at a set time in the morning when I am home, however sometimes the dogs get me up earlier than the time set to disarm and I take them out through the basement and always forget to disable the SHM, triggering the alarm.

MySolution
IF my presence is detected at home and I enter the basement while the SHM is armed(stay) the motion detector picks up motion, triggers Alexa to ask me if I would like to disarm the SHM, I simply respond with my custom Alexa routine.

Example…

Half asleep I stumble into basement, Alexa says, good morning, would you like me to disable the Alarm?

I respond with Alexa, yes, alarm code one two three four

That’s not the real phrase (my luggage pin though), but allows me to keep a somewhat “secure” code to it so a simple yes from anyone will not disarm it.


#148

Not a bad idea at all @itg… You could “beef” it up a bit by also adding a time restriction. (IE: only if between 5 and 6am) This would prevent it from being used at other times…


For awhile, I was contemplating using a rolling password that changes every day, so that even if someone overheard one, that password would not be re-used for at least 7 days…

The trick is coming up with some sort of internal method (mnemonic device) to remember the current password, LOL

Shoot me a PM if you want a few ideas…
(Warning: Code has to be added for each and every password, so it’s not quick)


#149

sorry, drawing a blank here but where does a code come into play for changing SHM state?


#151

I use the code as part of the Alexa routine so that if an intruder triggers the motion instead of me, they simply can’t say Alexa yes, or yes to disarm it.

The “code” is essentially the Alexa routine’s “When you say” portion which will trigger the virtual switch I created specifically for this, not the standard Alexa yes virtual switch.

For example:
A routine that is “When you say” Yes, code is four four four five nine seven two (or whatever you want it to be.) When Alexa gets the right response she will trigger the virtual switch which will disable the alarm. Wrong response and it repeats, no response and it repeats. If door is opened and SHM is not disabled, it would trigger the alarm.

I could also trigger alarm with no response / improper response, I have not done that yet though. I will see how this works for me first.


#152

The time restriction is a thought, but sometimes it could be in the middle of the night so I left that out. The rolling password would be good, but I fear I would forgot which password I am on! No tricks can help this memory! LOL


#153

One other thought for a bit more security…

If you normally go straight from the bedroom to let the dogs out, you can add a conditional statement that checks to see if the bedroom motion is still active before asking for the password. If the bedroom is inactive, then it can go straight to the alarm mode.


Essentially, I usually try to find a pattern with the user’s routine, and then use another condition to verify that it is indeed you opening the basement.


#154

Oh this is good. I read to the bit I needed and I’ve set a Piston using EchoSpeaks.

When my Study PIR detects motion She who shall not be named now asks if I want to hear music - I answer yes and she searches for music and automatically plays it! Nice.

I used the Boolean variable thing to prevent Madam from asking again.

Seems to work nicely.

I will have to try this with other Pistons!

Thanks


#155

Found a problem with my version - it worked earlier but won’t now. The Boolean variable defaults to ‘True’ in the Defined section and won’t ask the question. If I manually set it to false then every time I move she asks if I want to hear music!

Here is a screenie of my Piston:-

Any ideas?

Rich

Edit

Figured it out, the final Statement - Set Variable = False - should not have been nested with the others. It needed to be in it’s own statement.


#157

You might have already tweaked it… but just so you are aware…

Piston n6pz has one trigger: Motion Sensor 2’s motion.

This means the piston will run top to bottom each time the motion changes to active or inactive.


#158

Yeah, I tweaked it and now it works perfectly thanks.


#159

@WCmore

As of today, when I say, “Alexa, Yes” or “Alexa, No” in response to a programmed question/response/action as discussed in this thread, my Alexas now say, "Sorry. This phrase is no longer supported. Please go to the Alexa app to choose another phrase."

I’ve now changed my Alexa routines to listen for, “Yes, please” and “No, thank you”. We’ll see if that works OK. I think Echo may be reserving ‘Yes’ and ‘No’ for responses to questions IT asks.


#160

Alexa has blocked many phrases lately. I am trying to think of a natural phrase to replace “Alexa Yes” and “Alexa No”…


Thankfully, the only edit required is in the Alexa Routine…

IE: Change the words highlighted below:


#161

I agree that it is easily corrected to something of your choice. I’ve changed mine to “Yes, please” and “No, thank you” to see how those work out.


#162

Did they work?


#163

They work fine as far as Alexa, ST and WebCore are concerned. I was speaking of how they’d work from a memory and flow standpoint for my wife and I. So far, so good for us too.