This is a repository for synchronizing Raspberry Pis with AccessKit.
- Github repository: https://github.com/access-kit/ak-rpi/
- Documentation https://access-kit.github.io/ak-rpi/ (coming soon...)
This instructions will handle automatically installing the required dependencies, configuring the connection to AccessKit, and setting up autostarting via systemd or running manually. They assume you have already setup your Raspberry Pi and connected it to the internet (either through Ethernet or WiFi).
- Open a terminal and navigate to the directory where you want to clone the repository; the default home location is typically fine.
- First, download the repository using
git clone https://github.com/access-kit/ak-rpi.gitwhich will clone the repository into a directory namedak-rpi. - Next, navigate into the
ak-rpidirectory usingcd ak-rpi - Finally, run
make setup, which will install the necessary dependencies and configure the connection to AccessKit, along with optional autostart via a systemd service.
The Raspberry Pi supports various audio output options, including:
- Built-in audio jack (on models that have it)
- HDMI audio output
- USB audio devices (e.g., USB sound cards, DACs)
- Bluetooth audio (requires additional configuration)
To configure your audio device:
- Connect your audio device (if using USB or external device)
- Configure your default audio device:
This interactive script will:
make configure-audio
- Show available audio devices
- Let you choose which card and device to use as default
- Create either system-wide (
/etc/asound.conf) or user-specific (~/.asoundrc) configuration - Automatically backup any existing configuration
- Test the audio output
- After configuration, you may need to reboot your Raspberry Pi for changes to take effect.
Common audio devices and their typical card numbers:
- Card 0: Usually the built-in audio (if present)
- Card 1: Often the first USB audio device
- Card 2+: Additional USB devices or HDMI outputs
Troubleshooting tips:
- If no sound is playing, check the volume levels using
alsamixer - For USB devices, try unplugging and reconnecting the device
- Some USB audio devices may need additional power; use a powered USB hub if necessary
- If using HDMI audio, ensure it's enabled in
/boot/config.txt
- Make sure your system has
poetryinstalled and can runMakefiles. - Add a
config.jsonfile to the root directory with thesyncUrlandpasswordfields completed. - Add an audio file (
.wavor.mp3) to themedia/directory. - Execute
make install-and-run.
make install