have been off and on (mostly off) today, but now that i am full of holiday cheer, wanted to get back to everyone - btw, thanks for the continued input.
before i start, i must reiterate - when it comes to programming, i am a major noob - especially with python. so, i am just trying to find something that works and then build on it and i appreciate any and all specific coding help!!
that being said, i have posted the latest draft test script and supporting files at:
http://home.carolina.rr.com/scottandshea...viaasp.rar
if you want to see what it looks like when run, click here:
http://home.carolina.rr.com/scottandshea...hot000.jpg
once again i have to give credit to tartag for sending me the pmiii x-10 background that is included in the .rar file.
also please keep in mind this script is just getting started, but it works for the controls on the page (for those of you with homeseer, change to your codes/controls - i plan to make this more universal later but for now i am explicitly spelling everything out in the script) ....
a few comments:
right now, homeseer is controlled in the above script by .asp page calls? from the xbmc script. based on comments here, i would like to do this control via http "post" commands, but have not been successful in getting this to work through a script yet.
on that note and this one:
Quote:posted by atheron on dec. 25 2005,11:33
--------------------------------------------------------------------------------
affini mentioned earlier something about making pages take an http post command. if you ever need to do that you should use the code here.
asteron (or anyone), do you have the expertise to format affini's suggestion of:
Quote:<form method='post'><input type='hidden' value='hs.execx10byname "kitchen espresso machine", "on", 100'></form>
into the python format shown on the website you found/suggested
here? (you seem to be at least a lightyear ahead of me on programming and my attempts to make this "http post command" work in a simple script command have been futile.)
a few other notes:
affini, it would be nice to mirror the format you posted on your asp pages, but it may take me a while to get there. also, my first run at doing this probably won't have dimming, 1.) because i am to much of a noob to implement it yet and 2.) because i can't "do" that anymore since i have bought non-dimable energy saving compact flourescents (to offset the power draw of all my xboxes :d )
for the first run, i am contemplating moving away from the buttons and just using the checkmarkcontrol in python and its built-in toggle functionality of glowing green for "on" and blacked out for "off". once i get this working and figure out how to do the "post" command, i can move on to the more advanced stuff (although i want to keep the look consistent with the pmiii skin .... i think).
as usual all comments/suggestions/help are welcome .... my free time over the holidays unfortunately won't last forever!
thanks!