This function speaks some text after being handled by a speaker proxy program or plug-in.
This command passes along speak commands received from HomeSeer as a registered speaker proxy handler, and this is where the values for the parameters are provided. Therefore, this command is generally NOT used by a script and is primarily for plug-ins and applications.
Parameter: device
Type: long (.NET Integer)
Description: This is the sound device ID number for the TTS to be spoken
at.
Parameter: text
Type: string
Description: This is the string you want to speak. It
may also be the complete path to a WAV file to be played.
Parameter: wait
(boolean)
Type: boolean
Description: If set to TRUE, the function will not return until the system
finishes speaking. This
is useful if you are switching between speaking and listening. You
cannot listen and speak at the same time on some systems. If
this parameter is missing, the system will not wait.
Parameter:
host (optional)
Type: string
Description: Leaving this a null string will apply the command to the first
instance HomeSeer finds, otherwise use the hostname of the computer for
this command. If
more than one instance of the Speaker application is running on "host"
then you may need to specify the instance as well in the format host:instance.
None.