Skip to content

Mac Setup Guide

Installing · Running · Alpaca Pilot · Connecting · Updating · Troubleshooting

Video Demonstration

The following YouTube video demonstrates parts of the installation and setup procedure described in this guide.

Install and Setup on macOS

Overview

The Alpaca Driver is provided as a collection of Python scripts and is installed and run from the command line using the Terminal application. You do not need to install Python yourself. The installation procedure uses uv to install the required Python version and all the libraries needed by the driver.

Installing

Installing the Driver

  1. Download the Alpaca Driver software

    Open a Terminal window, then clone the repository into a location of your choice, such as your home directory:

    git clone --branch dev2_2 https://github.com/ogecko/alpaca-benro-polaris.git
    cd alpaca-benro-polaris
    

    Note: If this is the first time you have used git on this Mac, macOS may prompt you to install the Xcode Command Line Tools. Accept the installation and wait for it to finish, then run the git clone command again.

  2. Install uv

    uv manages the required Python version and all the Python libraries needed by the driver:

    curl -LsSf https://astral.sh/uv/install.sh | sh
    
  3. Install Python and the required libraries

    From within the alpaca-benro-polaris directory, run:

    uv sync --no-dev --locked
    

    This creates a .venv folder containing the Python environment and everything the driver needs.

    Note: If the uv command is not found, close and reopen Terminal. Then cd back into the alpaca-benro-polaris folder and try again.

Running the Driver

  1. Start the Alpaca Driver

    From within the alpaca-benro-polaris directory, run:

    .venv/bin/python3 driver/main.py
    

    Note: The first time the driver runs, macOS may ask whether to allow it to accept incoming network connections. Click Allow.

  2. Verify that the driver is running

    The driver output should look similar to this:

    Alpaca Driver

Starting Alpaca Pilot

Once the Alpaca Driver is running, you can access the Alpaca Pilot App from any web browser.

  1. Open a web browser

    Open Safari, Firefox, Chrome, or another supported web browser.

  2. Open the Alpaca Pilot App

    Enter the following address in the browser's address bar:

    http://ap.local
    
  3. Verify that the app opens

    The Alpaca Pilot App should display the startup screen and then switch to the dashboard.

    Pilot Startup

  4. (Optional) Enable HTTPS

    Browser features such as Location and Clipboard access only work over a secure (HTTPS) connection. If you need these features, follow the Using HTTPS to install the driver's CA certificate and switch Alpaca Pilot to HTTPS.

Connecting the Polaris

Before you can use the Polaris, complete the following steps.

  1. Open the Connect page

    Click Connect in the top toolbar of the Alpaca Pilot window. The Connect page guides you through the steps required to connect the driver to your Benro Polaris device.

  2. Set up and power on the Polaris

    Set up your Benro Polaris tripod head and turn on the device.

    If you cannot turn on the Polaris, see Troubleshooting B1.

  3. Enable and join the Polaris Wi-Fi

    On the Connect page, click the Wi-Fi button next to the device dropdown. This tells the driver to enable the Polaris Wi-Fi hotspot over Bluetooth. The Polaris blue LED should light up when Wi-Fi is enabled.

    Unlike Windows and Raspberry Pi, macOS does not automatically join the Polaris hotspot. Open the Wi-Fi menu, or go to System Settings > Wi-Fi, and connect to the polaris_xxxxxx network manually.

    Important: Connecting to the Polaris Wi-Fi network disconnects your Mac from its normal Wi-Fi network and therefore from the Internet for the duration of the session.

  4. Complete the connection procedure

    On the Connect page in the Alpaca Pilot App, follow each step indicated by a checkmark.

    For detailed instructions, see the Pilot User Guide – Connecting Devices.

    Make sure all applicable checkmarks are green. The final Multi-Point Alignment step will remain incomplete until you have added three or more sync points (see Multi-Point Alignment).

  5. Verify the connection

    Once the driver has connected successfully to the Polaris, the Alpaca Driver output should indicate that the connection has been established.

    Alpaca Driver

Updating the Driver

To update the Alpaca Driver to the latest version, stop the driver (Ctrl+C in its Terminal window) if it is running. Then, from within the alpaca-benro-polaris folder, run:

git pull
uv sync --no-dev --locked

Then start the driver again using the command in Step 4 above.

Your existing settings and data, including alignment and calibration data, are preserved. They are stored in the data folder, which Git leaves untouched.

Troubleshooting

If you do not see the communications init... done message, see the Troubleshooting Guide C1 for steps to diagnose and resolve the problem.

Stellarium

To use the Stellarium application on macOS with its Remote Telescope control protocol, enable the Stellarium interface in the driver configuration.

  1. Open the driver/config.toml file.

  2. Set stellarium_port to a value other than 0, for example:

    stellarium_port = 10001
    
  3. Restart the Alpaca Driver.

  4. Configure the telescope connection in Stellarium.