Setting up the Raspberry Pi

Use this guide to set up your Raspberry Pi fully manually. You can use the other guide if you prefer to use the built in configuration interface once you have the basic setup done.

Prepare the SD card

Using Raspberry Pi Imager, download the Raspberry Pi OS Lite (64-bit) or Raspberry Pi OS Desktop (64-bit) image onto a microSD card.

Raspberry Pi Imager

Under settings:

Hardware setup

The hardware setup is quite straightforward:

Get the Raspberry Pi assembled and powered on

Once the Raspberry Pi is assembled and powered on, connect to it with SSH.

ssh <username>@raspberrypi.local

Software Setup

Use the setup script to automatically set up everything. Fast Setup Step 1

# Download the setup script (with cache bypass)
curl -H "Cache-Control: no-cache" -O https://raw.githubusercontent.com/bdamokos/rpi_waiting_time_display/main/setup_display.sh

# Make it executable
chmod +x setup_display.sh

# Run the setup script
sudo ./setup_display.sh

Fast Setup Step 2

The script will guide you through several configuration options:

The script will then:

If the script needs to enable WebSerial support, it will:

  1. Enable the required hardware module
  2. Reboot the system
  3. After reboot, you’ll need to run:
    sudo bash ~/display_programme/docs/service/setup_webserial.sh
    

    to complete the WebSerial setup.

  4. Reboot your device again. Once it boots up, you can access the WebSerial interface at https://bdamokos.github.io/rpi_waiting_time_display/setup/

Fast Setup Step 3 - Setup Complete

After running the script, you only need to:

  1. Edit your .env file with your settings (you can do this in two ways):
    • Using the web interface at http://raspberrypi.local:5002/debug/env
    • Manually editing the file: nano ~/display_programme/.env
    • Using the webserial interface at https://bdamokos.github.io/rpi_waiting_time_display/setup/
  2. Reboot the Raspberry Pi (if not done automatically by the script)

Assembled and configured display

Setting up the backend server

:warning: Important: The backend server needs to be set up for the display to work (otherwise the display will only display the weather and flights). See the backend server readme for more information. If the API keys are not configured, the service will not start. (Some basic setup, like the API keys, can be done through the webserial interface if the backend server is set up on the Raspberry Pi.)

The setup script will install the backend server based on your chosen setup mode:

You’ll need to configure the API keys and stops either through: