{"id":44,"date":"2015-06-05T14:19:47","date_gmt":"2015-06-05T07:19:47","guid":{"rendered":"http:\/\/prosindo.com\/blog\/?p=44"},"modified":"2015-06-05T14:19:47","modified_gmt":"2015-06-05T07:19:47","slug":"raspberry-pi-turn-onoff-monitor","status":"publish","type":"post","link":"https:\/\/prosindo.com\/blog\/2015\/06\/05\/raspberry-pi-turn-onoff-monitor\/","title":{"rendered":"Raspberry Pi Turn On\/Off Monitor"},"content":{"rendered":"<p>Since Raspberry Pi cannot allow WOL (Wake On Lan), you may want it always on 24\/7, but you can turn off the monitor using script and execute it remotely via ssh\/php shell<\/p>\n<p>To turn on\/off monitor, create 2 scripts below:<\/p>\n<p><code>poweroff.sh<\/code><br \/>\n<code>tvservice -o<\/code><\/p>\n<p><code>poweron.sh<\/code><br \/>\n<code>tvservice --preferred<\/code><br \/>\n<code>fbset -depth 8; fbset -depth 16;<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Since Raspberry Pi cannot allow WOL (Wake On Lan), you may want it always on 24\/7, but you can turn off the monitor using script and execute it remotely via ssh\/php shell To turn on\/off monitor, create 2 scripts below: poweroff.sh tvservice -o poweron.sh tvservice &#8211;preferred fbset -depth 8; fbset -depth 16;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[20,25],"class_list":["post-44","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-raspberry-pi","tag-script"],"_links":{"self":[{"href":"https:\/\/prosindo.com\/blog\/wp-json\/wp\/v2\/posts\/44","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prosindo.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prosindo.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prosindo.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prosindo.com\/blog\/wp-json\/wp\/v2\/comments?post=44"}],"version-history":[{"count":0,"href":"https:\/\/prosindo.com\/blog\/wp-json\/wp\/v2\/posts\/44\/revisions"}],"wp:attachment":[{"href":"https:\/\/prosindo.com\/blog\/wp-json\/wp\/v2\/media?parent=44"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prosindo.com\/blog\/wp-json\/wp\/v2\/categories?post=44"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prosindo.com\/blog\/wp-json\/wp\/v2\/tags?post=44"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}