It’s this line.
[RESOLVED] Echo Speaks duplicating announcement
Sorry for the delayed response, I will give the suggestions a try. I now realize that it is duplicating for each person that comes in the house but doesn’t change the person who arrived, only the message… Im not sure the suggestion would resolve the issue since the message is different for each person who arrives.
I don’t have any experience with webCoRE (or any other programming).
How do you get the first part of the execute? The bit with the presence sensors and the followed within 2 mins? The IF statement?
Cheers,
Rich
It starts with a regular IF CONDITION. When you add a second condition, they will be joined with an AND statement. Click on the AND statement and you can change it to an OR, XOR (which I know nothing of), and a FOLLOWED BY.
OK, yep, it’s a grouped condition. But where does that Set Variable come in? How do I do that?
For the Followed By? I’m not at my computer right now, but if it doesn’t pop up when you switch to Followed By, then I believe you click on Followed By.
Directions are in this thread. Unlocking door when someone comes home & walks in front of the Ring doorbell
I can get the Follwed By up - what I can’t figure out is this:
{
When True
With
Location
Do
Do X1 SetVariable {WhoArrived} = {BlahBlah}
End With
Etc, Etc, Etc.
Where does that When True come in? When I use the group option I don’t see any way to add that in.
Oh, I see. There are advanced settings that can be turned on and off. Upper right hand corner in edit mode
Keep in mind, your screen will get really crowded with all these on. When you’re done, you can turn them off. The ones you created will stay, and the empty ones will disappear.
Looking at it, I think I can skip the WhoArrived Variable under the first condition and change the other variable to say “Welcome Back Tracey” +random(blah, blah, blah).
Out of interest - what happens when two people come home at the same time? Does it play both or get confused?
I’ve just used that Followed By for a sequential sensor activation alarm piston.
If it works that’ll be great.
Many thanks for the assistance.
Have a fine day and a very happy new year.
That allows me to switch between two different events. If someone is arriving, it’ll play welcoming statements (if it’s me, it’ll play the Star Wars theme ). If the door is simply opened with no arrival, it’ll play different statements.
As far as multiple people, it just greets the first person, since the Arrival switch is turned off after that. I’ve considered instituting a pause to search for other people, but haven’t gotten around to it it.
That is my exact issue, if multiple people come home at the same time it announces same presence sensor but 3 different messages…
A whole car full of people may arrive home at the same second, but each individual person will be recognized by your SmartHome one by one.
With current technology, it is impossible to detect everyone at the same instant.
If you’re using the piston in this thread, and since there’s a section for each person, then change $currenteventdevice in each section to the name of each person in each section. That might help.