Hub and Sync

Last Reviewed: 2026-10-04

Keeping several devices in sync takes two programs:

  • Secluse, the app you use on each device (Windows and Android).
  • Secluse Hub (the hub), which runs on one Windows PC. It keeps a shared copy of your data, and every device, including Secluse on the Hub PC itself, connects to it over your home network. Changes travel between devices through the hub, encrypted.

A single device doesn't need a hub.

How it works

  • The hub keeps its own complete copy of your data, so devices don't need to be on at the same time: each one catches up with the hub whenever it can reach it.
  • If the hub can't be reached (the PC is off, or a device is away from home), nothing breaks: each device keeps working and keeps its changes, and everything catches up by itself once the hub is reachable again.
  • Only one hub per group of devices, on a Windows PC. Android can't run the hub.
  • Put the hub on the PC that's on your home network the most.

How sync behaves

  • Changes merge field by field. Two devices changing different fields of the same record, even while offline, merge cleanly.
  • The same field changed on two offline devices: the later change wins, without asking.
  • A device catches up as soon as it can reach the hub: Wi-Fi back, Secluse reopened, a VPN turned off.
  • With Secluse closed, a phone (on Wi-Fi) or a PC stays connected, so changes from your other devices (a new reminder, a snooze) still arrive within seconds: see Staying connected with Secluse closed.
  • New or changed tables and fields reach every device too, in order. A device that was off may show a new table a moment after it reconnects.
  • Permanently delete (in Manage tables and Manage fields) waits until this device has connected to the hub since the item was deleted, so no device can bring it back.

Staying connected with Secluse closed

So that a reminder set on another device still reaches each device and comes on time, Secluse stays connected to the hub with the app closed. It's on unless you turn it off, in Settings → Automation → Background processes → Stay connected to the Hub.

On Windows it's a switch. While Secluse is closed, a hidden Secluse process stays connected; it starts within a minute of closing Secluse, and steps aside when you open it again. It's started by the background task, so it needs Run scheduled events while Secluse is closed on (see Scripts and Events). In Task Manager it shows as a second secluse.exe.

On Android Android normally stops an app's connections once it's closed. Choose:

  • On home Wi-Fi (the usual choice): connected while the phone is on Wi-Fi. Away from home the hub can't be reached anyway, so Secluse stops trying until the phone is back on Wi-Fi.
  • Always: keeps trying on mobile data too, for a phone that reaches your home network from outside (through a VPN, for example).
  • Off: Secluse syncs only while it's open. A change made on another device reaches the phone the next time Secluse is opened there.

While it's on:

  • Android shows a quiet Secluse notification, Connected to the Hub, with no sound. Android requires it for an app that stays connected. To hide it, long-press it and turn off Hub connection (Secluse keeps working).
  • After a restart or an update, Secluse reconnects by itself, without being opened.
  • Allow Secluse to ignore battery optimization when the card asks, or Android may stop the connection.

Check in with the Hub while closed (Android) sets how often the phone makes sure the connection is still alive while Secluse is closed: every 20 seconds, 1 minute (the usual choice), 5 minutes or 15 minutes. While connected, changes arrive at once whichever you choose. Less often saves battery, but if the connection drops without warning, for example when the Hub PC goes to sleep, the phone notices later, up to twice the time you chose. A reminder set on another device in that gap reaches the phone once it reconnects. On screen, Secluse always checks every 20 seconds.

Images

Pictures travel differently from other fields:

  • The fact that a record has a picture syncs straight away, like any field.
  • The picture itself is kept on the hub, and each device downloads it the first time it shows it.
  • If the hub can't be reached when you add a picture, it stays on that device only until you open that record's picture again while connected.

VPNs

A VPN can only pause sync; it never puts data at risk.

  • A device on a VPN usually can't reach the hub, because the hub's address is on your home network. Its changes wait and go through when the VPN is off.
  • The Hub PC on a VPN: some VPNs block home-network traffic ("kill switch" or "block LAN" settings). While that's on, no device can reach the hub. Check that setting if you use a VPN on the Hub PC.

What syncs and what stays on one device

Some things reach every device and some stay on the device where you set them: see What Is Shared and What Is Not.

Not synced at all: the search index, the hub pairing, cached pictures, backup files and restore safety copies, and Secluse Hub's own settings.

Rule of thumb: anything about your data and how it's organised is shared; anything about how this screen looks or what this device does is per device.

Pairing a device

