Main Content

Make a remote control on/off switch for a computer with CircuitPython and BLE

I have multiple computers around the house, and sometimes they need to be rebooted remotely. For example, here’s a surveillance camera server that’s located in a locked closet.

Currently the only way to turn it on is by pressing the illuminated blue push button on the front of the case. Instead of running around the house, to manually reboot the computer, we will use CircuitPython to automate this process!

The goal of this tutorial is to build a BLE peripheral that attaches to the front so the server can be turned on remotely from outside the closet. The peripheral will also wirelessly report whether the server is on or off.”

Link to article