The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024


[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]

Re: homeseer, xapconduit, tts.speak and 3 speak event by hs?




Hi,

The tts.speak messages are normally received by xAP Speech but the
HomeSeer plugin can also receive these and speak them. What you are
seeing here is the plugin receiving 3 messages from the xAP network.
The usual cause of this is a xAPFramework hub being used with multiple
network cards, it easy to fix you just need to add a couple of lines to
it's .config file. (Firewire, bluetooth and ir receivers are all
'network' cards in Windows) .Stuart posted a how to on this here

http://groups.yahoo.com/group/xap_automation/message/563

assuming this works and you also don't want HomeSeer to speak these
messages the you need to target the tts.speak message. To do that you
simply modify the last line to this, where PCNAME is the name of the pc
running xAP Speech.

hs.plugin("xAP Conduit").sendxapmessage
"tts.speak",body,"mi4.speech.PCNAME"

Hope that helps

James




paul6138 wrote:

>
>I have homeseer 1.7.30 and xap plugin test3 - downloaded via a link
>form this board.
>
>I run the example script below - and another machine on the network
>runing xapspeech says the "Phrase" - good that's what is
supposed to
>happen.
>
>The odd thing is the homeseer server also says the phrase - 3 times -
> as shown by the attached clip from the log.
>
>19/03/2005 00:08:27~!~Speak~!~This is a test of ZAP Speech
>19/03/2005 00:08:27~!~Speak~!~This is a test of ZAP Speech
>19/03/2005 00:08:27~!~Speak~!~This is a test of ZAP Speech
>
>Have I missed a config step?, have I got something wrong in the
>script or am I simply losing my mind?
>
>Any help appreciated
>
>Paul
>
>Sub Main()
>	Dim phrase
>	phrase="This is a test of ZAP Speech" & vbcrlf
>	call xap_speak(phrase)
>
>End Sub
>
>Sub xap_speak (message)
>
>Dim body
>
>	body="tts.speak" & chr(10)
> 	body=body & "{" & chr(10)
>	body=body & "say=" & message &  chr(10)
>      body=body & "volume=75" & chr(10)
>      body=body & "Priority=no" &  chr(10)
>	body=body & "}" & chr(10)
>
>	hs.plugin("xAP Conduit").sendxapmessage
"tts.speak",body
>
>End Sub
>
>
>
>
>
>
>
>
>
>
>Yahoo! Groups Links
>
>
>
>
>
>
>
>
>
>
>





xAP_Automation Main Index | xAP_Automation Thread Index | xAP_Automation Home | Archives Home

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.