System Hub user guide

Everyday tasks

Update everything, bring back an integration, never miss a dead battery…

In short

Ready-made answers to the questions you'll have: how to update everything at once, bring back an integration that drops, never miss a dead battery, back up the configuration…

Pick what you want to do; each one takes a few minutes.

Keep everything up to date#

  1. Open Maintenance → Updates: Home Assistant, add-ons, firmware and Marketplace repositories are listed together.
  2. Keep Back up before installing ticked in the confirmation for a safety net (tick Back up before installing updates in Settings → Updates ⚙ to have it by default).
  3. Click Update all: each update installs in turn, Home Assistant Core last, with its progress shown.

The Marketplace is checked on the server every 24 h; Check for updates checks now.

Bring back integrations that drop#

Sentinel works on its own: when every entity of an integration has been unavailable for 15 minutes, it reloads it — up to 3 times, then it notifies you and raises a repair.

Example

Your weather integration loses its connection at 03:00 and all its entities become unavailable. At 03:15, Sentinel reloads it and the weather is back — you never noticed. If it fails 3 times, you get a notification in the morning.

  1. Open Settings → Sentinel ⚙ to change the grace period, ignore an integration or add a Pause entity (for a planned outage).
  2. For a device that only comes back once unplugged (router, hub, camera): Add a power cycle, pick the device and the smart plug that powers it.

Never miss a dead battery#

  1. Nothing to do: every battery is followed, and those below 20 % for a day are notified at 09:00 and 19:00.
  2. To get the notification on your phone, add notify.mobile_app_… in Settings → Batteries ⚙ → Notify actions.
  3. Set the battery types (Battery types, or Battery Notes), then your spare stock with system_hub.batteries_set_stock: System Hub tells you what to buy.

Example

The front door sensor drops to 15 % on Monday. On Tuesday at 19:00, still below 20 % for a day, it's in the notification: Front door (Entrance): 15 % · CR2032. You have 2 CR2032 in stock: System Hub doesn't ask you to buy any.

Back up the configuration to Git#

  1. Make /config a repository (in the Terminal add-on):

    cd /config
    git init -b main
    git remote add origin git@github.com:<you>/homeassistant-config.git
  2. Add a .gitignore that keeps secrets out:

    secrets.yaml
    .storage/
    .cloud/
    .ssh/
    *.db*
    *.log*
    deps/
    tts/
    __pycache__/
  3. Turn Versioning on in the Settings tab: it asks for the repository and checks it.

  4. Run system_hub.git_sync_generate_ssh_key in Developer tools → Actions and add the public key to GitHub as a deploy key with write access.

Warning

Everything not ignored is pushed. Keep credentials in secrets.yaml and use a private repository. System Hub refuses to commit known secret files anyway.

Then it commits every hour when something changed. With an AI Task entity, the commit messages write themselves.

Find silent Zigbee, Z-Wave or Bluetooth devices#

  1. Open Devices → Silent devices: the devices not heard from for 24 h, then the weak signals.
  2. Switch to Zigbee network, Z-Wave network, Matter network or Bluetooth network: silent devices show in red on their last link.
  3. Ignore a device you know is off, so it no longer counts.

Example

The garage Zigbee sensor hasn't reported since yesterday. In Zigbee network, it shows in red, hanging from the hallway plug it used to talk through: move it closer, or check its battery.

Zigbee network mapZigbee network map, dark theme

Check the security of the instance#

  1. Open the Security tab: refused logins, accounts without 2FA, unused tokens, unprotected add-ons, passwords in clear.
  2. Fix what is red first; Acknowledge a banned address you have dealt with, Allow an add-on that needs its protection off.
  3. Bans are tracked by default: turn off Track IP bans in Settings → Security ⚙ if you don't want them listed or counted.
  4. Optional: turn on Track outbound connections in Settings → Security ⚙ to see which hosts each integration contacts.

Make the database smaller#

  1. Open System → Database: its size, its growth and the devices that write the most.
  2. In Advised configuration, keep the integrations ticked, then copy the YAML block into configuration.yaml and restart.
  3. Click Purge and repack to reclaim the space now.

Clean up leftover entities and old files#

  1. Open Devices → Cleanup: the entities their integration no longer provides, with what still uses them.
  2. Tick them (or Select every match), then Remove or Ignore.
  3. For old files (the MCP server's mcp_backups…), turn Purge on and choose the folders: files older than 30 days go every night.