[RESOLVED] Echo Speaks duplicating announcement


#9

It’s this line.


#10

Ha, silly me. He updated the original pic when he posted piston BJ84


#11

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.


#12

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


#13

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.


#14

Are the conditions in a group?


#15

OK, yep, it’s a grouped condition. But where does that Set Variable come in? How do I do that?


#16

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


#17

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.


#18

Oh, I see. There are advanced settings that can be turned on and off. Upper right hand corner in edit mode


#19

That’s the little swine I was looking for - thanks :+1:


#20

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.


#21

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).


#22

Out of interest - what happens when two people come home at the same time? Does it play both or get confused?


#23

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.


#24

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 :smiley: ). 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.


#25

That is my exact issue, if multiple people come home at the same time it announces same presence sensor but 3 different messages…


#26

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.


#27

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.


#28

I was able to resolve by using a separate variable for each persons presence message.