<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Martin,<div><br></div><div><br></div><div><font color="#252525" face="sans-serif"><span style="background-color: rgb(255, 255, 255);">From Wikipedia, the free encyclopedia<br>A Web service is a method of communications between two electronic devices over a network. It is a software function provided at a network address over the web with the service always on as in the concept of utility computing.<br><br>The W3C defines a Web service as:<br><br>a software system designed to support interoperable machine-to-machine interaction over a network. It has an interface described in a machine-processable format (specifically WSDL). Other systems interact with the Web service in a manner prescribed by its description using SOAPmessages, typically conveyed using HTTP with an XML serialization in conjunction with other Web-related standards.</span></font></div><div><font color="#252525" face="sans-serif"><span style="background-color: rgb(255, 255, 255);"><br></span></font></div><div><font color="#252525" face="sans-serif"><span style="background-color: rgb(255, 255, 255);">In other words, the DirecTV Set Top Boxes listen on port 8080 for hypertext transport protocol (http) commands and respond with formatted messages that tell you what is going on. Very cool! One can even use a web browser to debug and test the interface. Just enter <a href="http://192.168.0.201:8080">http://192.168.0.201:8080</a> {command}</span></font></div><div><font color="#252525" face="sans-serif"><span style="background-color: rgb(255, 255, 255);"><br></span></font></div><div><font color="#252525" face="sans-serif"><span style="background-color: rgb(255, 255, 255);">There is a python script on the MythTV wiki (directtv_http.pl) that does most of the work<br></span></font><span style="color: rgb(37, 37, 37); font-family: sans-serif; line-height: 28px; background-color: rgb(255, 255, 255);"></span><div id="contentSub" style="line-height: 1.2em; margin: 0px 0px 1.4em 1em; color: rgb(84, 84, 84); width: auto; font-family: sans-serif; background-color: rgb(255, 255, 255);"></div><div id="jump-to-nav" class="mw-jump" style="overflow: hidden; height: 0px; zoom: 1; -webkit-user-select: none; margin-top: -1.4em; margin-bottom: 1.4em; color: rgb(37, 37, 37); font-family: sans-serif; line-height: 28px; background-color: rgb(255, 255, 255);"><a href="http://en.wikipedia.org/wiki/Web_service#mw-navigation" style="text-decoration: none; color: rgb(11, 0, 128); background-image: none;"></a><a href="http://en.wikipedia.org/wiki/Web_service#p-search" style="text-decoration: none; color: rgb(11, 0, 128); background-image: none;"></a></div><div></div></div><div><font color="#252525" face="sans-serif"><span style="background-color: rgb(255, 255, 255);">Here is a list of the commands from one of the sample MythTV wiki scripts </span></font></div><div><font color="#252525" face="sans-serif"><span style="background-color: rgb(255, 255, 255);"><br></span></font></div><div><font color="#252525" face="sans-serif"><span style="background-color: rgb(255, 255, 255);"><div># Map commands to function to execute.</div><div># last_param is handled in main routine.</div><div>%cmds=("on" => \&on,</div><div> "off" => \&off,</div><div> "reboot" => \&reboot,</div><div> "ip" => \&ip,</div><div> "get_channel" => \&get_channel,</div><div> "get_signal" => \&get_signal,</div><div> "get_systemtime" => \&get_systemtime,</div><div> "get_systemversion" => \&get_systemversion,</div><div> "key" => \&key,</div><div> "serial" => \&serial,</div><div> "delay" => \&delay,</div><div> "version" => \&version,</div><div> "usage" => \&usage,</div><div> );</div><div><br></div><div># Define the keys the script supports</div><div>%keymap =</div><div> (power => "power",</div><div> poweron => "poweron",</div><div> poweroff => "poweroff",</div><div> format => "format",</div><div> pause => "pause",</div><div> rew => "rew",</div><div> replay => "replay",</div><div> stop => "stop",</div><div> advance => "advance",</div><div> ffwd => "ffwd",</div><div> record => "record",</div><div> play => "play",</div><div> guide => "guide",</div><div> active => "active",</div><div> list => "list",</div><div> exit => "exit",</div><div> back => "back",</div><div> menu => "menu",</div><div> info => "info",</div><div> up => "up",</div><div> down => "down",</div><div> left => "left",</div><div> right => "right",</div><div> select => "select",</div><div> red => "red",</div><div> green => "green",</div><div> yellow => "yellow",</div><div> blue => "blue",</div><div> ch_up => "chanup",</div><div> ch_dn => "chandown",</div><div> prev => "prev",</div><div> 0 => "0",</div><div> 1 => "1",</div><div> 2 => "2",</div><div> 3 => "3",</div><div> 4 => "4",</div><div> 5 => "5",</div><div> 6 => "6",</div><div> 7 => "7",</div><div> 8 => "8",</div><div> 9 => "9",</div><div> dash => "dash",</div><div> "-" => "dash",</div><div> enter => "enter"</div><div> );</div><br class="Apple-interchange-newline"><br></span></font></div><div><font color="#252525" face="sans-serif"><span style="background-color: rgb(255, 255, 255);">adios,</span></font></div><div><font color="#252525" face="sans-serif"><span style="background-color: rgb(255, 255, 255);">jt</span></font></div><div><font color="#252525" face="sans-serif"><span style="background-color: rgb(255, 255, 255);"><br></span></font></div><div><font color="#252525" face="sans-serif"><span style="background-color: rgb(255, 255, 255);"><br></span></font></div><div><div><div>On Apr 30, 2014, at 10:51 PM, Martin Compton <<a href="mailto:martinc@itrans.com">martinc@itrans.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">On 04/30/2014 10:44 PM, John J Tucker wrote:<br><blockquote type="cite">Martin,<br><br>I don't even have v4l2-ctl installed and have not had any problems with the color settings. Also I'm not using lirc at all. I use the web service interface to control the STB.<br></blockquote>D'oh! What specifically do you mean by a 'web service interface' to your STB?<br>Am I missing something?<br><br>The best I can muster with the Dish ViP222k is control via UPNP using "miranda.py". Which has been sporadic, although that may be related to the Dish device using 'sling' across my UPS.<br><br>While some of the UPNP commands return references to a resultant xml file (e.g. GetAuthChannelList) I have not found any 'http' way to accomplish anything similar (channel change, etc).<br><br>Regards,<br>MC<br><br>FYI: So far (2 recordings) the HD-PVR has done okay without v4l2-ctl calls on kernel v3.5.0-48. Too tired to remember if that was before or after my reboots dealing w/ HDPVR and lirc.<br>_______________________________________________<br>mythtv-users mailing list<br><a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>http://www.mythtv.org/mailman/listinfo/mythtv-users<br>http://wiki.mythtv.org/Mailing_List_etiquette<br>MythTV Forums: https://forum.mythtv.org<br><br></blockquote></div><br></div></body></html>