Skip to content

Commit d6991c6

Browse files
Document Nightscout database size info row and alarm (#46)
* 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. * Clarify DB Size description in lf-setup.md Updated the DB Size description to specify Megabytes (MB) instead of MiB for clarity. --------- Co-authored-by: Marion Barker <19607791+marionbarker@users.noreply.github.com>
1 parent 62da32c commit d6991c6

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

docs/setup/lf-features.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ The table below lists every alarm type available in *LoopFollow*, organized by g
7575
| Sensor Change Alert | Sensor change due |
7676
| Not Looping Alert | Loop hasn't completed within a configurable number of minutes |
7777
| Looping app expiration | Looping-app build is expiring soon |
78+
| Nightscout Database Size | *Nightscout* database has filled to or above a chosen percentage of its configured size limit (defaults to 75%, daytime only) |
7879

7980
#### Override / Target
8081

docs/setup/lf-setup.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,10 @@ These items can be chosen for display on the Home screen. A Nightscout Site is r
265265
| Updated | Time of last `loop` | `Trio` |
266266
| TDD | Total Daily Dose in the last 24 hours | `Trio` |
267267
| IAGE | Insulin Age | Both |
268+
| DB Size | *Nightscout* database size: Megabytes (MB) used and the percentage of the site's configured limit. Hidden by default | Both |
269+
270+
!!! note "DB Size"
271+
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.
268272

269273
### Units and Metrics
270274

0 commit comments

Comments
 (0)