Sorry if this is covered elsewhere, but I haven't been able to find an example.
I have an Omnipro connected to a HiFi2 for audio, with multiple sources, including iTunes as well as a DirecTV receiver. Using the example code in the HH documentation (and Omni coding), I've set up a physical switch that turns on the local audio zone, and starts iTunes playing.
I would also like to wake up the DirecTV receiver. This is easily accomplished in a browser with a command that looks something like this (address is static receiver address):
Xxxx://192.168.0.177/remote/commandKey?key=guide
I tried to just add this line to the iTunes Play code in HH, but it gave me a parse error.
I assume sending http commands should be a simple affair here, but I can't seem to figure it out.
Any help is greatly appreciated.
I have an Omnipro connected to a HiFi2 for audio, with multiple sources, including iTunes as well as a DirecTV receiver. Using the example code in the HH documentation (and Omni coding), I've set up a physical switch that turns on the local audio zone, and starts iTunes playing.
I would also like to wake up the DirecTV receiver. This is easily accomplished in a browser with a command that looks something like this (address is static receiver address):
Xxxx://192.168.0.177/remote/commandKey?key=guide
I tried to just add this line to the iTunes Play code in HH, but it gave me a parse error.
I assume sending http commands should be a simple affair here, but I can't seem to figure it out.
Any help is greatly appreciated.