]> ###2026.05.01 - Fix "Starting disk_activity daemon..." message persisting in Unraid footer after array start - Stop event now suppresses output to keep footer clean ###2026.03.15.2 - Activity bar now fills entire cell width instead of fixed 60px - Fix daemon not starting automatically when plugin is installed while array is running - Add configurable averaging window: Instant (2s), 10 seconds, 1 minute, 5 minutes - Daemon uses circular buffer with rolling average over selected window - Column header dynamically reflects selected window (e.g. "10S Activity", "1MIN Activity") - New Averaging Window dropdown on Settings page ###2026.03.09 - Initial release - Show disk I/O activity percentage (0-100%) next to Errors column on Main page - Supports Array Devices, Pool Devices, and Boot Device - Summary rows display average activity across all pool members - Three display modes: progress bar, colored text, or plain text - Configurable via Settings > Disk Activity - Real-time polling every 2 seconds - Color-coded thresholds: green (<40%), orange (40-69%), red (70-89%), dark red (90%+) - Light theme support - Automatic start/stop with array via Unraid event hooks /dev/null fi ]]> &txzURL; &md5; /dev/null; then /usr/local/emhttp/plugins/disk.activity/scripts/rc.disk_activity start fi # Clean up old versions from boot flash cd /boot/config/plugins/disk.activity shopt -s nullglob for f in disk.activity-*.txz; do [[ "$f" == "disk.activity-&version;.txz" ]] && continue rm -f "$f" done echo "" echo "----------------------------------------------------" echo " Disk Activity Plugin v&version; installed." echo " Refresh the Main page to see the Activity column." echo "----------------------------------------------------" echo "" ]]> /dev/null # Clean up runtime files rm -f /var/local/emhttp/disk_activity.ini rm -f /var/local/emhttp/disk_activity.tmp rm -f /var/run/disk_activity.pid # Clean up plugin directory (only emhttp, not boot config) rm -rf /usr/local/emhttp/plugins/disk.activity # Clean up boot flash config rm -rf /boot/config/plugins/disk.activity echo "" echo "----------------------------------------------------" echo " Disk Activity Plugin removed." echo "----------------------------------------------------" echo "" ]]>