brettmillerb / balena-sound-hole

Balena cloud - Sound & PiHole Repo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Balena Sound Hole

A combination of Belana Sound & PiHole on a single Raspberry Pi.

Initially based on this article which showed how to configure multiple services to run on the same device:

https://blog.balena.io/two-projects-one-device-turn-your-raspberry-pi-into-a-multitool/

However the guide was incorrect so this repo is my working configuration.

graph LR
    A[Laptop] --> C
    subgraph RaspberryPi
        direction TB
            subgraph BalenaSound
                C[Airplay/Bluetooth/Spotify]-->AudioOut
            end
        subgraph Pihole
            DnsServer-->piHole
        end
    end
    A[Laptop]-->DnsServer
    piHole --> Internet
    AudioOut-->AudioMixer
    AudioMixer--> SpeakerL
    AudioMixer--> SpeakerR
Loading

Balena Sound

logo

Starter project enabling you to add multi-room audio streaming via Bluetooth, Airplay2, Spotify Connect and others to any old speakers or Hi-Fi using just a Raspberry Pi.

Balena Pi Hole

This project is a balenaCloud stack with the following services:

Configuration Changes

Static IP Addres

Set a static IP Address in case the device reboots.

You have to be in /mnt/boot/system-connections to make persistent changes.

[ipv4]
address1=192.168.1.111/24,192.168.1.1
dns=8.8.8.8;8.8.4.4;
dns-search=
method=manual

Audio Output

The initial output from the 3.5mm hack was very low, even with my audio mixer turned up.

Open the terminal to the audio service and type alsamixer, use the up arrow to increase the volume to 100

Alsamixer https://forums.raspberrypi.com/viewtopic.php?f=63&t=298119&start=25#p1799483

About

Balena cloud - Sound & PiHole Repo


Languages

Language:TypeScript 38.4%Language:HTML 31.8%Language:Shell 25.5%Language:Dockerfile 2.3%Language:CSS 2.1%