AbriuPublic

Replacing a terminal or the hub

Adding or replacing a terminal, replacing the hub, and what the backups guarantee in each case.

Everything the site registers lives on the hub (the Raspberry Pi) and, every night, in an encrypted copy outside the site. The terminals get a copy of the list of people and work with it. That settles what needs a backup in each replacement: a terminal holds nothing only it has; the hub holds everything.

What is kept where

Where What is there Backup
Hub (Pi) Records, photos, cards, fingerprints, groups, invitations, access history, panel users, settings. Daily, on the hub itself (the last 14 days); every night, encrypted, in Abriu's external storage (30 days).
Terminal A copy of the people who may pass through it, with face, card, fingerprint and PIN. None: the hub sends everything again when needed.
Terminal (settings) Network address, administrator password, date and time, relay, button and door sensor. Written down at the handover (see What stays with the manager).

The manager can take a backup at any time on the panel, under Backups, Fazer backup agora, and download it. Before a planned replacement of the hub, do that.

Adding a terminal at a new door

  1. Mount, power and set up the terminal as in Preparing the terminals: administrator password, fixed address, date and time.
  2. On the panel, Dispositivos, Novo dispositivo, Terminal de acesso: name, address, port 80, user admin and the password. Testar conexão must say online.
  3. Say who passes through it: under Grupos, add the new door to the right groups (Moradores, Funcionários...). Within seconds the hub sends those groups' people to the terminal; follow it under Sincronizações.
  4. If it must have exactly the same people as a terminal that already exists, there is a shortcut: Dispositivos, the new terminal, Preencher dispositivo, Copiar de outro dispositivo. The wizard shows what it will send before sending.
  5. Do the terminal test.

Replacing a terminal that broke

Nothing is lost: the hub has everything and sends it to the new terminal again.

  1. Set the new terminal up like the old one (see Preparing the terminals). If you can, give it the same network address and the same password: on the panel, Testar conexão on the page of the device that already exists brings it back online. With a different address or password, correct it on the Configurações tab of the device's page (Editar, in the Opções menu, leads there). If the door has a sensor, wire it to the new terminal without the input's bridge and check its door contact is normally closed.
  2. The new terminal comes empty, or with factory records or someone else's. Under Dispositivos, on it, Preencher dispositivo: choose the groups it had (or Copiar de outro dispositivo) and check Zerar o terminal antes, to start clean; confirm by typing the terminal's name. The wizard says how many people, photos, cards and fingerprints it will send.
  3. Follow it under Sincronizações until the run ends. With many photos it takes some minutes.
  4. Do the terminal test.
  5. The old terminal holds faces. Before discarding, returning or selling it, factory-reset it from its menu to erase the records. That is the site's duty under the LGPD, not a detail.

Replacing with a different model: confirm with Abriu that the model is compatible before buying (see Per door).

Replacing the hub (the Raspberry Pi)

The new hub becomes the same site: the same panel address, the same keys, and the data comes back from the backup. The terminals keep opening the door during the replacement, with the list they already have.

A planned replacement (the hub still works)

  1. On the panel, Backups, Fazer backup agora. Wait for the external copy to be sent (the list shows "enviado").
  2. Ask Abriu for a new install code for the site (made on the spot; it works once and for 14 days). Abriu also confirms the latest external backup is there.
  3. Turn the old hub off and the new one on with the prepared card or the command, as in Installing the hub. In 10 to 20 minutes it installs itself and the panel opens again, empty.
  4. The first administrator gets the e-mail to create the password again (the database is new). With them, or with Abriu alongside: Backups, Importar backup, choose the file downloaded from the external storage and give the external backups' password (Abriu has it in the site's recovery kit), then Restaurar. The system restarts with the data as it was, the panel's users and passwords included.
  5. Check under Dispositivos that the terminals are online and, under Pessoas, that everyone is "sincronizado". Whoever was registered between the backup and the replacement is registered again. In doubt, Reenviar um terminal (Abriu does it from the fleet, or the panel under Dispositivos, the terminal, Preencher dispositivo) makes the terminal match what the hub has.
  6. The old hub and its card hold the data, encrypted. Format the card (or destroy it) before reusing or discarding it; Abriu turns off the old hub's remote access.

The hub died or was stolen

The same steps without step 1: the backup used is last night's, from the external storage. What was registered after it is registered again. In a theft, tell Abriu the same day: it rotates the site's keys when it makes the new code and turns off the old hub's access.

Only the card failed

A corrupted card is a dead hub for this guide: a new card, a new code, the backup restored. Copying the old card is not worth it: the copy carries the fault.

What the manager keeps for those days

  • The panel's address and Abriu's contact.
  • Each terminal's administrator password and address.
  • A backup downloaded from the panel now and then, kept outside the site, on top of the automatic external one. It opens with the backups' password, which stays with Abriu and in the recovery kit; without the password the file is of no use to anyone, whoever takes it.