Audio alert: speak device name for Wifi Speaker


#1

I am creating a simple piston to alert me when an external door in the house opens using a Samsung Wireless Multi Room speaker.

The piston is using 5 different contact sensors and I would like it to say ‘Front door open’, ‘Back door open’, etc.

I am able to get it to play audio messages when these events occur but I am unsure how to pass in the device name?

Any tips would be great. I am new to WebCore but so far it looks outstanding.


#2

$currentEventDevice


#3

Thanks very much. Excuse the ignorance but what syntax do i need. ATM, the line of as below and she is literally reading ‘dollar current event device’ :roll_eyes:

Speak text “$currentEventDevice” and resume;


#4

{$currentEventDevice} – enclose variable names in curly brackets.