miracle2k / onkyo-eiscp

Control Onkyo A/V receivers over the network; usuable as a script, or as a Python library.
MIT License
467 stars 110 forks source link

eISCP on Pioneer VSX-1131 doesn't work #87

Closed hebs1 closed 5 years ago

hebs1 commented 6 years ago

Hi, on my Pioneer AV VSX-1131 (with latest firmware 2099-4040-7080-0008) eISCP doesn't work. "onkyo --discover" find my device, that works well: image But all commands fail, e.g.: image Any idea? Thanks a lot!!!

HerrRiebmann commented 5 years ago

+1 I try to figure out what´s wrong with the eISCP Protocol, but I didn´t get further. To be honest, I´m not using the python, but a C# solution. Messages are being received well and the format seems to be equal to what I send (after I changed some things, like message-length, end of file-char and encoding)

HerrRiebmann commented 5 years ago

@hebs1 News on that!

For the restless reader: Unplug the receiver to clear everything which was on the network.

My guess is, that I sent several wrong commands with incorrect size and endings. The receiver refuses to process them and seems to queue the requests somehow. This explains why even my correct command has not been processed. Unplug the receiver will restart the network part, which won´t happen on power off (because of wake on LAN). Sending exact the same command now, works :)

Updated some parts of the C# code and will put it into my github later on. Also created an Arduino (Esp8266) solution via WiFi. Sending commands works, receiving is a dirty hack. This will take longer to publish.

Pinoneer/Onkyo did not implemented their protocol right. It expects a complete command in one TCP-package. You cannot split it into several packages (which I´ve accidental done) and expect the receiver will combine the messages until EOF, Carriage return and Linefeed.

hebs1 commented 5 years ago

Thanks a lot for the hint!!!!

glassbase commented 5 years ago

For anyone reading this in the future and has a VSX-1130 like me. Its not the same as the 1131. The 1130 does not have the functionality for this (ISCP).