Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

High carb ratios on x23 pumps are off by 10x #27

Open
scottleibrand opened this issue Jul 3, 2017 · 1 comment
Open

High carb ratios on x23 pumps are off by 10x #27

scottleibrand opened this issue Jul 3, 2017 · 1 comment

Comments

@scottleibrand
Copy link
Contributor

Per openaps/openaps#111:

On x23 pumps with carb ratios set > 25 grams / U, openaps reads the carb ratio incorrectly as 0.26, 0.27, etc.

$ openaps use 523 read_carb_ratios
{
  "units": "grams",
  "first": 1,
  "schedule": [
    {
      "q": 0,
      "start": "00:00:00",
      "r": 100,
      "ratio": 10.0,
      "offset": 0,
      "i": 0,
      "x": 0
    },
    {
      "q": 1,
      "start": "23:30:00",
      "r": 4,
      "ratio": 0.26,
      "offset": 1410,
      "i": 47,
      "x": 1
    }
  ]
}

What other info would be useful to collect to correct the decoding here?

@moomoobloo
Copy link
Contributor

moomoobloo commented Jul 3, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants