{"id":206,"date":"2008-04-13T20:42:00","date_gmt":"2008-04-14T01:42:00","guid":{"rendered":"http:\/\/www.summet.com\/blog\/2008\/04\/13\/dpms-monitor-control-via-remote-control-on-myth-tv\/"},"modified":"2010-05-13T21:25:08","modified_gmt":"2010-05-14T02:25:08","slug":"dpms-monitor-control-via-remote-control-on-myth-tv","status":"publish","type":"post","link":"https:\/\/www.summet.com\/blog\/2008\/04\/13\/dpms-monitor-control-via-remote-control-on-myth-tv\/","title":{"rendered":"DPMS monitor control via remote control on Myth TV"},"content":{"rendered":"<div class='__iawmlf-post-loop-links' style='display:none;' data-iawmlf-post-links='[{&quot;id&quot;:643,&quot;href&quot;:&quot;http:\\\/\\\/www.mythtv.org\\\/wiki\\\/DPMS&quot;,&quot;archived_href&quot;:&quot;&quot;,&quot;redirect_href&quot;:&quot;https:\\\/\\\/wiki.mythtv.org\\\/wiki\\\/DPMS&quot;,&quot;checks&quot;:[],&quot;broken&quot;:false,&quot;last_checked&quot;:null,&quot;process&quot;:&quot;done&quot;}]'><\/div>\n<p>I am using an LCD monitor as the display for my MythTV box, connected via an analog RGB (a.k.a. VGA) cable. This allows me to use DPMS (Display Power Management Signaling) to turn the monitor on and off from the MythTV box.<\/p>\n<p>Instructions for setting this up with MythTV <a href=\"http:\/\/www.mythtv.org\/wiki\/DPMS\">are here<\/a> , but I found that I had to make a few changes to get things to work correctly. I modified one line of the shell script&nbsp; as follows: <\/p>\n<pre>STATUS=$( xset -q | grep &quot;Monitor is&quot; | awk &#39;{print $3}&#39; )<\/pre>\n<p>To trigger the monitorpowerbutton.sh script, I placed the following into my \/etc\/lirc\/lircrc file:<\/p>\n<pre>\r\nbegin\r\n prog =  irexec\r\n button = TV_POWER\r\n repeat = 4\r\n config = \/usr\/local\/bin\/monitorpowerbutton.sh\r\nend\r\n<\/pre>\n<\/p>\n<p> Now my TV_POWER button toggles the power state of the monitor!&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I am using an LCD monitor as the display for my MythTV box, connected via an analog RGB (a.k.a. VGA) cable. This allows me to use DPMS (Display Power Management Signaling) to turn the monitor on and off from the &hellip; <a href=\"https:\/\/www.summet.com\/blog\/2008\/04\/13\/dpms-monitor-control-via-remote-control-on-myth-tv\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,13,2],"tags":[39,14],"class_list":["post-206","post","type-post","status-publish","format-standard","hentry","category-linux","category-projects","category-technology","tag-irexec","tag-mythtv"],"_links":{"self":[{"href":"https:\/\/www.summet.com\/blog\/wp-json\/wp\/v2\/posts\/206","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.summet.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.summet.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.summet.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.summet.com\/blog\/wp-json\/wp\/v2\/comments?post=206"}],"version-history":[{"count":0,"href":"https:\/\/www.summet.com\/blog\/wp-json\/wp\/v2\/posts\/206\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.summet.com\/blog\/wp-json\/wp\/v2\/media?parent=206"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.summet.com\/blog\/wp-json\/wp\/v2\/categories?post=206"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.summet.com\/blog\/wp-json\/wp\/v2\/tags?post=206"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}