OpenWRT image for a Wifi speaker
- Minimal image - config
- RPi (3+) - config
- DAC support - 10_enable_justboom-dac_hat
- Wifi config
- Initial / setup - 30_wifi_enable
- Client - loud_setup.sh
- Spotify - https://github.com/izer-xyz/librespot-openwrt
- Airplay - shairplay-sync
- Dockerd - not used / future use
TBD
- 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/