• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

How about a Wake on LAN physical start button?

Joined
Jan 13, 2015
Messages
134 (0.08/day)
Hey guys,

As many of you know, most PC's have the ability to power on via a Wake on LAN (WOL) feature. I was able to download an app on my smartphone that sends a WOL signal, that turns on my desktop PC. It works like a charm. I want to make a physical button that sits on my desk. When I press the button I want it to send a WOL signal to my PC that subsequently turns it on. I was thinking of setting up my Raspberry Pi to do this. I've located the code, in Java, that sends the WOL signal (ie magic packets). I need a physical button that connects to the Raspberry Pi's USB port such that the Java app can detect if it has been pressed. I'm envisioning a button that looks similar to an automobile "Push to start" button.

Has this already been done? What do you guys think?
 
Joined
Jan 13, 2015
Messages
134 (0.08/day)
So...basically...you want an additional power button? Or...rather...why not just push the power button you already have? :wtf:
Lol, yea. It does sound lazy, doesn't it! :laugh:

Seriously though, It's more of a "cool factor" thing. I forgot to mention that my PC is situated in a closet, adjacent to my work station. So, it saves time from having to open the closet and press the power button.
 

dorsetknob

"YOUR RMA REQUEST IS CON-REFUSED"
Joined
Mar 17, 2005
Messages
8,378 (1.56/day)
Location
Dorset where else eh? >>> Thats ENGLAND<<<
most Pc these days have Bios Settings to wake up PC from mouse /keyboard

did i hear you say"Well i never knew that:)"
 
Joined
Jan 13, 2015
Messages
134 (0.08/day)
most Pc these days have Bios Settings to wake up PC from mouse /keyboard

did i hear you say"Well i never knew that:)"
Very funny :). I've tried to configure the BIOS to do just that, but no success. If I use a wired keyboard, I can wake from a sleep state, but not a cold boot. I normally use a wireless keyboard and mouse. None of which can wake from a sleep state, or cold boot.
 
Last edited:

Kursah

Moderator
Staff member
Joined
Oct 15, 2006
Messages
12,682 (2.65/day)
Location
Missoula, MT, USA
System Name Kursah's Gaming Rig 2018 - Ryzen+ Edition | SpartanCore | SpartanCore2
Processor R7 2700X @ Stock (3.7/4.35) w/PBO+XFR2 | i7 3770 3.4/3.9 Stock | i7 4770 3.4/3.9 Stock
Motherboard Asus ROG Strix X370-F Gaming | Intel DQ77MK | SuperMicro X10SLQ
Cooling Noctua NH-U14S Push-Pull + NT-H1 | Stock Intel Cooler + AC MX4 | Stock Intel Cooler + AC MX4
Memory 16GB (2x8) G.Skill DDR4-3200 | 16GB (4x4) Samsung DDR3-1600 | 32GB (4x8) Mushkin Stealth DDR3-1600
Video Card(s) MSI GTX980 Ti Gaming 6G LE @ Stock | Onboard Intel HD 4000 | Onboard Intel HD 4600
Storage SSD 250GB + 960GB, 1x2TB | 120GB SSD, RAID10 6x2TB (6TB) | 120GB SSD, RAID10 6x3TB (9TB)
Display(s) Samsung 32" TV IPS 1080p, Dell 23" U2312HM IPS 1080p | 19" Dell on KVM..mostly headless operation.
Case Corsair 600C - Stock Fans on Low | Lian Li Lancool PC-K7 - Cougar fans | Modified Lenovo TS430 Case
Audio Device(s) Aune T1 mk1 > AKG K553 Pro + HiFiMAN HE-350 (Equalizer APO + PeaceUI) | Not in use
Power Supply EVGA 750G2 Modular + APC Back-UPS Pro 1500 | EVGA KR500 80+ Bronze (Both) + APC Smart-UPS 1500
Mouse Logitech G502 | Dell USB Laser Mouse (KVM)
Keyboard Logitech G15 rv2 | Dell USB Keyboard (KVM)
Software Windows 10 Pro x64 | Windows Server 2012 R2 (Hyper-V) | Windows Server 2016 (Hyper-V)
Do you have a smartphone? You could always push wake on lan to it using an app while on the same LAN once you've enabled WoL on your system:

Or if you're familiar with accessing your router and port forwarding (not hard to do on most routers, and if you're not familiar it's not too shabby to learn and work through), and if on a dynamic ISP service where your WAN (internet facing) IP address changes sometimes, you will want to setup a dynamic DNS service (I prefer DuckDNS and have my router setup to report to DuckDNS), you could also power on your system while away from home as well:

:toast:

