Re: Use Web Interface to control things other than X10

99 views
Skip to first unread message
Message has been deleted

Brad

unread,
Feb 6, 2013, 8:36:28 AM2/6/13
to domusli...@googlegroups.com
Since heyu can execute scripts and programs through it's script capabilities. These can be triggered by a house code command. This setup would be inside the heyu config as domus.Link does not have a facility for creating these but can control it based on an alias and script. Refer to the heyu documentation to learn how to do this. No code needs to be modified to support it.

Brad

On Tuesday, February 5, 2013 12:34:01 AM UTC-6, Mysticle31 wrote:
Hey guys.  I've been working on a home automation system and now I need to control it. 

Part of my system is X10 the other part is a serial relay board with wires soldered to a rotating code door lock remote that allows me to lock and unlock my door by executing python scrips on my PC.   I run unlock.py/unlock.exe and it will trigger the relay which simulates a button press on my remote which unlocks my door.  I have this for my garage and gates and ceiling fans.  

Can I incorporate this into Domuslink somehow?  All I would need to do is create a button that would run the scrips/exe files that I already have and throw it on the webpage with all of my X10 stuff.

How does the webserver work?  Can I create shortcuts to specific webpages/commands to run on the webserver that will allow control of the device without going into the webpage?  For example going to 192.168.1.34/office/desk_light would toggle the desk light.  It would be great for quick links on the android home screen.

Yes I can tinker and program, so I'm not afraid of the work just investigating the possibilities :)

Steve Wales

unread,
Feb 6, 2013, 9:08:06 PM2/6/13
to domusli...@googlegroups.com
Hmm...  That is a good idea.  Using X10 commands to trigger Heyu.  I was just thinking of using the website to trigger things other than Hayu.  

I see alot on how Heyu works and how X10 commands work, but I cant see anything about how to make an X10 command do something on my PC.  Even in the x10config I see SCRIPT [-l <label>] <launch conditions> :: [exec options] <command line>.  Launch conditions is what I would need to evaluate.  So I want A1 on to run unlock.py.  That's a launch condition?

Brad

unread,
Feb 8, 2013, 8:00:15 AM2/8/13
to domusli...@googlegroups.com
The heyu man page has most of the information for how to link a launch to a script. Also, this forum http://tech.groups.yahoo.com/group/heyu_users/messages, has many of the same questions asked and answered. Search it or ask your question and you should find the answer.

Brad

Steve Wales

unread,
Feb 10, 2013, 7:12:59 PM2/10/13
to domusli...@googlegroups.com
Thanks Brad!  Cant wait to play!
Reply all
Reply to author
Forward
0 new messages