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

FPU Support feature #3

Open
paddingtonil opened this issue Apr 29, 2020 · 5 comments
Open

FPU Support feature #3

paddingtonil opened this issue Apr 29, 2020 · 5 comments

Comments

@paddingtonil
Copy link

Would be awesome to have support for fat protein units

@ivalkou
Copy link
Owner

ivalkou commented May 22, 2020

I think this is not yet possible to do separately from the official Loop.

@mountrcg
Copy link

I Ivan, I have been thinking about the same for a while. I do not eat carbs. Currently I am running a shortcut that calculates "silly" carb equivvalents for my fat and protein amounts. It even stores the fat and protein values on Nightscout. So all the shortcut does is calculates a uniform distribution of fat and protein over time with carb equivalents. I provide a link to the shortcuts below.
Parameters are only

  • maximal distribution of FPU in hours ( as I don't want to go above 8 hrs)
  • FP-Calories ratio - how many calories from Fat and protein would represent 1 carb unit (in my case 100)
  • CarbRatio - 1 carb unit represents how many grams of carbs (in my case 12)

I find it silly to represent the insulination of FPU as insulination of carbs. Screws up all the statistics. Shouldnt it be represented by the intake of FPU, then use the FPU algorithm to just translate into insulin requierements and not document any carbs?

Shortcuts are based on Robert Silvers work on FPU for Loop:
https://www.icloud.com/shortcuts/1f396a9688aa48d2a1767425e6134d95
https://www.icloud.com/shortcuts/3a7a3f00c9674136815bdb0024b960a1

@dyjaks
Copy link

dyjaks commented Jun 13, 2020

@mountrcg I actually started this on my own a few months back but then work picked up too much. What the "right" thing to do (IMO) is you'd have to refactor all of carbkit to be mealkit and then add a carbkit, proteinkit, and fatkit. Reason being if someone edits a fpu entry you have to translate it back to the protein and fat so that it can be edited (and decayed) properly. Quite a bit of work and would need a lot of testing.

Just my $0.02.

@mountrcg
Copy link

Totally understand the hang up in every implementation. All are carb centric and that will be somehow structurally manifested and only changeable with hefty efforts. I don’t hope for much, but wanted it to be Voiced.

@mountrcg
Copy link

mountrcg commented Jul 8, 2020

updated Shortcuts as Spike used to overwrite the Fat & Protein Carb Corrections if at same time a carb value was logged in health, which is the case in 95% of my entries for sth like 6grams in veggies and such, so therefore I add 10min to the entry time of fats and proteins:
Loop FPU Rob: https://www.icloud.com/shortcuts/70977be968dd432cb6258ab2a5faca44
Nightscout Macro Entry: https://www.icloud.com/shortcuts/f3a494e04b3b441d982b0c473f03852e

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

No branches or pull requests

4 participants