hi guys, i found this on github and thought if it is possible to make a plugin to control your yamaha avr over network. is there someone you could do this? im not a programmer and have no idea how to do that.
thanks in advance.
-
[implemented]yamaha avr network remote.
-
@p4co86 Sure, I’ll come up with a first version shortly
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law
-
nice
-
sounds good
Sadly my AX 497 has no ethernet port. But I can control it via IR with pimatic/lirc anyway. -
@p4co86 I have a committed a first implementation. It would be great if you can give it a try occasionally.
To install from git (assuming installation on Raspbian):
sudo service pimatic stop cd /home/pi/pimatic-app/node_modules git clone https://github.com/mwittig/pimatic-yamaha-avr.git cd pimatic-yamaha-avr npm install sudo service pimatic start
See README on configuration
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law
-
Im actually not AT home. In will test IT Later, thanks!
-
ok, i get this error:
Object #<Object> has no method 'isOn'
and in the README
{ "id": "avr1", "name": "Yamaha AVR Power" "class": "YamahaAvrPower", "host": "192.168.178.65" }
there is a comma missing in the second line.
-
anyone else who can help, may i can change something in the plugin to recompile and test it, what does that error exactly mean?
thanks -
@p4co86 I have added some debug output for basicInfo requested from the receiver. Can please give it a try and post the debug output of the plugin. Thanks!
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law
-
i have actuallize the plugin but i cant see anithing in the pimatic-daemon.log or when a enable debug in the web gui.
i can login via telnet 192.168.0.16 50000 and turn it ON
with this:@MAIN:PWR=On
tried also with 192.168.0.16:5000
but then i get this:
12:46:09.339 [pimatic-yamaha-avr] error: Unable to get status values of device yamaha: Error: socket hang up { [Error: socket hang up] code: 'ECONNRESET' }
-
@p4co86 Note, the package yamaha-nodejs uses the Web Service on port 80! The URI is http://’+this.ip+’/YamahaRemoteControl/ctrl’. To power on the yamaha, network standby has to be enabled on the receiver!
- Do you have reference for the control interface provided at port 50000? Regarding port 5000 it looks like this causes the Yamaha server to reset all connections. Possibly an accidental DOS
- Did you enable the debug level in the pimatic front-end? You won’t see debug messages otherwise!!!
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law
-
netwrok standyby is enable.
it works with telnet.debug level is on
"debug": true, "logLevel": "debug",
i found this
https://github.com/ttu/node-yamaha-avrhttp://192.168.0.16/YamahaRemoteControl/ctrl
there is just an empty page, not ann errorpage
i have no access to this site:
http://192.168.0.16:50000/it only works with prot 50000 i think
-
@p4co86 But how did you find out that the command is @MAIN:PWR=On? All packages I found for yamaha avr use aa HTTP-based XML-API. So does node-yamaha-avr which is similar to yamaha-nodejs.
Which receiver model do you have?
EDIT: Please also try to set the log-level to debug in the pimatic web front end.
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law
-
With this one: https://github.com/graememorgan/yamaha
i can do all what i want. So maybe it is not possible to make a native script. Found it today.
My model is HTR-4065 -
I found the command on any website. There was a documenattionfor Rx models. All using ynca protocol
-
implemented
https://pimatic.org/plugins/pimatic-yamaha-avr/pimatic v0.9 has been released!
Support Pimatic and get some free stickers
Like us on Facebookmake it so !