Offline Competition

1. Introduction

The offline service lets judges keep scoring when the internet connection at the venue is unstable or completely unavailable. Scores are kept on the venue side and synchronized with the Acro Companion servers once the connection is back.

This chapter explains which offline mode to choose for your competition and how to set up the offline server.
To learn how judges switch offline, judge offline and synchronize their scores, see Offline Scoring in the Head Judge chapter.

2. Types of Offline Mode

The competition administrator chooses the Offline mode type in the Scoring & Rankings Configuration of the competition administration.
There are three types:

None:
Offline mode is disabled for this competition. The offline switch cannot be used.


Browser storage (default):
Scores are stored in the browser of the device that is scoring. Nothing needs to be installed.
Every device keeps its own scores, so they are lost if the browser data is cleared before they are synchronized.


Local database:
Scores are stored on a laptop at the venue, the offline server, that all judges' devices connect to. This needs the Acro Companion desktop app on a Windows laptop.
The scores survive a refresh or restart of the judges' browsers, and a copy of the competition is kept on the laptop.
This type cannot be selected in the configuration, it is set by the offline server. See Setting Up the Offline Server below.


2.1 Which Mode to Choose

None Browser storage Local database
Judges can score offline No Yes Yes
Where scores are stored Not applicable In each judge's browser On the venue laptop
Survives clearing the browser data Not applicable No Yes
Needs the desktop app on a Windows laptop No No Yes

Browser storage is enough when one device does the scoring. Choose Local database for venues with an unreliable connection, where several judges' devices need to keep working together.

3. Setting Up the Offline Server (Local Database)

Do this once per competition, before the event, on the laptop that will be at the venue during the event. The laptop needs internet for the setup and to copy the competition, so do it while you are still online. Once set up, the laptop keeps working if the venue loses internet.

  1. Install and open the Acro Companion desktop app and sign in. It opens on the Offline server page.
  2. Under Competition, select your competition. You can only select competitions you manage.
  3. Click Set this server as offline version for a competition. If someone else is editing the competition administration, you are asked if you want to take over.
  4. In the Scoring & Rankings Configuration, the Offline mode type now shows Local database (managed by the offline server), with the server address, port and user name filled in. The password is hidden.

The Offline server page has four sections:

  • Status: shows if the Local database is Connected. If it is not, click Try again.
  • Competition: shows the competition of this laptop, with Open competition and Remove offline setup.
  • Local database: shows the network addresses that other devices use to reach the laptop, so connect the laptop to the venue network first. You can also change the database Username and Password here and click Save credentials.
  • Firestore mirror: shows what was copied from the online competition to the laptop. Errors are shown in red.

Note: Keep the desktop app open during the event. Judges score in their own browser, on their own device, and connect to the offline server when they switch offline mode on. This laptop only serves this competition.

To use another competition, click Remove offline setup first. Make sure every judge has switched offline mode off and synchronized before you do this, scores that are not synchronized yet can be lost. The competition then goes back to Browser storage.

4. Before the Event

  • Set up the offline server while you are still online, and connect the laptop to the venue network.
  • Keep the desktop app open on the laptop for the whole event.
  • If you use Local database, tell the judges to use Chrome, Edge or Firefox, not Safari or an iPad.
  • Do a test: on one judge's device switch offline mode on and check that it connects.
  • At the end, make sure every judge has switched offline mode off and synchronized before you click Remove offline setup.

5. If a Device Does Not Connect

When the competition uses the Local database and a judge's device does not connect to the offline server:

  • Make sure the device is on the same network as the laptop and that the desktop app is open on the laptop.
  • If the connection is refused, a message says so and the device stays online. Chrome and Edge need Insecure content to be allowed for the site, and Firefox has a similar setting. The message shows the steps for your browser.
  • iPads and Safari cannot connect to the offline server. Use a laptop with Chrome, Edge or Firefox, or use Browser storage.
  • If the laptop got another network address, set the competition up again on the Offline server page.