How do I create TTS announcements when multiple contacts change state with elegance?


#1

1) Give a description of the problem
How do I perform this for multiple contacts

2) What is the expected behavior?
I only have one contact but want to do many

3) What is happening/not happening?
Need to have a way to store multiple contacts
4) Post a Green Snapshot of the pistonimage

5) Attach any logs (From ST IDE and by turning logging level to Full)
No logs at this time


#2

Is this what you are looking for? All you need to do is add your contacts into the variable at the top. I do not have any speakers so you would need to change the action from log to console to using your speakers by just copying what I have written into the value box.


#3

thanks @c1arkbar! Exactly what I’m looking for. There are probably lots of examples of this, but haven’t been able to track them down easily. Appreciate the help!


#4

what good is logging? as oppose to other manners (notification …)? Do you get notified with logging?


#5

I only used the log to console command because I don’t have a speaker that I could use. So it’s just a place holder this time.

Logging to console is just saying print this in the webcore logs.


#6

This doesnt seem to be working …


#7

I keep getting invalid variables …


#8

You are missing square brackets on the part that says open/closed


#9

ahh. Thanks. How does one put verbiage in between variables?


#10

Paste this into the value field not the expression field.

{$currentEventDevice} is now {[$currentEventDevice:contact]}


#11

well that did it. Thanks @c1arkbar. Seems confusing to me … but appreciate the help!


#12

If you don’t mind can you post the piston so I can see what the final version looks like?


#13

It’s posted here but instead if log to console it is using a speaker with the same action as my log to console


#14