Skip to content

Commit 3bdb5e8

Browse files
Document BG Update Delay setting (#43)
* Document BG Update Delay setting * reformat Advanced Settings and Delay information for clarity --------- Co-authored-by: marionbarker <marionbarker@earthlink.net>
1 parent 5e2ec42 commit 3bdb5e8

1 file changed

Lines changed: 25 additions & 13 deletions

File tree

docs/setup/lf-setup.md

Lines changed: 25 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -490,32 +490,44 @@ For more detailed instructions, see [Real-Time Watch Updates using Contact](lf-f
490490

491491
- - -
492492

493-
### Advanced
493+
### Advanced Settings
494494

495-
Allows you to choose what information to download from Nightscout and to modify your graph
495+
A number of different options can be adjusted in this screen.
496496

497-
* Download Treatments
498-
* Download Prediction
499-
* Graph Basal
500-
* Graph Bolus
501-
* Graph Carbs
502-
* Graph Other Treatments
503-
* BG Update Delay
504-
* Logging options (turn on debug option)
497+
| Advanced Setting | Default | Description |
498+
|:--|:-:|:--|
499+
| Download Treatments | enabled | Treatments from Nightscout, if available, are downloaded and displayed |
500+
| Download Prediction | enabled | Predictions (forecast), if available, are downloaded and displayed |
501+
| Graph Basal | enabled | Actual Basal Rates, if available, are downloaded and displayed |
502+
| Graph Bolus | enabled | Manual and Automatic Bolus values, if available, are downloaded and displayed |
503+
| Graph Carbs | enabled | Meal Entries, if available, are downloaded and displayed |
504+
| Graph Other Treatments | enabled | Treatment notes, if available, are downloaded and displayed |
505+
| BG Update Delay | 10 sec | how many seconds *LoopFollow* waits before it fetches it from your data source<br>See [Update Delay Explained](#update-delay-explained)|
506+
| Debug Log Level | enabled | Allows you to enable or disable debug logging<br>See [Debug Log Level](#debug-log-level) |
505507

508+
#### Update Delay Explained
506509

507-
- - -
510+
The Update Delay is how many seconds *LoopFollow* waits, after a new reading is expected (about every 5 minutes), before it fetches it from your data source. *LoopFollow* is a follower, so a reading must first reach your source (*Nightscout* / *Dexcom Share*) before it can be pulled — this short buffer gives the value time to land before *LoopFollow* polls. The default is **10 seconds**, and the range is 1–30 seconds.
508511

509-
## Logging
512+
* Lowering it does not reliably make updates faster. If *LoopFollow* polls before the new value has arrived, it just re-reads the previous value and retries a few seconds later, which mainly adds extra polls (battery and network) without helping.
513+
* When *Nightscout* is your source with [WebSocket](#websocket) enabled and the app in the foreground, new values are pushed to *LoopFollow* as soon as they arrive, so this delay is not applied. It only affects background polling.
510514

511-
LoopFollow logs activity to a file that can be viewed within the app, and can be shared via email, a Notes file or Facebook messenger if needed. The log can be filtered and searched. This will aid in troubleshooting and diagnostics.
515+
#### Debug Log Level
512516

513517
The debug log option is enabled by default so that detailed information is available if you need to ask for help. The setting is found in the Advanced section and can be turned off if the logs seem too verbose.
514518

519+
- - -
520+
521+
## Logging
522+
515523
### View Log
516524

525+
LoopFollow logs activity to a file that can be viewed within the app, and can be shared if needed. Example ways to share are email, a Notes file or Facebook messenger. The log can be filtered and searched. This will aid in troubleshooting and diagnostics.
526+
517527
When you select View Log, you see the entire log but can also filter for particular types of activities.
518528

529+
If you want to modify whether Debug Log Level is enabled, go to [Settings, Advanced](#advanced-settings). But please read [Debug Log Level](#debug-log-level) before disabling this option.
530+
519531
### Share Logs
520532

521533
When you choose Share Logs, *LoopFollow* first asks you to describe the problem — what time it happened, what you did, and what you expected to happen that didn't. A short description makes it much easier for someone to help.

0 commit comments

Comments
 (0)