https://github.com/izer-xyz/loud
OpenWRT image for a Wifi speaker
https://github.com/izer-xyz/loud
audio dac openwrt rpi spotify
Last synced: 9 months ago
JSON representation
OpenWRT image for a Wifi speaker
- Host: GitHub
- URL: https://github.com/izer-xyz/loud
- Owner: izer-xyz
- License: mit
- Created: 2023-11-23T10:07:45.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2025-02-23T04:38:33.000Z (11 months ago)
- Last Synced: 2025-02-23T05:26:02.515Z (11 months ago)
- Topics: audio, dac, openwrt, rpi, spotify
- Language: Shell
- Homepage:
- Size: 136 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Loud
OpenWRT image for a Wifi speaker
* [x] Minimal image - [config](config#L6)
* [x] RPi (3+) - [config](config#L2)
* [x] DAC support - [10_enable_justboom-dac_hat](files/etc/uci-defaults/10_enable_justboom-dac_hat)
* https://shop.justboom.co/products/justboom-amp-zero-phat
* [x] Wifi config
* Initial / setup - [30_wifi_enable](files/etc/uci-defaults/30_wifi_enable)
* Client - [loud_setup.sh](files/usr/bin/loud_setup.sh#L30)
* [x] Spotify - https://github.com/izer-xyz/librespot-openwrt
* [x] Airplay - shairplay-sync
* [x] Dockerd - not used / future use
## Usage
TBD
## Troubleshooting
* Debug via Console cable:
* The red lead should be connected to 5V if you want to power via the cable, see below for details
* The black lead to GND (3rd pin down)
* The white lead to TXD on the Pi (4th pin down)
* The green lead to RXD on the pI (5th pin down)
* run portainer agent without docker cli
```
ctr -a /var/run/docker/containerd/containerd.sock image pull docker.io/portainer/agent:alpine
ctr -a /var/run/docker/containerd/containerd.sock run --rm -t --net-host --mount "type=bind,src=/var/run/docker.sock,dst=/var/run/docker.sock,options=rbind:rw" --privileged docker.io/portainer/agent:alpine pa
```
## References:
* https://openwrt.org/docs/guide-user/hardware/audio/usb.audio
* [openwrt-imagebuilder-action](https://github.com/izer-xyz/openwrt-imagebuilder-action)
* Build librespot - https://gist.github.com/michcioperz/99b40b861b158e2cbff507288d804c6b
* Build rust library - https://blog.dend.ro/building-rust-for-routers/