dupa

Author Topic: X10 capability with hal using homeseer  (Read 3846 times)

lostbowyer

  • Full Member
  • ***
  • Posts: 105
    • View Profile
X10 capability with hal using homeseer
« on: October 06, 2003, 10:18:54 am »
There has been a few requests from people to have the ability to turn x10 devices on and off from hal. I currently don't have any x10 devices, although I am considering some for my observatory, I noticed a way to make it work if you are using the homeseer program (www.homeseer.com) It's not a free utility ($159) but I understand it is very popular among x10 users. What caught my eye was the free command line utility download to use with homeseer. This gives you the ability to run the command line utility, and pass variables to homeseer to control x10 devices.

I realized that by modifying the mywebhal.uhp file, I can setup a line that would look for keyword lets say "turn on light a40" then instead of a url run command, you can insert the command line utility with the required variables. When the match is made, hal will execute the run time utility with the code to execute the desired effect, in this case turn on a light. I've done some basic testing and I am able to run executables from the mywebhal.uhp.

This will require manually editing the mywebhal.uhp for each x10 device, but it appears it will work and give you control of x10 devices from hal.

Glenn
 

Medeksza

  • Administrator
  • Hero Member
  • *****
  • Posts: 1469
    • View Profile
    • http://www.zabaware.com
X10 capability with hal using homeseer
« Reply #1 on: October 06, 2003, 10:37:25 am »
I have done a quick google search for "activex x10" and came up with the following pages: http://www.gunnsys.com/home-automation/x10-activex.html and http://www.futurehometech.com/prod03.htm and the Homeseer page you mentioned also has an activex control on the bottom of http://www.homeseer.com/downloads/index.shtml#hsactivex

VBScript can use ActiveX (see the createobject command in Hal's script to see how the file HalBrain.DLL is accessed) and would probably be a more powerful way of using the X10 system.

Also if you want to run commands you don't have to use the mywebhal.uhp file, you can use the standard script. Simply return the text "<run>file</run>" as part of Hal's GetResponse. The reason you should stay clear of the mywebhal.uhp file is that if Zabaware updates the mywebhal.uhp file sitting on the Zabaware.com server your Hal will overwrite your custom mywebhal.uhp with Zabaware's new one.
Robert Medeksza

vonsmith

  • Hero Member
  • *****
  • Posts: 602
    • View Profile
X10 capability with hal using homeseer
« Reply #2 on: January 20, 2004, 05:10:50 pm »
It has been a long time since the original posting of this thread. Has anyone successfully got x10 devices running with Hal? It seems like a cool idea.


= vonsmith =
 

spydaz

  • Hero Member
  • *****
  • Posts: 670
    • View Profile
    • http://www.spydazweb.co.uk/
X10 capability with hal using homeseer
« Reply #3 on: May 15, 2004, 02:11:16 pm »
Searching the forum AND FOUND an interestinG POSTING