-
Notifications
You must be signed in to change notification settings - Fork 396
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
Adding CGM support for Dexcom touchscreen receivers #1182
Conversation
The latest node-js for raspbian deprecates the use of nodejs-legacy, which breaks this script on new pi installs. This will make it so that nodejs-legacy is only installed on the edison.
* Adds ``g6`` and ``g6-upload`` support for Dexcom touchscreen CGM receivers. Note that these work with G5 transmitters as well.
Am I reading this correctly that it's safe to merge this even without openaps/openaps#139, but that is a dependency for actually selecting g6 or g6-upload when running oref0-setup? |
This one is safe to merge before #139 and the underlying dexcom_reader project. But that's correct that the user should not specify G6 or G6-upload. |
@@ -682,6 +684,9 @@ if [[ $REPLY =~ ^[Yy]$ ]]; then | |||
if [[ ${CGM,,} =~ "g5" || ${CGM,,} =~ "g5-upload" ]]; then | |||
openaps use cgm config --G5 | |||
openaps report add raw-cgm/raw-entries.json JSON cgm oref0_glucose --hours "24.0" --threshold "100" --no-raw | |||
elif [[ ${CGM,,} =~ "g6" || ${CGM,,} =~ "g6-upload" ]]; then | |||
openaps use cgm config --G6 | |||
openaps report add raw-cgm/raw-entries.json JSON cgm oref0_glucose --hours "24.0" --threshold "100" --no-raw |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for fixing this bug! I ran into it a while ago and gave up on it because I couldn't track it down in the time I had. I'm closing this PR and opening a new one that both adds setup support for touchscreen receivers, fixes this bug, and makes some changes to oref0-cron-every-minute
to make the CGM loop work with the new receivers too.
Replacing with #1217 |
… receivers (#1217) * Add support for touchscreen receivers, fix CGM loop bug for connected receivers Changed files: `oref0-setup.sh` - Includes cgm_loop_path fix found by @chuckj for both G5 and G6 (8799a13 to fix #1149) and includes support for G5/G6 touch receivers (previously under #1182) `oref0-cron-every-minute.sh` - Reincluding support for offline CGM, with optional upload, for G5 and G6 receivers * Readding accidentally removed logging Reenables apache-chainsaw support * Resolving conflicts with newly merged changes * Touchup
g6
andg6-upload
support for Dexcom touchscreen CGM receivers. Note that these receivers work with G5 transmitters as well.Must merge these two in order first for this to work without breaking things: