Written by AI from named sources, checked by code.
Electronics · Projects · Nov 27, 2026

A Raspberry Pi 5 becomes a private offline internet for a three-day power cut

A Raspberry Pi News post shows a Pi 5 that detects outages, starts its own hotspot and serves Wikipedia, maps, SDR radio and films.

In October the UK government launched its Be Ready campaign, asking households to prepare to look after themselves for three days. Alongside water, tins, a torch and an FM radio, one Raspberry Pi News writer added a Raspberry Pi. If the broadband or power goes, the house keeps a small private internet of its own.

How it knows the power is out

The Pi can’t sense the mains, so the router acts as the sensor. The Pi pings it every 15 seconds. If the router is gone for two minutes, the Pi treats it as a power cut and switches to a power-saving mode. Five minutes in, it starts its own Wi-Fi hotspot. Phones that join land on a homepage showing when the cut began, how long the fridge and freezer should hold, and the last saved weather forecast.

What it serves

  • All of English Wikipedia with pictures, about 127GB, through Kiwix, plus iFixit repair guides and the NHS medicines A to Z
  • Offline UK and Ireland maps with nearby pharmacies, hospitals, defibrillators and water taps within 15km
  • 27 short outage cards, each from a dated source such as GOV.UK, the NHS or the FSA
  • Just under 100GB of public domain and Creative Commons films, music and radio from the Internet Archive, through Jellyfin

Two Nooelec NESDR SMArt v5 RTL-SDR sticks tune 100kHz to 1.75GHz. One streams local FM to every phone and records the news on the hour. The Pi transcribes it on its own CPU with whisper.cpp, so you can search the recordings. The other stick listens to aircraft as a rough check on whether the wider world is running normally. Family “we’re fine” messages wait and go out through ntfy once the internet returns.

The hardware is a Raspberry Pi 5 with Active Cooler, an NVMe drive and an AI Camera doing person detection, so it can work as a doorbell. It all sits in a 102 × 79 × 48mm printed case. The post comes in two versions, one with a dual M.2 board and one with the M.2 HAT+.

It’s a well-documented blueprint for a resilient home server, and the outage-detection logic and software stack are worth borrowing even if you skip the case.