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]

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


  • Subject: homeseer, xapconduit, tts.speak and 3 speak event by hs?
  • From: "paul6138" <paul@xxxxxxxxxxxxx>
  • Date: Sat, 19 Mar 2005 00:20:26 -0000




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











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.