{"id":630,"date":"2012-01-01T13:43:58","date_gmt":"2012-01-01T13:43:58","guid":{"rendered":"http:\/\/read.virtualizeplanet.com\/?p=630"},"modified":"2012-01-01T13:45:21","modified_gmt":"2012-01-01T13:45:21","slug":"your-home-lab-costs-too-much-electricity","status":"publish","type":"post","link":"http:\/\/read.virtualizeplanet.com\/?p=630","title":{"rendered":"Your home lab costs too much electricity?"},"content":{"rendered":"<p>Just found out my electricity bill is going up by 19% and its already stupidly high as it is. So I decided to save my own pocket to go green in what way I can. So #1 of course I\u2019ve got my home vSphere cluster properly configured to keep off one of my servers switched off most of the time using DPM. However I want to save more energy so I had an idea about my desktop PC. Like most IT geeks I leave my home desktop PC switched on 24\/7\u00a0 for convenience, to have access whatever the reason I like to have it on.\u00a0 I started to \u00a0think is there a way I can control my desktop PC like DPM and came up with this idea: I would schedule a task to place my PC into sleep mode at 2am and then schedule a Wake Up Lan task to power it on in its previous state at 7am thus saving me 5 hours of electricity. So this is how I did it:<\/p>\n<p>Step1 I used the windows scheduler to schedule this command at 2am:<\/p>\n<div id=\"attachment_631\" style=\"width: 310px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/virtualizeplanet.com\/wordpress\/wp-content\/uploads\/2012\/01\/task.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-631\" class=\"size-medium wp-image-631 \" title=\"scheduled task\" src=\"http:\/\/virtualizeplanet.com\/wordpress\/wp-content\/uploads\/2012\/01\/task-300x137.jpg\" alt=\"\" width=\"300\" height=\"137\" srcset=\"http:\/\/read.virtualizeplanet.com\/wp-content\/uploads\/2012\/01\/task-300x137.jpg 300w, http:\/\/read.virtualizeplanet.com\/wp-content\/uploads\/2012\/01\/task.jpg 644w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><p id=\"caption-attachment-631\" class=\"wp-caption-text\">Click to make larger<\/p><\/div>\n<p>This places my PC in a sleep state.<\/p>\n<p>\u00a0Step 2. I run the DD-WRT firmware on my home router (DD-WRT is configurable on tons of routers) and one of the things it can do is schedule through a cron job a wake up lan call (WOL) . Below is the command I used to wake up using my PC from its MAC address at 7:03am:<\/p>\n<div id=\"attachment_632\" style=\"width: 310px\" class=\"wp-caption alignleft\"><a href=\"http:\/\/virtualizeplanet.com\/wordpress\/wp-content\/uploads\/2012\/01\/cron.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-632\" class=\"size-medium wp-image-632\" title=\"cron\" src=\"http:\/\/virtualizeplanet.com\/wordpress\/wp-content\/uploads\/2012\/01\/cron-300x71.jpg\" alt=\"\" width=\"300\" height=\"71\" srcset=\"http:\/\/read.virtualizeplanet.com\/wp-content\/uploads\/2012\/01\/cron-300x71.jpg 300w, http:\/\/read.virtualizeplanet.com\/wp-content\/uploads\/2012\/01\/cron.jpg 599w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><p id=\"caption-attachment-632\" class=\"wp-caption-text\">Click to make larger<\/p><\/div>\n<p>Job done..<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Just found out my electricity bill is going up by 19% and its already stupidly high as it is. So I decided to save my own pocket to go green in what way I can. So #1 of course I\u2019ve got my home vSphere cluster properly configured to keep off one of my servers switched [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-630","post","type-post","status-publish","format-standard","hentry","category-vmware"],"aioseo_notices":[],"views":3202,"_links":{"self":[{"href":"http:\/\/read.virtualizeplanet.com\/index.php?rest_route=\/wp\/v2\/posts\/630","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/read.virtualizeplanet.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/read.virtualizeplanet.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/read.virtualizeplanet.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/read.virtualizeplanet.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=630"}],"version-history":[{"count":4,"href":"http:\/\/read.virtualizeplanet.com\/index.php?rest_route=\/wp\/v2\/posts\/630\/revisions"}],"predecessor-version":[{"id":635,"href":"http:\/\/read.virtualizeplanet.com\/index.php?rest_route=\/wp\/v2\/posts\/630\/revisions\/635"}],"wp:attachment":[{"href":"http:\/\/read.virtualizeplanet.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=630"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/read.virtualizeplanet.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=630"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/read.virtualizeplanet.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=630"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}