A device only syncs with a hub it has been paired with; the hub refuses everything else. Pairing is the one task that uses both programs.

  1. On the Hub PC, open Secluse Hub and choose Pair a device. It shows a 6-digit code, the hub's address (for example 192.168.1.50:1340) and a QR code. The code works once and expires after 5 minutes (New code makes another).
  2. On the device, in Secluse: Settings → Hub and sync → Pair with a hub… (or Connect to a hub… on a new install's first screen). On Android you can Scan the QR code; otherwise type the address and the code, then Pair.
  3. When it says Paired with the hub, close and reopen Secluse. Secluse Hub lists the device under Paired devices.

What happens to the device's data:

  • The first device fills the hub. If the hub is empty, the device's tables become the hub's data.
  • Every later device takes the hub's data. If the hub already has data, Secluse asks: Use the hub's data… replaces what's on this device with a copy of the hub's (a safety copy of this device's data is saved first); Don't join leaves the device as it was, on its own. Two separate sets of data are never mixed. The change happens the next time Secluse opens. Pictures come from the hub as they're needed, and Undo last restore puts the device's previous data back.

A mistyped code is caught before anything is sent. After 5 wrong tries the hub drops that code; start again at Pair a device.

In Secluse Hub (on the Hub PC)

Secluse Hub is installed by the Secluse installer (the Secluse Hub part). With Start the Hub when I sign in to Windows on, it starts at sign-in and waits in the system tray. It runs the hub server, the background process devices actually connect to.

  • Tray icon: click it to open the window; right-click for Open, Restart hub server and Quit Hub. Closing the window only hides it. Quit Hub closes Secluse Hub but leaves the hub server running; opening Secluse Hub again reconnects to it. Opening it a second time just brings its window forward.
  • Status: whether the hub server is running, its port, how long it's been up, the size of its data and its Restore ID, with Start, Stop and Restart. Change port moves it from the default 1340; Windows Firewall must allow the new port, and paired devices need Pair again afterwards.
  • Paired devices: every device allowed to sync, when it was paired and last connected, and Pair a device. Remove stops that device syncing at once, until it's paired again.
  • Connected devices: who is connected right now, by name.
  • Log: the hub's own log.
  • Hub backups and Restore: see Backup and Restore.
  • Windows setup: Start the Hub when I sign in to Windows, and whether Windows Firewall lets your other devices reach the hub. If not, Allow through Windows Firewall fixes it after one Windows permission prompt (private networks only). If this PC's network is set to Public, the card says so: Windows blocks other devices on a public network, so set your home network to Private in Windows Settings.
  • Alerts: if the hub server stops unexpectedly, Secluse Hub restarts it; after 5 failed restarts in a row it stops trying. You get a Windows notification when that happens, or when a device's background checks keep failing (at most once every 4 hours per problem). The card lists current problems, turns the notifications on or off, and Send test notification shows what one looks like. With Start the Hub when I sign in to Windows on, Secluse Hub is back at the next sign-in if it was closed.
  • About and updates, User Guide and Open-source licences, as in Secluse.

In Secluse (on each device)

Settings → Hub and sync

Shows which hub this device uses.

  • Leave this hub makes the device work on its own again (nothing on it is deleted).
  • Pair again… re-pairs it, for example after Secluse Hub was reinstalled.

If a device's data looks wrong

Settings → Backup and restore → Take the hub's data… replaces it with the hub's. Anything on it that hadn't reached the hub yet is kept in the safety copy saved first. The same choice appears on the Restore required screen (see Backup and Restore).

Data maintenance

Settings → Maintenance → Data maintenance shows how much old information could be cleaned out safely, and does it when you ask. Nothing is deleted until you press Purge now.

  • Schema history: the newest change to tables and fields that every device already has.
  • Deleted records: the point before which deleted records could be removed without any restore or returning device bringing them back. It's held back by the device that synced fully longest ago, and by the oldest backup you could still restore.
  • Either card says Not ready, and why, when a device has never synced fully, a device is stuck on a change, no backup exists, or the hub can't be reached.
  • Hub backups: the last hub backup and the oldest one kept.
  • Devices: every device that has used the data, with its last full sync, last backup and progress. A device records its "last full sync" when it connects to the hub (at most every 10 minutes). Retire a device you no longer use, so it stops holding things back (on every device); Bring back undoes it, and should be done before that device connects again. The hub can't be retired.
  • Purge now permanently removes what the cards say is safe to remove. It asks first and can't be undone: only a backup made beforehand can bring anything back. Every device and the hub apply it themselves the next time they're open and connected, then compact their data file to free the space. Recent purges shows what each device reported. A deleted table or field that can still be restored is never purged.

View this page on GitHub