]> Dashboard tile for Backblaze64, backed by its key-authenticated /api/v1/status API. Shows live upload speed, backup progress, file counts, failures, memory usage, and connection latency on your Unraid Dashboard, with a drag-and-drop settings page to choose which fields appear and where, plus color and layout themes for the tile itself. ### &version; - Added "Current File": an optional line below Scan Progress / Backup Total (Item Sorting tab, off by default) showing the name of the file currently being backed up with its own small progress bar. Only appears while a file is actively transferring (not just when the API has a filename cached from earlier), and requires the API key to have read:files permission -- without it, checking the box shows nothing rather than an error, the same graceful no-op Scan Progress already uses - Fixed the Dashboard tile's stylesheet and script URLs having no cache-busting version string, unlike the Settings page's own asset links -- CSS/JS fixes could reach the Settings page immediately but sit stale on the Dashboard tab until a hard browser refresh ### 2026.08.15.1 - Added a "Color Theme" tab with 12 color palettes (Default, Ocean, Sunset, Forest, Rose, Amber, Teal, Coral, Indigo, Lime, Steel, Plum). Each theme recolors the full good/elevated/problem status progression throughout the tile, not just the "good" accent, and its settings cell shows a full-width legend bar demonstrating all three colors at the real thresholds (bad under 34%, elevated 34-66%, good from 67% up) - Added a "Style Theme" tab with 8 layouts for the tile's expanded field list, independent of Color Theme (which only changes colors): Default, Rings (circular gauges for percentage fields), Compact (dense single-column list with a dotted leader line), Cards (bordered stat cards with a thin accent bar), Segmented (a retro block-meter bar), Spotlight (Upload Rate as a big hero stat), Minimal (plain typography, no boxes or bars), and Icons (icon + label/value rows with a thin inline bar). Each option previews its real renderer fed with sample data - Updated the default field selection and order for new installs (and "Reset to Defaults") to a more useful out-of-the-box layout: Last Backup, Total Files, Completed Files, Failed Files, Health, and First Backup are now on by default; Scan Progress and Backup Total are on by default in the collapsed tile's second row; State is now off by default ### 2026.08.15 - Switched the data source from scraping the container's built-in /monitor/ page to its key-authenticated /api/v1/status endpoint. Works whether the container's own Web Authentication is on or off, and no longer depends on that page's internal markup - Connection tab: replaced Secure Connection with an API Key field (generate one from Backblaze64's own Web UI -> API tab -> Read permission). Scheme (http/https) is now detected automatically instead of asked for - Removed the Data Points tab -- each field on the Item Sorting tab's Expanded Columns now carries its own show/hide checkbox instead, alongside the existing drag-to-reorder handle - Added eight new fields, sourced from the API and off by default: Last Backup (days since), Total Files, Completed Files, Failed Files (shown in red once non-zero), Health (reads "OK" in green, or the first reported issue in red), Uploads Today (success/failure counts for the day), First Backup (only appears while a first pass is still running, in "Day X" form), and Scan Progress (only appears while a file-list scan is running, with a progress bar) - Added Failed Files as an option for the tile's collapsed summary line - Item Sorting tab now notes that Scan Progress (both in Expanded Columns and the second collapsed row) only appears on the tile while a scan is actually running - Tile now reads "Please add API key to plugin settings" when no key is configured, and "Error with API access, check plugin settings and key access" if the API can't be reached or the key is rejected - Cleaned up a stray, incorrectly-named empty directory (`{css,js,include}`) that had been shipping inside the package since an early build ### 2026.08.14 - Fixed the live preview being unreadable (dark card background with black text, and a white-on-white "Live Preview" label) -- the preview markup sat outside the settings form's own theme-aware styling scope, so it always used dark-mode colors regardless of the actual Unraid theme, and its text color never got set to match ### 2026.08.13 - Added a "Collapsed Tile Data" section on the Item Sorting tab: choose which of State, Upload Rate, Files Remaining, and Backup ETA appear on the tile's collapsed summary line, and drag to set their order - When Files Remaining reaches 0, the collapsed summary now shows "Backup Complete" in green instead of "0 files left" - Backup ETA on the collapsed line now reads "ETA 2d 3h" instead of "Backup ETA 2d 3h", to save space -- the expanded column view is unchanged - Added a live preview above the settings tabs, showing the actual tile with real data, updating as Data Points and Item Sorting settings change, before Apply ### 2026.08.12 - Renamed every shared PHP function to a plugin-specific prefix (bbmon_ instead of bb_dash_), fixing a fatal "cannot redeclare function" error that occurred when this plugin and the original Backblaze64 Dash Monitor plugin were both installed at once, which could blank the entire Dashboard page - Removed the unused username/password fields from Connection settings - Hardened the tile against unexpected/missing fields in the monitor's JSON response, so a malformed response degrades to an error message on the tile instead of a blank Dashboard page ### 2026.08.11 - Initial release # Remove old package versions, keep only the one being installed rm -f $(ls &pluginLOC;/&name;*.txz 2>/dev/null | grep -v '&packageVER;') mkdir -p &pluginLOC; &packageURL; a70c4bb94ee699f01f756b938e8691a07c650a3b799f79a8dbedc6ca02676d74 echo "" echo "----------------------------------------------------" echo " Backblaze64 Monitor has been installed." echo " Version: &version;" echo "" echo " Next step: go to Settings -> Utilities -> Backblaze64 Monitor" echo " and enter your Backblaze64 container's address and port, plus" echo " an API key generated from its own Web UI (API tab, Read" echo " permission), then check the Dashboard page." echo "----------------------------------------------------" echo "" rm -rf &emhttpLOC; removepkg &packageName; 2>/dev/null # Keep the user's saved settings (server address, key, toggles) on the # flash drive in case they reinstall later. Uncomment to wipe them too: # rm -rf &pluginLOC; echo "" echo "----------------------------------------------------" echo " Backblaze64 Monitor has been removed." echo " Your settings were kept at &pluginLOC; in case you" echo " reinstall -- delete that folder manually if you" echo " don't want them kept." echo "----------------------------------------------------" echo ""