Edit: Also not sure what board you have, but if it fully supported Intel vPro both CPU and MB if you're on Intel hardware you could also utilize that in what is called out of band management that would let you turn your pc on/off, access the OS, BIOS, etc. That gets a little more advanced than what you seek here though, and would take a higher level of administrative comprehension and ability than what is required with WoL. If you want to go down that road, let me know. :)

Edit 2: I can envision a RPI project with a button to do this as well... that could lead to a fun project if you're into that kinda thing... https://www.raspberrypi.org/forums/viewtopic.php?t=206365
 
Last edited:
Joined
Nov 20, 2013
Messages
3,900 (1.78/day)
Location
Kiev, Ukraine
System Name WS#1337
Processor Ryzen 5 1600X
Motherboard Gigabyte x470 AORUS Ultra Gamin
Cooling Xigmatek Scylla 240 AIO
Memory 2x8GB Team T-Force Vulkan DDR4-3000
Video Card(s) MSI RTX 2060 Super Armor OC
Storage Adata SX8200 256GB, Sandisk X400 512GB
Display(s) Samsung U24E590D (4K/UHD)
Case Chieftec AL-01B-OP
Audio Device(s) ALC1220
Power Supply SeaSonic SSR-550FX (80+ GOLD)
Mouse Logitech G503
Keyboard Zalman K500 modded (Gateron brown)
Software Windows 10, Ubuntu 18.04 LTS
I think using an entire RaspberryPi just for that is stupid and wasteful.
You have many alternatives:
1) If you have a wireless adapter, you can do Wake-on-WLAN the same way (if supported)
2) 433Mhz key fob and wireless relay (in parallel to your power button, or spliced in)
3) wake on USB. Should even work with RF wireless KB (at least w/ Logitech ones).
4) IR remote + receiver and the same as above.
5) Get a router with DD-WRT/OpenWRT firmware, or better a gateway running BSD/Linux and read some manuals to do it in software(you can even set up a mini Web server so you can poll your PC to check if it's on, send WoLAN or WoWLAN packets, and exchange data in JSON or something, write a small app and you are done :laugh:).
Maybe by the time you are done with #5, getting your ass up and walking to the power button wouldn't be such a bad idea :slap:
 
Joined
Jan 13, 2015
Messages
134 (0.08/day)
Kursah: Yes, I have a smartphone. I have an app that performs a WOL signal to turn on my PC from a cold boot, and it works like a charm. I had to do, more or less, what you mentioned. I had to fiddle with my router settings, and the app required the IP address of my PC as well as the MAC address. It wasn't too difficult. I found a tutorial that tells you how to do it, step by step. For the moment, I don't plan on configuring my system to power up when I'm away from home.

The RPI project seemed compelling, as I rarely use it.

silentBogo:
I think I'll stick with my smartphone's WOL app for the moment. But I still think my idea has a bit of "cool factor" to it. Enough to merit some research. (I'll probably spend more energy figuring this out, than a year's worth of getting my arse out of the chair to turn it on) :laugh: . Does that count?
 

Mussels

Moderprator
Staff member
Joined
Oct 6, 2004
Messages
47,459 (8.59/day)
Location
Australalalalalaia.
System Name Big Fella
Processor Ryzen R7 2700X (stock/XFR OC)
Motherboard Asus B450-i ITX
Cooling Corsair H110 W/ Corsair ML RGB fans
Memory 16GB DDR4 3200 Corsair Vengeance RGB Pro
Video Card(s) MSI GTX 1080 Gaming X (BIOS mod to Gaming Z) w/ Corsair H55 AIO
Storage 1TB Sasmsung 970 Pro NVME + 1TB Intel 6000 Pro NVME
Display(s) Phillips 328m6fjrmb (32" 1440p 144hz curved) + Sony KD-55X8500F (55" 4K HDR)
Case Fractal Design Nano S
Audio Device(s) Razer Leviathan + Corsair Void pro RGB, Blue Yeti mic
Power Supply Corsair HX 750i (Platinum, fan off til 300W)
Mouse Logitech G903 + PowerPlay mousepad
Keyboard Corsair K65 Rapidfire
Software Windows 10 pro x64 (all systems)
Benchmark Scores Laptops: i7-4510U + 840M 2GB (touchscreen) 275GB SSD + 16GB i7-2630QM + GT 540M + 8GB
Wasnt there a remote clicker power button from lian li?
 
Joined
Jan 13, 2015
Messages
134 (0.08/day)
Wasnt there a remote clicker power button from lian li?
Yes. I've seen remotes that can turn a desktop PC on. Although, what I don't like about it, is that you have to physically connect their hardware to the motherboard's power connector. This might void the warranty, and I just don't trust it.
 

Mussels

Moderprator
Staff member
Joined
Oct 6, 2004
Messages
47,459 (8.59/day)
Location
Australalalalalaia.
System Name Big Fella
Processor Ryzen R7 2700X (stock/XFR OC)
Motherboard Asus B450-i ITX
Cooling Corsair H110 W/ Corsair ML RGB fans
Memory 16GB DDR4 3200 Corsair Vengeance RGB Pro
Video Card(s) MSI GTX 1080 Gaming X (BIOS mod to Gaming Z) w/ Corsair H55 AIO
Storage 1TB Sasmsung 970 Pro NVME + 1TB Intel 6000 Pro NVME
Display(s) Phillips 328m6fjrmb (32" 1440p 144hz curved) + Sony KD-55X8500F (55" 4K HDR)
Case Fractal Design Nano S
Audio Device(s) Razer Leviathan + Corsair Void pro RGB, Blue Yeti mic
Power Supply Corsair HX 750i (Platinum, fan off til 300W)
Mouse Logitech G903 + PowerPlay mousepad
Keyboard Corsair K65 Rapidfire
Software Windows 10 pro x64 (all systems)
Benchmark Scores Laptops: i7-4510U + 840M 2GB (touchscreen) 275GB SSD + 16GB i7-2630QM + GT 540M + 8GB
that... does not void a warranty
 

FordGT90Concept

"I go fast!1!11!1!"
Joined
Oct 13, 2008
Messages
25,533 (6.30/day)
Location
IA, USA
System Name BY-2015
Processor Intel Core i7-6700K (4 x 4.00 GHz) w/ HT and Turbo on
Motherboard MSI Z170A GAMING M7
Cooling Scythe Kotetsu
Memory 2 x Kingston HyperX DDR4-2133 8 GiB
Video Card(s) Sapphire NITRO+ RX 590 Special Edition 8 GiB DVI + HDMI
Storage Crucial MX300 275 GB, Seagate Exos X12 TB 7200 RPM
Display(s) Samsung SyncMaster T240 24" LCD (1920x1200 HDMI) + Samsung SyncMaster 906BW 19" LCD (1440x900 DVI)
Case Coolermaster HAF 932 w/ USB 3.0 5.25" bay
Audio Device(s) Realtek ALC1150, Micca OriGen+
Power Supply Enermax Platimax 850w
Mouse SteelSeries Sensei RAW
Keyboard Tesoro Excalibur
Software Windows 10 Pro 64-bit
Benchmark Scores Faster than the tortoise; slower than the hare.
4) IR remote + receiver and the same as above.
This. You can buy them for $15ish bucks and they do far more than just power. Only requirement is it has to be plugged into a USB port that has +5VSB. Run the IR receiver outside of the closet so the remote can signal it.

