mddub / urchin-cgm

A graph of your CGM data on a Pebble watch.
MIT License
56 stars 45 forks source link

Status line "Active Basal NS Care Portal" not working correctly #72

Open andyrozman opened 6 years ago

andyrozman commented 6 years ago

I configured multiple status lines, because I wanted to see more data, but it seems that most interesting parts don't work (correctly).

Active Basal - NS Care Portal - works ok if active basal is set, if TBR is running then I get weird reading (Nan% NaN). This should display either Active Basal or Active TBR.

andyrozman commented 6 years ago

So it seems that code doesn't work correctly if rate is in percent (like mine). It might work correctly if rate is absolute (units).

andyrozman commented 6 years ago

I fixed this and prepared Pull Request (https://github.com/mddub/urchin-cgm/pull/77).