Recent Changes - Search:

Contents

Fire Defence Concepts

Forecasting fire approach

Home-built systems

Commercial systems

Experiences in actual fires

Active defence with pumps and sprinkler systems

Research resources

Keeping the Raspberry Pi alive

A Raspberry Pi running Home Assistant is the usual "brain" of a home-built dashboard. Pis are reliable once set up, but SD cards wear out, power cuts can corrupt files, and software updates can break things - always at the worst time. A few measures make it much more robust.

Hardware

  • Boot from an SSD rather than an SD card, or at least use a high-endurance card.
  • Use a good power supply, and put it on a UPS or battery-backed supply so power cuts don't corrupt the file system.
  • Keep it cool: a case with a heatsink or fan.

Software

  • Turn on the hardware watchdog, so the Pi reboots itself if it hangs.
  • Restart services automatically: set Docker containers (Home Assistant, the MQTT broker) to restart unless stopped, and remove Docker's limits on how often a service may restart.
  • Health checks: a small script that checks Home Assistant is answering, restarts it if not, and reboots the Pi if the problem persists.
  • Don't update during the fire season without testing the update first.

Backups and recovery

  • Back up automatically to a separate drive, and keep a copy off site. Home Assistant's own backups, or copies of its configuration directory, both work.
  • Write down how to restore - and try it once, on a spare Pi or card, before you need it.
  • Remote access by more than one path (for example two VPNs plus a reverse SSH tunnel) so you can still get in if one fails.
  • Keep a spare Pi and card, preloaded.

Don't depend on it alone

Design the system so that if the Pi dies, the pump end keeps defending the house by itself (see Autonomous operation and fail-safes).

The ARMAC approach

ARMAC's Pi runs Home Assistant and Mosquitto in Docker, with the hardware watchdog on, containers set to restart, an early-boot helper that remounts the file system read-write if it comes up read-only, and a staged health check (restart Home Assistant, then reboot if it stays down). Backups go to a USB drive automatically, with a written restore procedure, and remote access is by Tailscale, ZeroTier or a reverse SSH tunnel.

Details: Hardening the Pi, Backing up and restoring the Pi and Remote recovery on ARMAC.AU.


Pages here are kept under the Site Editor's control; see Contributing to add to them.

Discuss this page

Questions, corrections or your own experience of this topic? Add a comment below. You need to be signed in to the forum to comment.

Edit - History - Print - Recent Changes - Search
Page last modified on 03 December 2026, at 09:49
By using this site you accept the Terms of Use · Privacy