Giter VIP home page Giter VIP logo

glucoseviewer's People

Contributors

chasepeeler avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

brettkolodny

glucoseviewer's Issues

Better exception/error handling

Determine a way to trigger an API call from outside the main app so that I can do so after a settings change - instead of the current method where it just calls every 15 seconds if the URL isn't set or there is another type of failure

Possible issue with mmol data

Nightscout URL is correct and Open Nightcout button works correctly.

Error message in Xcode debug window:

typeMismatch(Swift.Int, Swift.DecodingError.Context(codingPath: [CodingKeys(stringValue: "bgs", intValue: nil), _JSONKey(stringValue: "Index 0", intValue: 0), CodingKeys(stringValue: "bgdelta", intValue: nil)], debugDescription: "Expected to decode Int but found a string/data instead.", underlyingError: nil))

Indicate stale records

If the API shows the last reading as being more than 10 minutes in the past, find a way to indicate that. Perhaps in place of the delta like glance does.

Potential to follow two or more data sources

Discussed in #10

Originally posted by peterlynton January 23, 2023
@chasepeeler Would it be possible to add in the ability to follow more than one data source? Many diabetics have family members who are also diabetic so it would be a useful addition.

API call errors out if datetime is a double

dataCorrupted(Swift.DecodingError.Context(codingPath: [CodingKeys(stringValue: "bgs", intValue: nil), _JSONKey(stringValue: "Index 0", intValue: 0), CodingKeys(stringValue: "datetime", intValue: nil)], debugDescription: "Parsed JSON number <1674000772734.903> does not fit in Int.", underlyingError: nil))

Schedule API calls based on last update time

Instead of just running the API call every 5 minutes, use the time of the last reading in the API results to and schedule the next API call for 5 minutes and a few seconds after that

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.