Jeff,
Thanks. I should have figured that out, but as you indicated, much of the documentation or lack there of is a little short on details.
Since the script is a plain text, not .vb, it didn't like the parens. But it worked with the addition of the host.
Gardner
Announcement
Collapse
No announcement yet.
ListenForCommands error
Collapse
X
-
Try this but Replace HomeGamerefault with the name of your speaker client.
hs.ListenForCommands (False, "HomeGamerefault")
As a general rule always add the parens around the parameters in HS3.
And in this case the scripting docs forgot to put the parameter for the Host that you are trying to set the listen option for.
Leave a comment:
-
ListenForCommands error
This script is straight from the docmentation.
sub main()
' listen only for attention phrase
hs.ListenForCommands FALSE
end sub
For some reason it fails with the following error:
Running script, script run or compile error in file: C:/Program Files/HomeSeer HS3/scripts/Listen_Test.txt5:Invalid procedure call or argument: 'hs.ListenForCommands' in line 4 More info: Invalid procedure call or argument: 'hs.ListenForCommands'
Does the syntax need to be altered for HS3? I did try several things but nothing helped.
Gardner,
Current Date/Time: 2/16/2016 11:53:20 AM
HomeSeer Version: HS3 Standard Edition 3.0.0.208
Operating System: Microsoft Windows 7 Home Premium - Work Station
System Uptime: 1 Day 22 Hours 13 Minutes 49 Seconds
IP Address: 192.168.1.30
Number of Devices: 206
Number of Events: 23
Enabled Plug-Ins
3.0.0.14: Applied Digital Ocelot
3.0.0.17: iAutomate RFID
1.0.0.11: Random
3.0.5579.15955: Ultra1Wire3
3.0.0.36: X10
3.0.1.25: Z-WaveTags: None
Leave a comment: