www.homeseer.com

Go Back   HomeSeer Message Board > HomeSeer > Home Automation Software > HomeSeer HS2™ Specific

HomeSeer HS2™ Specific General discussion about HomeSeer HS2.

Reply
 
Thread Tools Display Modes
  #1  
Old March 3rd, 2010, 06:25 PM
bacoxswain's Avatar
bacoxswain bacoxswain is offline
Seer
 
Join Date: Aug 2009
Location: Groton, CT
Posts: 15
Question Speaker Client as a condition

Is it possible to make a condition based on the 'host:instance' data passed from the speaker client? IE: the Living Room speaker client hears and passes "Turn on the TV" and the living room TV turns on because an If/ELSE/Then statement exists somewhere in the event script similar to the following:

DoEvent Turn on the TV

IF from LivingRoom:Speaker
THEN DoCMD LR_TV_ON ELSE Sub1

Sub1: IF Command "Turn on the TV" from BedRoom:Speaker
THEN DoCMD BR_TV_ON ELSE Sub2

Sub2: IF Command "Turn on the TV" from BathRoom:Speaker
THEN DoCMD BATH_TV_ON

END Sub
END

Is it possible? If so where can I find guidance on how to write the scripting in an appropriate fashion?

Thanks in advance for the help!
Reply With Quote
Reply

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


All times are GMT -4. The time now is 09:17 PM.


Copyright 1998-2008 HomeSeer Technologies, LLC