2009-11-21, 15:29
First of all, i love the script! Really nice work!
For my next step i want the script to switch my tv and amp to the right settings. I've this allready done with X10/homeseer.
So know i want to know if someone can help me out to integrate this code to de script:
# Send HTTP Post
import urllib
WEBSVR = "http://htpc/"
devicename = "TV-DVD input"
action = "action_on"
cmd = "On"
# Encode the data
params = urllib.urlencode({'control_device':devicename, action:cmd, 'selectdim':0})
# Send POST command to Homeseer
urllib.urlopen(WEBSVR, params)
Of course above is not my script/code i've get it from Livin who made xbmc works with homeseer/X10.
I allready asked him how to use this code in the script, but he told me he doesn't know how the script of Home Theater Experience works...
So if someone could point me in the right direction
For my next step i want the script to switch my tv and amp to the right settings. I've this allready done with X10/homeseer.
So know i want to know if someone can help me out to integrate this code to de script:
# Send HTTP Post
import urllib
WEBSVR = "http://htpc/"
devicename = "TV-DVD input"
action = "action_on"
cmd = "On"
# Encode the data
params = urllib.urlencode({'control_device':devicename, action:cmd, 'selectdim':0})
# Send POST command to Homeseer
urllib.urlopen(WEBSVR, params)
Of course above is not my script/code i've get it from Livin who made xbmc works with homeseer/X10.
I allready asked him how to use this code in the script, but he told me he doesn't know how the script of Home Theater Experience works...
So if someone could point me in the right direction