Artificial-Pancreas / iAPS

MIT License
176 stars 720 forks source link

Data sent to Garmin Device #447

Closed gonkowonko closed 8 months ago

gonkowonko commented 9 months ago

I believe the data being sent to the Garmin Device has changed in the dev branch, which has led to a breakage in what is shown on a garmin device.

Previously one of the properties was "trendRaw" but it used the text description i.e "FortyFiveDown" or "DoubleUp", now it appears that the data sent uses the special characters →, ⇈. See this link for how its used Link to GarminWatch repo

Another useful property was "glucoseDateInterval" which is similar to "lastLoopDateInterval" which is no longer be sent across. This was useful for when showing the time when the BG value was last updated if looping has been disabled due to something like a manual basal being set.

It would be nice if these 2 properties could be reinstated back if possible.

Jon-b-m commented 9 months ago

I don't use the Garmin myself. Please PR, if needed.

gonkowonko commented 9 months ago

What does that mean? If all users want to continue to use the garmin functionality one of us need to fix it?

gonkowonko commented 9 months ago

I've done some hacks to see if they work will test throughout the next few days if it works, I'll refine and create a PR 👍

gonkowonko commented 9 months ago

PR Raised https://github.com/Artificial-Pancreas/iAPS/pull/470