AmpliPi icon indicating copy to clipboard operation
AmpliPi copied to clipboard

Populate more system info

Open linknum23 opened this issue 3 years ago • 0 comments

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
  • [ ] 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

In another PR these will be integrated into the web ui Reminder

  • Add link to version tag in ui

linknum23 avatar Jul 25 '22 21:07 linknum23