Time controlled or remote Raspberry Pi 5 boot

Wake-up Call

© Lead Image © Darek Chramienko, 123RF.com

© Lead Image © Darek Chramienko, 123RF.com

Article from Issue 291/2025
Author(s):

In addition to enhanced performance, the Raspberry Pi 5 also comes with some new hidden functions, including options for time-controlled and remote start-up and shutdown.

In the past, restarting a shutdown Raspberry Pi was a little archaic: briefly pull out the plug and then plug it back in again. If you wanted to make things easier, you could use a cable with a built-in button or use a HAT, which was especially useful if you wanted a time-controlled reboot.

The Raspberry Pi 5 now finally has a dedicated power button (Figure 1). You can use it to start the Raspberry Pi when it's switched off and also shut it down cleanly before it switches off the power (the operating system will even show a prompt if you're running a desktop system). In this article, I will show you some further useful features for switching the Raspberry Pi 5 on and off.

Preparations

To make sure that everything works, you need to check a firmware (EEPROM) setting and change it if necessary. The rpi-eeprom-config command shows the configuration variables that are currently set; I'm interested in the POWER_OFF_ON_HALT entry. If it's missing or set to 0, change it using

[...]

Use Express-Checkout link below to read the full article (PDF).

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

SINGLE ISSUES
 
SUBSCRIPTIONS
 
TABLET & SMARTPHONE APPS
Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • Pico Sleep Mode

    The Raspberry Pi Pico's high-performance chip is trimmed for I/O and does not try to save power. However, a few tricks in battery mode can keep it running longer.

  • Greenhouse Control

    You can safely assign some greenhouse tasks to a Raspberry Pi Pico W, such as controlling ventilation, automating a heater, and opening and closing windows.

  • Light Painting

    In the photographic method of light painting, you expose a subject over an extended period of time while moving the light sources. With a little technical support from a Raspberry Pi Pico, you can achieve sophisticated results.

  • Bluetooth Communication

    We use a Raspberry Pi, a Pi Pico, and a smartphone to communicate over Bluetooth.

  • ESPHome

    With an ESP32 or Raspberry Pi Pico W microcontroller board, you can easily create your own home automation devices. Thanks to ESPHome, you don't even have to be a programmer.

comments powered by Disqus
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters

Support Our Work

Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.

Learn More

News