The Onkyo challenge...
Posted: Wednesday 26 September 2018 20:31
Guys,
Rpi with Domoticz Version: 4.9700
Build Hash: a3a45906
Compile Date: 2018-06-23 16:24:51
dzVents Version: 2.4.6
Python Version: 3.5.3 (default, Jan 19 2017, 14:11:04) [GCC 6.3.0 20170124]
Local IP address of the receiver is 192.168.1.225, Pi is 192.168.1.218.
Webserver runs on port 8099.
AV Amp: Onkyo TX-RZ720
Have read the famous: https://www.domoticz.com/wiki/Onkyo
Created the onkyo.php script and put it in the root if the webserver:
/home/pi/domoticz/www/onkyo.php. Checked permissions. Replaced the two variables:
$hostname = '192.168.0.225’
$port = 60128;
Created the virtual script and sensor:
http://127.0.0.1:8099/onkyo.php?command=PWR¶ms=01 (On)
http://127.0.0.1:8099/onkyo.php?command=PWR¶ms=00 (Off)
And it does not work… The logfile:
Error opening url: http://127.0.0.1:8099/onkyo.php?command=PWR¶ms=00 (Off)
I am fairly new with Domoticz and until now I made progress. There were quite some tricky stuff but getting my Onkyo receiver to work is now costing me hours and hours of time… The problem is that there are quite a few threads on the topic but for an Newnie it’s hard to determine which are helping or making things worse. Just a small typo could lead to another hour of time…
So can someone please help me and slap me in the face for complete screwing up?
Theo.
Rpi with Domoticz Version: 4.9700
Build Hash: a3a45906
Compile Date: 2018-06-23 16:24:51
dzVents Version: 2.4.6
Python Version: 3.5.3 (default, Jan 19 2017, 14:11:04) [GCC 6.3.0 20170124]
Local IP address of the receiver is 192.168.1.225, Pi is 192.168.1.218.
Webserver runs on port 8099.
AV Amp: Onkyo TX-RZ720
Have read the famous: https://www.domoticz.com/wiki/Onkyo
Created the onkyo.php script and put it in the root if the webserver:
/home/pi/domoticz/www/onkyo.php. Checked permissions. Replaced the two variables:
$hostname = '192.168.0.225’
$port = 60128;
Created the virtual script and sensor:
http://127.0.0.1:8099/onkyo.php?command=PWR¶ms=01 (On)
http://127.0.0.1:8099/onkyo.php?command=PWR¶ms=00 (Off)
And it does not work… The logfile:
Error opening url: http://127.0.0.1:8099/onkyo.php?command=PWR¶ms=00 (Off)
I am fairly new with Domoticz and until now I made progress. There were quite some tricky stuff but getting my Onkyo receiver to work is now costing me hours and hours of time… The problem is that there are quite a few threads on the topic but for an Newnie it’s hard to determine which are helping or making things worse. Just a small typo could lead to another hour of time…
So can someone please help me and slap me in the face for complete screwing up?
Theo.