Skip to content

1.3.x: Trend arrow missing from current BG value (in header/dashboard) #456

Closed

Description

@danibjor

Looks like the trend arrow is missing from the BG value in the header on the newer builds. I think it's v1.3.x+

Activity

  1. ps2 commented on Apr 25, 2017

    @ps2
    Collaborator

    What CGM are you using?

  2. danibjor commented on Apr 25, 2017

    @danibjor
    Author

    Enlite. It did work before. Tried with the latest Dev bits from approx 24 hours back, and it's still missing

  3. ps2 commented on Apr 25, 2017

    @ps2
    Collaborator

    I don't believe we parse arrows on enlite on x22. Are you x23? Have you done a mysentry pairing?

  4. danibjor commented on Apr 26, 2017

    @danibjor
    Author

    My bad. Should know better than not including basic stuff when reporting issues..

    754 EU pump

    That's running pre-1.3 (with trend arrow)

    unnamed

  5. ps2 commented on Apr 26, 2017

    @ps2
    Collaborator

    Yes, I think I see what's going on. It was part of the CGM refactor that happened in this version. We track a variable called latestPumpStatusFromMySentry that contains trend from mysentry packets. We still track that var, but the displayed trend arrow comes from sensorState on the cgm data manager (EnliteCGMManager). I think we should get rid of latestPumpStatusFromMySentry, and instead update the instance of EnliteCGMManager with a new sensorState when a mysentry packet comes in, and also make sure to not overwrite sensorState when history cgm data is fetched, unless the history cgm value is newer.

    I don't run Enlite, so this would be a hard change for me to test. Are you able to attempt this change and submit a PR?

  6. danibjor commented on Apr 27, 2017

    @danibjor
    Author

    I'll take a look and see if I could debug this - and maybe provide a fix.

    Any tips are welcome as I don't have the full overview after the stuff was refactored.

  7. iMaces commented on Sep 11, 2017

    @iMaces

    Any kind of update on this? I would love the trend arrows to be back for elite users. (Still not working on latest dev build). Would like to help but don't know where to begin (very new to coding).

  8. added a commit that references this issue on Oct 4, 2021
  9. added a commit that references this issue on Jan 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions