Multiple TTS Commands on Amazon Echo Control Binding all at once

(Justin B) #1

I have been playing around with the Amazon Echo Control Binding getting notifications with TTS after rules are completed. I got everything working, the only problem is when I send commands to multiple echo dots at once, i receive errors sometimes and it skips the TTS command to random echo dots. How I got them all working and no error, is staggering them with the sleep command by 2 seconds. Does anyone know if there is a way to send one message to all echo dots defined in a group so they will all notify at the same time instead of staggering them?

Thanks for the help!

(CM6.5 H102) #2

Use a bunch of sleep commands is not a good idea. Here’s a link that may help.

(Justin B) #3

That was just what I was looking for, thanks!

btw, why is it not a good idea to use a bunch of sleep commands? I use them a lot in some of my rules and want to know why its not good. Thanks again!