mirror of
https://github.com/bckelley/cgm-remote-monitor.git
synced 2026-08-24 03:14:12 -05:00
Bolus settings (#6834)
* Add bolus plugin and restructure rendering settings * Add setting to prevent automated micro boluses from triggering notifications and snoozing alarms * clean up * Small change to the bolus-settings branch so it supports flexible configuration that enables the old behavior * Translations * Fix settings default Co-authored-by: Jason Calabrese <jason@cbrese.com>
This commit is contained in:
co-authored by
Jason Calabrese
parent
84ac8f7e74
commit
d762694b83
@@ -104,6 +104,7 @@ See [CONTRIBUTING.md](CONTRIBUTING.md)
|
||||
- [`bage` (Battery Age)](#bage-battery-age)
|
||||
- [`treatmentnotify` (Treatment Notifications)](#treatmentnotify-treatment-notifications)
|
||||
- [`basal` (Basal Profile)](#basal-basal-profile)
|
||||
- [`bolus` (Bolus Rendering)](#bolus-bolus-rendering)
|
||||
- [`bridge` (Share2Nightscout bridge)](#bridge-share2nightscout-bridge)
|
||||
- [`mmconnect` (MiniMed Connect bridge)](#mmconnect-minimed-connect-bridge)
|
||||
- [`pump` (Pump Monitoring)](#pump-pump-monitoring)
|
||||
@@ -313,7 +314,6 @@ To learn more about the Nightscout API, visit https://YOUR-SITE.com/api-docs/ or
|
||||
* The `linear` option has equidistant tick marks; the range used is dynamic so that space at the top of chart isn't wasted.
|
||||
* The `log-dynamic` is similar to the default `log` options, but uses the same dynamic range and the `linear` scale.
|
||||
* `EDIT_MODE` (`on`) - possible values `on` or `off`. Enables the icon allowing for editing of treatments in the main view.
|
||||
* `BOLUS_RENDER_OVER` (1) - U value over which the bolus values are rendered on the chart if the 'x U and Over' option is selected. This value can be an integer or a float, e.g. 0.3, 1.5, 2, etc...
|
||||
|
||||
### Predefined values for your server settings (optional)
|
||||
* `INSECURE_USE_HTTP` (`false`) - Redirect unsafe http traffic to https. Possible values `false`, or `true`. Your site redirects to `https` by default. If you don't want that from Nightscout, but want to implement that with a Nginx or Apache proxy, set `INSECURE_USE_HTTP` to `true`. Note: This will allow (unsafe) http traffic to your Nightscout instance and is not recommended.
|
||||
@@ -470,12 +470,20 @@ To learn more about the Nightscout API, visit https://YOUR-SITE.com/api-docs/ or
|
||||
* `BAGE_URGENT` (`360`) - If time since last `Pump Battery Change` matches `BAGE_URGENT` hours, user will be issued a persistent warning of overdue change (default of 360 hours is 15 days).
|
||||
|
||||
##### `treatmentnotify` (Treatment Notifications)
|
||||
Generates notifications when a treatment has been entered and snoozes alarms minutes after a treatment. Default snooze is 10 minutes, and can be set using the `TREATMENTNOTIFY_SNOOZE_MINS` [extended setting](#extended-settings).
|
||||
Generates notifications when a treatment has been entered and snoozes alarms minutes after a treatment.
|
||||
* `TREATMENTNOTIFY_SNOOZE_MINS` (`10`) - Number of minutes to snooze notifications after a treatment is entered
|
||||
* `TREATMENTNOTIFY_INCLUDE_BOLUSES_OVER` (`0`) - U value over which the bolus will trigger a notification and snooze alarms
|
||||
|
||||
##### `basal` (Basal Profile)
|
||||
Adds the Basal pill visualization to display the basal rate for the current time. Also enables the `bwp` plugin to calculate correction temp basal suggestions. Uses the `basal` field from the [treatment profile](#treatment-profile). Also uses the extended setting:
|
||||
* `BASAL_RENDER` (`none`) - Possible values are `none`, `default`, or `icicle` (inverted)
|
||||
|
||||
##### `bolus` (Bolus Rendering)
|
||||
Settings to configure Bolus rendering
|
||||
* `BOLUS_RENDER_OVER` (`0`) - U value over which the bolus labels use the format defined in `BOLUS_RENDER_FORMAT`. This value can be an integer or a float, e.g. 0.3, 1.5, 2, etc.
|
||||
* `BOLUS_RENDER_FORMAT` (`default`) - Possible values are `hidden`, `default` (with leading zero and U), `concise` (with U, without leading zero), and `minimal` (without leading zero and U).
|
||||
* `BOLUS_RENDER_FORMAT_SMALL` (`default`) - Possible values are `hidden`, `default` (with leading zero and U), `concise` (with U, without leading zero), and `minimal` (without leading zero and U).
|
||||
|
||||
##### `bridge` (Share2Nightscout bridge)
|
||||
Glucose reading directly from the Dexcom Share service, uses these extended settings:
|
||||
* `BRIDGE_USER_NAME` - Your username for the Share service.
|
||||
|
||||
Reference in New Issue
Block a user