2013-04-18, 00:17
(2013-04-17, 20:43)Kabooga Wrote: Livin,
I looked at what you are requesting and it would basically mean executing a small php script on a button click. The php script would have to open a network socket, write the bytes, then close the socket.
I am very, very hesitant to add this functionality until I can test this out on a system of my own. A much better solution is to get a web remote that controls most of your receivers functions and also monitors the return information from the receiver.
I looked around for a decent web remote for the Onkyo receiver and see only a few that are decent. Search in AVSForums for "Onkyo ISCP network". There are two or three threads with some decent solutions.
I was thinking we'd keep the code in your web app as simple as possible... thus the heavy lifting would be done by a 3rd party automation app (Homeseer, EventGhost, etc). In this case, your app only needs to provide 2 real functions...
1) fire off a URL. url can be defined based on INI/XML/etc
2) show the button based on state... this can also be defined in some manor in the XML/INI/etc. for instance, I could easily have EventGhost update a file called ButtonStates.txt