timoschlueter / nightscout-librelink-up

Script written in TypeScript that uploads CGM readings from LibreLink Up to Nightscout.
MIT License
201 stars 252 forks source link

Import trend/direction from LibreLink Up #5

Closed timoschlueter closed 2 years ago

timoschlueter commented 2 years ago

The plugin does not import trend/direction information yet. The information is available via LibraLink Up, therefore we should import the values. There probably needs to be a mapping of some sort.

Nightscout accepts the following values:

Value Symbol
NONE
TripleUp
DoubleUp
SingleUp
FortyFiveUp
Flat
FortyFiveDown
SingleDown
DoubleDown
TripleDown
NOT COMPUTABLE -
RATE OUT OF RANGE
sebdei commented 2 years ago

7

timoschlueter commented 2 years ago

Thanks again, @sebdei! :)