AmpliPi
AmpliPi copied to clipboard
Populate more system info
We need to add more information to make development, production, and release handling easier
- [ ] git hash and branch (embedded in version with deploy script) needed for normal releases? We can use/link to the version tag on GH
- [ ] firmware hash - Read by sw at init time
- [ ] firmware version - Read by sw at init time
- [ ] new release available - crontab script updates file with latest realease (daily)
- Get the latest release with
curl -s https://api.github.com/repos/micro-nova/AmpliPi/releases/latest | jq -r ".tag_name" - Requires json parser, jq
- Get the latest release with
- [ ] offline - crontab script updates file with online/offline status every 2min (1.1.1.1)
- Something like
nc -w 5 -z 1.1.1.1 53 >/dev/null 2>&1 && echo Online || echo Offline
- Something like
In another PR these will be integrated into the web ui Reminder
- Add link to version tag in ui