Go Back   HomeSeer Message Board > Audio / Video and Infra-red (IR) Plug-ins > Audio / Video and Infra-red (IR) Discussion > AirplaySpeak

AirplaySpeak This plug-in is a Speak Proxy which allows Homeseer to route annoucements to AirPlay capable devices such as an AirPort Express

Thread Tools Display Modes
Old October 25th, 2016, 01:33 PM
Rube Goldberg's Avatar
Rube Goldberg Rube Goldberg is offline
Seer Deluxe
Join Date: Apr 2002
Location: Centreville, Va, USA
Posts: 158
Adding a chime before speaking

Just started using the plugin and appreciate it.

I would like to have a chime sound before spoken announcements so have successfully done this as follows:

In each event with an announcement I have TWO speaking items; first is to play a chime file and second is the actual spoken announcement. This works fine with minimal delay to play the chime followed by the spoken announcement.

Now to get fancy and to avoid having two speaking items in each event I thought - why not use the "Event Before" option on the plugin so I did the following:

1) Setup an event called "Chimes" that only plays the file with the chime. This works fine when the event is executed by itself.

2) Set up my announcement events that only speak the specific announcement. These work fine when executed on their own.

3) Added the "Chimes" event in the "Event Before" option on the Airplay configuration page. - now is where it goes off the tracks...

After doing step 3 above - when an announcement event is run there is a very long delay followed by the announcement occurring first and the Chime playing after.

It seems that maybe I created some kind of recursive call with the method that really slows things down and that gets treated like a stack - where the last event pushed down is first event poped back up so that the execution is reverse of expected.

Any thoughts on accomplishing what I was aiming for or should I just give-in and go with the less elegant approach of two speak items in each event (chime and spoken announcement)?

Rube Goldberg - accomplishing by complex means what seemingly could be done simply
Reply With Quote
Old October 25th, 2016, 02:21 PM
AgileHumor AgileHumor is offline
Seer Deluxe
Join Date: Sep 2013
Location: San Diego
Posts: 264
My event actions for this are:
* Play Wav File - Set Advanced Option (Red Square) and select "wait for playing to finish:
* Speak Text - Optionally set to wait for speaking if it's critical. Sometimes, you want info events to not always require the speaking to complete before next event can speak (i.e. batching).

Also, try experimenting with them as priority events if that doesn't work.

PS - Sometimes I just want the first few seconds of the Wav file, but keep it running while I speak. Then I'll do the event actions of:
* Play Wav File X
* Wait 3 Seconds
* Speak X
Reply With Quote
Old October 25th, 2016, 04:53 PM
Rube Goldberg's Avatar
Rube Goldberg Rube Goldberg is offline
Seer Deluxe
Join Date: Apr 2002
Location: Centreville, Va, USA
Posts: 158
Thanks Agile. Just to clarify - are you using Airplay for the events you described? The reason I ask is that for me to get an audio file to play via AirPlay I have to use the "Speak" action with a filename in the text box; the "Play File" action does not seem to work on my AirPlay devices.

Also, as noted, yes when I put the two Speak actions (Chime and announcement) into the same event they work fine it is when I tried to use the "Before Event" setting in the AirPlay Config page to speak the Chime that I was unsuccessful.
Reply With Quote
Old October 25th, 2016, 05:05 PM
spud's Avatar
spud spud is offline
Join Date: Jan 2012
Location: Canada
Posts: 5,115
I think Agile use the standard HS Speaker clients rather than Airplay speakers. As you noticed, the Play File action doesn't work with the Airplay plugin (or with any other plugin) because it can't be overridden by a plugin (only the Speak action can)

As you correctly guessed I think having a Speak action in an event used as the "Event Before" option causes a recursive loop so I don't think it can work. Right now the only way of doing what you want that I can think of is to go with 2 speak actions in each event.
Reply With Quote
Old October 25th, 2016, 11:38 PM
Rube Goldberg's Avatar
Rube Goldberg Rube Goldberg is offline
Seer Deluxe
Join Date: Apr 2002
Location: Centreville, Va, USA
Posts: 158
Spud, thanks for the quick reply. I'll just stick to the double speak actions in the events - no problem. Hopefully this thread will save others some time before they try and get creative like I did with the "Event Before" setting.

Still a happy plug-in user!
Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
General pointer needed: adding camers and speaking output mlevin77 Audio / Video and Infra-red (IR) Discussion 0 August 10th, 2015 07:50 AM
Chime dcdelong Vista Alarm Plug-in (3P) 1 October 30th, 2013 07:41 AM
Chime On / Chime Off: requesting ideas for discreet commands jono BLDSC (3P) 4 November 27th, 2011 05:46 AM
Chime Status ka7gzr Caddx (3P) 4 March 17th, 2006 09:04 PM
Speaking of adding cameras.... kschorz HomeSeer General Discussion Area 3 October 2nd, 2004 10:19 PM

All times are GMT -4. The time now is 05:25 AM.

Copyright HomeSeer Technologies, LLC