Although much more expensive, I highly recommend this (Inteset remote + IR receiver):
https://www.amazon.com/Inteset-Universal-Receiver-Streamers-Including/dp/B07612LMHF/

The remote is fully programable and all around awesome (have two of them here).
 
Last edited:
Joined
Nov 20, 2013
Messages
3,900 (1.78/day)
Location
Kiev, Ukraine
System Name WS#1337
Processor Ryzen 5 1600X
Motherboard Gigabyte x470 AORUS Ultra Gamin
Cooling Xigmatek Scylla 240 AIO
Memory 2x8GB Team T-Force Vulkan DDR4-3000
Video Card(s) MSI RTX 2060 Super Armor OC
Storage Adata SX8200 256GB, Sandisk X400 512GB
Display(s) Samsung U24E590D (4K/UHD)
Case Chieftec AL-01B-OP
Audio Device(s) ALC1220
Power Supply SeaSonic SSR-550FX (80+ GOLD)
Mouse Logitech G503
Keyboard Zalman K500 modded (Gateron brown)
Software Windows 10, Ubuntu 18.04 LTS

Mussels

Moderprator
Staff member
Joined
Oct 6, 2004
Messages
47,459 (8.59/day)
Location
Australalalalalaia.
System Name Big Fella
Processor Ryzen R7 2700X (stock/XFR OC)
Motherboard Asus B450-i ITX
Cooling Corsair H110 W/ Corsair ML RGB fans
Memory 16GB DDR4 3200 Corsair Vengeance RGB Pro
Video Card(s) MSI GTX 1080 Gaming X (BIOS mod to Gaming Z) w/ Corsair H55 AIO
Storage 1TB Sasmsung 970 Pro NVME + 1TB Intel 6000 Pro NVME
Display(s) Phillips 328m6fjrmb (32" 1440p 144hz curved) + Sony KD-55X8500F (55" 4K HDR)
Case Fractal Design Nano S
Audio Device(s) Razer Leviathan + Corsair Void pro RGB, Blue Yeti mic
Power Supply Corsair HX 750i (Platinum, fan off til 300W)
Mouse Logitech G903 + PowerPlay mousepad
Keyboard Corsair K65 Rapidfire
Software Windows 10 pro x64 (all systems)
Benchmark Scores Laptops: i7-4510U + 840M 2GB (touchscreen) 275GB SSD + 16GB i7-2630QM + GT 540M + 8GB
silverstone is probably it, i was thinking 'that fancy case company i never see any more'
 
