/sensehat-fastapi

RESTful API for the Raspberry PI Sense Hat - Built on the FastAPI Python framework

Primary LanguagePython

Sense Hat API

Prepare Headless Raspberry Pi

  1. Download the Raspberry Pi Imager.

  2. Select Raspberry Pi OS for the Operating System.

  3. Select the microSD card for Storage.

  4. Configure the Advanced Options to support headless operation:

    • Hostname
    • Credentials (username, password, SSH public key)
    • WiFi network settings
  5. Click WRITE to flash microSD card.

Basic System Configuration

Use Ansible playbooks (see the ansible/ directory) to upgrade the system packages and configure the host operating system.

cd ansible/
make connection
make upgrade
make reboot
make upgrade