Add one-command install script and stability fixes

- Add install.sh for automated setup
- Add all component files (wrapper, service, config, verify)
- Add stability fixes section (WiFi PowerSave disable + Watchdog)
- Update README with new installation instructions
This commit is contained in:
Geert Rademakers
2026-02-17 23:17:38 +01:00
parent 0c078771a0
commit 9529f1b0e1
8 changed files with 406 additions and 5 deletions

12
verify.sh Executable file
View File

@@ -0,0 +1,12 @@
#!/bin/bash
echo "🔍 USB Audio Check:"
arecord -l | grep "card 0" || echo "⚠️ No card 0 found"
echo -e "\n📊 Service Status:"
systemctl status sonos-aux.service --no-pager || echo "⚠️ Service not running"
echo -e "\n📜 Last 20 log lines:"
journalctl -u sonos-aux.service -n20 --no-pager || echo "⚠️ No logs found"
echo -e "\n🌐 Icecast streams:"
curl -s http://localhost:8000/status-json.xsl 2>/dev/null | grep -o 'http[^<]*' || echo "⚠️ Icecast not responding"