Joined
Jan 13, 2015
Messages
134 (0.08/day)
Update:

Well, I did it! I now have a button that sits on my desk. When I press it, it turns on my Desktop PC that is tucked away in my closet. The button is programmable. You can choose any color for when it's idling, and when it is pressed. For the moment, I have it set to a light blue color when idling, and a bright blue when it's pressed. It works like a charm!
 
Joined
Mar 18, 2015
Messages
2,225 (1.30/day)
Location
Long Island
Another option ... could just let it go to sleep. Since it's in a closet w./ closed door, can't be using much energy.
 
Low quality post by Pooperscooper

Pooperscooper

New Member
Joined
Aug 16, 2019
Messages
1 (0.01/day)
I think using an entire RaspberryPi just for that is stupid and wasteful.
You have many alternatives:
1) If you have a wireless adapter, you can do Wake-on-WLAN the same way (if supported)
2) 433Mhz key fob and wireless relay (in parallel to your power button, or spliced in)
3) wake on USB. Should even work with RF wireless KB (at least w/ Logitech ones).
4) IR remote + receiver and the same as above.
5) Get a router with DD-WRT/OpenWRT firmware, or better a gateway running BSD/Linux and read some manuals to do it in software(you can even set up a mini Web server so you can poll your PC to check if it's on, send WoLAN or WoWLAN packets, and exchange data in JSON or something, write a small app and you are done :laugh:).
Maybe by the time you are done with #5, getting your ass up and walking to the power button wouldn't be such a bad idea :slap:
I hope this only makes you want to do this more. Laziness is the mother of invention. People like this should be ignored or we would never have power steering. Keep on messing around, who knows what cool things you'll stumble upon. Ignore these jerks.
 
Joined
Nov 20, 2013
Messages
3,900 (1.78/day)
Location
Kiev, Ukraine
System Name WS#1337
Processor Ryzen 5 1600X
Motherboard Gigabyte x470 AORUS Ultra Gamin
Cooling Xigmatek Scylla 240 AIO
Memory 2x8GB Team T-Force Vulkan DDR4-3000
Video Card(s) MSI RTX 2060 Super Armor OC
Storage Adata SX8200 256GB, Sandisk X400 512GB
Display(s) Samsung U24E590D (4K/UHD)
Case Chieftec AL-01B-OP
Audio Device(s) ALC1220
Power Supply SeaSonic SSR-550FX (80+ GOLD)
Mouse Logitech G503
Keyboard Zalman K500 modded (Gateron brown)
Software Windows 10, Ubuntu 18.04 LTS
I hope this only makes you want to do this more. Laziness is the mother of invention. People like this should be ignored or we would never have power steering. Keep on messing around, who knows what cool things you'll stumble upon. Ignore these jerks.
Engineering is about doing things the most efficient way, not the most ridiculously overpriced way.
 
Joined
Jul 26, 2019
Messages
131 (1.13/day)
Processor R7 1700 non-X @ 4.0 GHz
Motherboard Gigabyte AORUS Gaming 5
Cooling Noctua
Memory 32 GB 3200 MT/s CL16
Video Card(s) Sapphire Vega 64
Storage 2x 500 GB SSD, 2x 3 TB HDD
Case Silverstone FT02
Software Manjaro Linux, W10 if I have to
Engineering is about doing things the most efficient way, not the most ridiculously overpriced way.
But efficiency can be Calculated not just in terms of money. For the engineers at Koenigsegg, overpriced is not an issue. Or are you saying they're not engineers?
 
Joined
Nov 20, 2013
Messages
3,900 (1.78/day)
Location
Kiev, Ukraine
System Name WS#1337
Processor Ryzen 5 1600X
Motherboard Gigabyte x470 AORUS Ultra Gamin
Cooling Xigmatek Scylla 240 AIO
Memory 2x8GB Team T-Force Vulkan DDR4-3000
Video Card(s) MSI RTX 2060 Super Armor OC
Storage Adata SX8200 256GB, Sandisk X400 512GB
Display(s) Samsung U24E590D (4K/UHD)
Case Chieftec AL-01B-OP
Audio Device(s) ALC1220
Power Supply SeaSonic SSR-550FX (80+ GOLD)
Mouse Logitech G503
Keyboard Zalman K500 modded (Gateron brown)
Software Windows 10, Ubuntu 18.04 LTS
But efficiency can be Calculated not just in terms of money.
Also in terms of labor, which RPi as a power button also sucks at (comparing to chinese keyfob dongle or IR remote kit). I'm sure even engineers at Koenigsegg would agree.
 
Top