HSTouch help

pittom

Active Member
Hi, I have a CAI Webcontrol running my home automation now and just got hoomeseer and HSTouch designer and trying to get the Web controller to work with HS touch. The Web controller uses HTTP commands to get data and send data
This gets data like temperature and outputs on or off. Http://IP address/geto1.cig
And this sends out data to turn output off or on. Http://ipad dress/API/setttloutput.cig?output=1&state=0
I can get temperature output okay but I do not know where to put the command to turn the output on or off. I've been looking for two days but cannot figure it out can someone help
Thanks Tom
 
Tom,
 
What version of Homeseer / Homeseer Touch are you using?
 
Here still using HS2 / HSTouch designer.
 
I have HS3 Pro / HSTouch designer and have only tried it but not using it yet.
 
Might be easier too to post on the Homeseer Web site. 
 
Here still using some HS Touchscreens. Running one line script statements will work for you.  You put these in the text boxes.  Well that is what I am doing.  Personally just poll variables status (like you do).
 
Test first by using the HS2 event GUI script by line thing.  Once validated to work then try to use same script line in HSTouch.
 
IE: here is a one line command for (googled it) a media player "play" command using IR and Homeseer 2
 
Quickie best guess relating to what you want to do.  You can make the button look like anything really.
 
You can also just create a script with variables and call the script with one line and change the variables if you want.
Code:
&HS.GetUrl("http://10.0.0.8/cgi-bin/do?cmd=ir_code&ir_code=B748BF00","",True,80)

Http://ipad dress/API/setttloutput.cig?output=1&state=0

&HS.GetUrl("http://ipad-address/API/settleoutput.cig?cmd=output=1&state=0","",True,80
 
Back
Top