From 3fd569a9b801aeeb971e0b3d102c4e866a2265f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20Bj=C3=B6rkert?= Date: Mon, 20 Jul 2026 22:29:30 +0200 Subject: [PATCH 1/2] Document Nightscout database size info row and alarm Add the DB Size info row to the Information Display table and the Nightscout Database Size alarm to the Alarm Types reference, with a note explaining the dbsize plugin requirement and the DBSIZE_MAX caveat. --- docs/setup/lf-features.md | 1 + docs/setup/lf-setup.md | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/docs/setup/lf-features.md b/docs/setup/lf-features.md index d3df5a7..b0ed4b7 100644 --- a/docs/setup/lf-features.md +++ b/docs/setup/lf-features.md @@ -75,6 +75,7 @@ The table below lists every alarm type available in *LoopFollow*, organized by g | Sensor Change Alert | Sensor change due | | Not Looping Alert | Loop hasn't completed within a configurable number of minutes | | Looping app expiration | Looping-app build is expiring soon | +| Nightscout Database Size | *Nightscout* database has filled to or above a chosen percentage of its configured size limit (defaults to 75%, daytime only) | #### Override / Target diff --git a/docs/setup/lf-setup.md b/docs/setup/lf-setup.md index 3062483..50f3bd1 100644 --- a/docs/setup/lf-setup.md +++ b/docs/setup/lf-setup.md @@ -265,6 +265,10 @@ These items can be chosen for display on the Home screen. A Nightscout Site is r | Updated | Time of last `loop` | `Trio` | | TDD | Total Daily Dose in the last 24 hours | `Trio` | | IAGE | Insulin Age | Both | +| DB Size | *Nightscout* database size: used MiB and the percentage of the site's configured limit. Hidden by default | Both | + +!!! note "DB Size" + The **DB Size** row and the [*Nightscout* Database Size alarm](lf-features.md#alarms){: target="_blank" } both read from *Nightscout*'s `dbsize` plugin, so your site must have that plugin enabled. The percentage is measured against the site's `DBSIZE_MAX` setting, which is **496 MiB** unless the site owner changed it. Because that setting may not match your hosting plan's real limit, the row leads with the absolute used MiB figure, which is always meaningful. ### Units and Metrics From b284b98e7321658cc63226705286c42ed88ab1b9 Mon Sep 17 00:00:00 2001 From: Marion Barker <19607791+marionbarker@users.noreply.github.com> Date: Tue, 21 Jul 2026 16:41:41 -0700 Subject: [PATCH 2/2] Clarify DB Size description in lf-setup.md Updated the DB Size description to specify Megabytes (MB) instead of MiB for clarity. --- docs/setup/lf-setup.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/setup/lf-setup.md b/docs/setup/lf-setup.md index 50f3bd1..8c1b47e 100644 --- a/docs/setup/lf-setup.md +++ b/docs/setup/lf-setup.md @@ -265,10 +265,10 @@ These items can be chosen for display on the Home screen. A Nightscout Site is r | Updated | Time of last `loop` | `Trio` | | TDD | Total Daily Dose in the last 24 hours | `Trio` | | IAGE | Insulin Age | Both | -| DB Size | *Nightscout* database size: used MiB and the percentage of the site's configured limit. Hidden by default | Both | +| DB Size | *Nightscout* database size: Megabytes (MB) used and the percentage of the site's configured limit. Hidden by default | Both | !!! note "DB Size" - The **DB Size** row and the [*Nightscout* Database Size alarm](lf-features.md#alarms){: target="_blank" } both read from *Nightscout*'s `dbsize` plugin, so your site must have that plugin enabled. The percentage is measured against the site's `DBSIZE_MAX` setting, which is **496 MiB** unless the site owner changed it. Because that setting may not match your hosting plan's real limit, the row leads with the absolute used MiB figure, which is always meaningful. + The **DB Size** row and the [*Nightscout* Database Size alarm](lf-features.md#alarms){: target="_blank" } both read from *Nightscout*'s `dbsize` plugin, so your site must have that plugin enabled. The percentage is measured against the site's `DBSIZE_MAX` setting, which is **496 MB** unless the site owner changed it. Because that setting may not match your hosting plan's real limit, the row leads with the absolute used MB figure, which is always meaningful. ### Units and Metrics