<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&nbsp;Web service&nbsp;is a method of communications between two electronic devices over a&nbsp;network. It is a software&nbsp;function provided at a network address over the web with the service&nbsp;always on&nbsp;as in the concept of&nbsp;utility&nbsp;computing.<br><br>The&nbsp;W3C&nbsp;defines a Web service as:<br><br>a software system designed to support&nbsp;interoperable&nbsp;machine-to-machine interaction over a&nbsp;network. It&nbsp;has an interface described in a machine-processable format (specifically&nbsp;WSDL). Other systems interact&nbsp;with the Web service in a manner prescribed by its description using&nbsp;SOAPmessages, typically conveyed&nbsp;using&nbsp;HTTP&nbsp;with an&nbsp;XML&nbsp;serialization&nbsp;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&nbsp;formatted&nbsp;messages that tell you what is going on. &nbsp;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&nbsp;</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" =&gt; \&amp;on,</div><div>&nbsp; &nbsp; &nbsp; "off" =&gt; \&amp;off,</div><div>&nbsp; &nbsp; &nbsp; "reboot" =&gt; \&amp;reboot,</div><div>&nbsp; &nbsp; &nbsp; "ip" =&gt; \&amp;ip,</div><div>&nbsp; &nbsp; &nbsp; "get_channel" =&gt; \&amp;get_channel,</div><div>&nbsp; &nbsp; &nbsp; "get_signal" =&gt; \&amp;get_signal,</div><div>&nbsp; &nbsp; &nbsp; "get_systemtime" =&gt; \&amp;get_systemtime,</div><div>&nbsp; &nbsp; &nbsp; "get_systemversion" =&gt; \&amp;get_systemversion,</div><div>&nbsp; &nbsp; &nbsp; "key" =&gt; \&amp;key,</div><div>&nbsp; &nbsp; &nbsp; "serial" =&gt; \&amp;serial,</div><div>&nbsp; &nbsp; &nbsp; "delay" =&gt; \&amp;delay,</div><div>&nbsp; &nbsp; &nbsp; "version" =&gt; \&amp;version,</div><div>&nbsp; &nbsp; &nbsp; "usage" =&gt; \&amp;usage,</div><div>&nbsp; &nbsp; &nbsp; );</div><div><br></div><div># Define the keys the script supports</div><div>%keymap =</div><div>&nbsp; &nbsp; &nbsp; &nbsp; (power =&gt; "power",</div><div>&nbsp; &nbsp; &nbsp; &nbsp;poweron =&gt; "poweron",</div><div>&nbsp; &nbsp; &nbsp; poweroff =&gt; "poweroff",</div><div>&nbsp; &nbsp; &nbsp; &nbsp; format =&gt; "format",</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;pause =&gt; "pause",</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;rew =&gt; "rew",</div><div>&nbsp; &nbsp; &nbsp; &nbsp; replay =&gt; "replay",</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; stop =&gt; "stop",</div><div>&nbsp; &nbsp; &nbsp; &nbsp;advance =&gt; "advance",</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ffwd =&gt; "ffwd",</div><div>&nbsp; &nbsp; &nbsp; &nbsp; record =&gt; "record",</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; play =&gt; "play",</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;guide =&gt; "guide",</div><div>&nbsp; &nbsp; &nbsp; &nbsp; active =&gt; "active",</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; list =&gt; "list",</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; exit =&gt; "exit",</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; back =&gt; "back",</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; menu =&gt; "menu",</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; info =&gt; "info",</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; up =&gt; "up",</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; down =&gt; "down",</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; left =&gt; "left",</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;right =&gt; "right",</div><div>&nbsp; &nbsp; &nbsp; &nbsp; select =&gt; "select",</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;red =&gt; "red",</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;green =&gt; "green",</div><div>&nbsp; &nbsp; &nbsp; &nbsp; yellow =&gt; "yellow",</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; blue =&gt; "blue",</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ch_up =&gt; "chanup",</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ch_dn =&gt; "chandown",</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; prev =&gt; "prev",</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0 =&gt; "0",</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;1 =&gt; "1",</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;2 =&gt; "2",</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;3 =&gt; "3",</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;4 =&gt; "4",</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;5 =&gt; "5",</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;6 =&gt; "6",</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;7 =&gt; "7",</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;8 =&gt; "8",</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;9 =&gt; "9",</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dash =&gt; "dash",</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;"-" =&gt; "dash",</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;enter =&gt; "enter"</div><div>&nbsp; &nbsp; &nbsp; &nbsp; );</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 &lt;<a href="mailto:martinc@itrans.com">martinc@itrans.com</a>&gt; 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. &nbsp;Also I'm not using lirc at all. &nbsp;I use the web service interface to control the STB.<br></blockquote>D'oh! &nbsp;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". &nbsp;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. &nbsp;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>