Skip to content

Create a lock screen widget to show basic info #276

Closed

Description

@bharat

I've done some basic research on this and it looks like it should be relatively straightforward to create a "Today Extension" that shows basic glucose, IOB, COB info on the iOS lock screen. Creating this issue as a way to track and collaborate any work on this project. I plan to work on this in the near term (but we'll see how that goes).

Activity

  1. elnjensen commented on Nov 23, 2016

    @elnjensen
    Contributor

    I think this is a great idea; I had thought of it before but didn't follow through. I think something similar to the HUD (top row of icons) in Loop could work well. Maybe even some of that code could be reused?

    Actually maybe the first three icons (loop symbol, BG + trend, current temp rate) and then replace next two with IOB and COB? Reservoir and battery status aren't as important for quick look.

    What were you thinking of @bharat?

  2. bharat commented on Nov 23, 2016

    @bharat
    Author

    For me, the current BG and the graph are the most useful - but I'm open to ideas here.

  3. elnjensen commented on Nov 24, 2016

    @elnjensen
    Contributor

    I'm ałready using the lock screen widget from the Dexcom G5 app, and those are the two things it shows already, graph and current BG: https://www.dexcom.com/g5-app-update I guess G4 users wouldn't have those, so this could replace that. But coming from G5, it would add more value if it also included some basic Loop info.

  4. bharat commented on Nov 26, 2016

    @bharat
    Author

    Ok - I've got a basic version of this up and running. Right now it only shows the current blood glucose, but it should be relatively easy to add the rest now that I've got the plumbing in place.

    Code is here:
    https://github.com/bharat/Loop/tree/lock-screen-widget

    Currently looks like this:
    screen shot 2016-11-25 at 7 12 16 pm

    More to come...

  5. elnjensen commented on Nov 26, 2016

    @elnjensen
    Contributor

    Excellent! Let me know if you want me to test something at any point. Thanks for your work on this.

  6. bharat commented on Nov 27, 2016

    @bharat
    Author

    Ok - I have all the plumbing in now for the HUD. I'm going to test it out with different units (thus far only been playing with mg/dL) then submit a PR and let somebody pick through it and tell me what to change :-)

    Feel free to play with https://github.com/bharat/Loop/tree/lock-screen-widget if you'd like to try it on your iPhone..

    screen shot 2016-11-26 at 5 13 13 pm

  7. loudnate commented on Nov 27, 2016

    @loudnate
    Collaborator
  8. bharat commented on Nov 27, 2016

    @bharat
    Author

    Agreed - I think there's a lot of cleanup that likely needs to happen. I think that this is roughly ready to go. I've submitted a pull request. Happy to make whatever changes you'd like to get this ready to go.

  9. jmatheson commented on May 18, 2017

    @jmatheson
    Contributor

    Is this and and other related issues closable?

  10. ps2 commented on May 18, 2017

    @ps2
    Collaborator

    I'll let @bharat close this if he's happy where it's at. Thanks again @bharat!

  11. elnjensen commented on Dec 16, 2017

    @elnjensen
    Contributor

    Reading through some old issues and wondering whether this one could be closed. @bharat What do you think?

  12. bharat commented on Dec 16, 2017

    @bharat
    Author

    yup, I think this one is ready to close. thanks for the reminder!

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