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

Ensure that HIGH and LOW values are reported when using share2bridge #7207

Conversation

cpitchford
Copy link
Contributor

Dexcom apps/receivers report HIGH for 401mg/dl and LOW for 39mg/dl

When using share2nightscout-bridge, the device is set as "share2" and this corrects the code so it can display HIGH and LOW for these limit values when received.

Without this, the high and low values are reported numerically and differently to the Dexcom app/receiver

Using share2nightscout-bridge, the device property is defined as 'share2'

displayBg should honour the Dexcom HIGH and LOW values when the device is share2

This ensures that NightScout returns "LOW" for 39mg/dl and "HIGH" for 401mg/dl as is reported in the Dexcom app/receiver.
@cpitchford cpitchford force-pushed the wip/cpitchford/support_high_low_share2_device branch from b9c8950 to 8d83617 Compare December 2, 2021 02:38
@bewest bewest merged commit 3def3a4 into nightscout:dev Dec 3, 2021
@bewest
Copy link
Member

bewest commented Dec 3, 2021

Thank you very much for this and the mmol enhancement! Including for next release.

@cpitchford
Copy link
Contributor Author

Awesome! Thanks for merging. I’d like to get my local changes merged in so I can take up the request for testing. Sadly, I’ve been running an older version (without problem) and tweaking as I went. It’ll be good to get back to master/dev

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

Successfully merging this pull request may close these issues.

None yet

2 participants