Skip to content

Conversation

@gestrich
Copy link

A user can add a remote carb entry from Nightscout. The input box allows a start date/time to be selected. The "start-time" seconds component is always "00". If a user inputs 2 entries for the same time, this can be a problem. Nightscout expects treatments to have unique "created-date"s (which I believe is derived from "start-time" in the carb entry case). The result is the 2nd remote carb entry will not be visible in Nightscout or Caregiver. The fix here on the Loop side is to add a random seconds component to each incoming remote carb entry.

There is more information in the attached Caregiver case, including some information from Ben West LoopKit/LoopCaregiver#33

ps2 and others added 30 commits June 14, 2022 09:34
Updated translations from Lokalise on Sat Aug 19 14:25:48 CDT 2023
* Upload cgm events

* Add sensor id to Sensor Start treatment

* Record more info about glucose sample source
@gestrich gestrich closed this Jan 31, 2024
ps2 pushed a commit to LoopKit/NightscoutService that referenced this pull request Oct 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants