News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

control onkyo receiver via ethernet

Started by johanr, January 15, 2009, 07:16:36 PM

Previous topic - Next topic

johanr

Been looking at this and read the wiki about how to control via serial etc but I don't get how I can control the Onkyo using the ethernet.

I have been playing abit with the device template already in the LMCE(need to make a copy of it before continuing) but it seems like even I set the onkyo to be IP based the Core/hybrid still want's me to use serialport when sending commands.
Where do I define where the commands should be sent out and to what ip?

Then the more I think about I wonder how to send serial commands via ethernet(ip)  ???

Do I need to setup a new device template or how should I do this? anyone else been tried doing control via ethernet?

Off course I can go and buy a usb->rs232 dongle but since the onkyo can be controlled via ethernet I was thinking it should not be needed.

Br
Johan
[url="http://wiki.linuxmce.org/index.php/Johanr_materials"]http://wiki.linuxmce.org/index.php/Johanr_materials[/url]

hari

Which higher level protocol does it support? http? tcp socket based communications? SNMP *lol* :-)

best regards,
Hari
rock your home - [url="http://www.agocontrol.com"]http://www.agocontrol.com[/url] home automation

johanr

Hi again.. Not sure I follow. Are you giving me a hint or just joking?  :-\
-johan :)
[url="http://wiki.linuxmce.org/index.php/Johanr_materials"]http://wiki.linuxmce.org/index.php/Johanr_materials[/url]

Marie.O

johanr,

try to look at what has been done in the device template of the Panasonic IP camera. It might give you enough hints to succeed. (And after you succeed detail the steps in the wiki :) )

rgds
Oliver
If I helped you, feel free to buy me a coffee: [url="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES"]https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES[/url]

Zaerc

Quote from: johanr on January 15, 2009, 10:48:43 PM
Hi again.. Not sure I follow. Are you giving me a hint or just joking?  :-\
-johan :)
Neither, he is asking you a question, and probably laughing at one of his own suggestions for a possible answer.
"Change is inevitable. Progress is optional."
-- Anonymous

[url=http://petition.stopsoftwarepatents.eu/181001941347/][/url]

johanr

Quote from: Zaerc on January 16, 2009, 12:54:17 PM
Quote from: johanr on January 15, 2009, 10:48:43 PM
Hi again.. Not sure I follow. Are you giving me a hint or just joking?  :-\
-johan :)
Neither, he is asking you a question, and probably laughing at one of his own suggestions for a possible answer.
Ah, Ok was unsure due to the lol thingy =). Well I will have a look at the panasonic device template, Thanks!
Offcourse I will post it in the wiki if I ever succeeds. Would be nice to finally contribute with something.
Made a Telnet to the box via reflection and the port defined in the receiver to be used for ISCP ..

The command looks like this when the reciever sends it to me(volume change)
ISCP    !1MVL0A?
I tried sending this( and other combinations) but never get a response(receiver doesn't react on it either)
!1PWR01 Then I make a [CR] by hitting the enter key after writing the command.
!1PWRQSTN
"1PWRQSTN"
!1LMD83


Spec:s says that the command should be like :
!1PWR01[CR]   



Guess I have to dig abit deeper into this. Wonder if the telnet can have anything to do with this?
This is really not my area of expertise but I will do a wireshark and see how it looks.
Not sure how to send a command otherwise than making a telnet to it. Will definetly have a look at the pana template..

-johan
[url="http://wiki.linuxmce.org/index.php/Johanr_materials"]http://wiki.linuxmce.org/index.php/Johanr_materials[/url]