-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
GarmingPlugin local server at /sgv.json endpoint returns constant tbr:0 #3745
Comments
I can't reproduce this problem, as I have already changed it for myself privately. |
Thanks for adding me @swissalpine and proposing a fix @suside. I don't really understand why my implementation doesn't work (anymore?) but anyway, it would be great if you'd fix it! |
Thanks for the feedback guys, PR on the way. |
Use ProcessedTbrEbData in Garmin /sgv.json endpoint, resolves #3745
Use TemporaryBasalExtension in Garmin /sgv.json endpoint, resolves #3745
Just like in the title, tested on Android Pixel+Spirit Combo and emulator+virtual pump, latest version of AAPS 3.3.1.0
Whatever the temp basal actually is, the endpoint will always return
0
.Current behavior, given basal rate 90:
Expected behavior, given basal rate 90:
Simple POC fix I did is just a copy & paste from XDrip plugin like so:
Unit tests didn't catch that because they are mocked at higher level.
Should I create PR? Please advise, have a nice day 🙂
The text was updated successfully, but these errors were encountered: