LinuxMCE Forums
General => Feature requests & roadmap => Topic started by: elboy0712 on February 09, 2013, 02:57:08 am
-
Directv allows control of their rx's through the network. Also so does yamaha and lg tv's. an we start seeing some network based controls? I really want to get an HD capture card going (componenet obviously) with one of my rx's and get this party started.
-
If you can control the device via a TCP socket, and have a protocol sheet, then a device template can be made to control the device over the network. I am doing this for both my Denon AVC-2312 and Sharp Aquos TVs.
-Thom
-
http://www.sbcatest.com/TechUpdates/DTV-MD-0359-DIRECTV%20SHEF%20Public%20Beta%20Command%20Set-V1.0.pdf
http://www.mythtv.org/wiki/Controlling_DirecTV_Set_Top_Box_%28STB%29_via_Network
-
I may use a upnp browser later also to try and "sniff" it out
-
The Panasonic IP camera template can provide you with the information you need to write a new device template of this nature. You merely have to mimic the HTTP requests. Also, that you have the TCP Port device data specified, instead of Com Port on PC, so that it knows that this is a network device.
Please read the Generic Serial Device page, on the wiki, as a starting point. There are many other articles related to it as well that are useful.
-Thom
-
Template 2159 (DirecTV HR24 IP receiver) exists but had no control codes.
I added codes but have not uploaded a template. I did upload an HTML file here: http://forum.linuxmce.org/index.php/topic,13071.msg94623.html#msg94623 (http://forum.linuxmce.org/index.php/topic,13071.msg94623.html#msg94623).
The codes work but needs some fine tuning.
Dennis
-
This is good stuff. I will look at those templates and see if i cant teach myself how to do it. Thanks everyone. I tried the upnp sniffer it didnt pick up that equipment. I assume it is locked down a bit somehow for commercial reasons.
-
elboy0712,
Take a look at http://forum.linuxmce.org/index.php/topic,11693.msg81593.html#msg81593
The commands are simple but I never got around to making it work.
-
I actually had a working template that i've been using for over well over a year now. The only problem that i have with it is that mce seems to hold the connection open instead of just sending the commands one at a time. This causing it to be kinda unreliable and i would frequently have to resend the channels to it to get it to tune correctly no matter how long i put a delay in there for. also, if you did a reload, then it would take quite some time before the dtv box started to accept commands again. This would also be the case if you used a directv app on a phone, it would cause mce to quit talking to the box for 15 to 20 minutes. I don't have this problem on other automation systems that i install (control4, savant, or crestron), they work instantly. So it must be in some way that the router is handling the connection.
-
You need to look at the Panasonic iP camera template a bit more closely, it uses close and reconnect to re-establish the socket.
Furthermore, if the device is ANYTHING besides the simplest RS232 or IP control device, then you should absolutely consider rewriting it as a C++ device.
-Thom