Power on Other Devices with Python
Power on Other Devices with Python Tom Clarke Sep 2 · 3 min read This is a pretty neat little function that not a lot of people know about, called Wake-On-Lan (WoL). It’s built into a lot of desktops and laptops, and as far as I know, some more modern smart TV’s. But what actually is it? WoL is a functionality that keeps the networking card of a device on, with some reserve power, which allows us to send it a message. This specific message is called a ‘magic packet’, and when a magic packet is received by a device, it will power on. Before starting to write the very (and I mean very) short python code for this, there are a few things you need to check. First of all, make sure the devices you want to play around with have WoL capability, and I recommend trying it first with a PC/laptop. To do this you will need to enter the devices BIOS on start-up. In the BIOS you will need to navigate to the power management section, and look for a Wake-On-Lan setting and enable it. It can also be