Hello all,
I’d like to share my recent experiences with setting up an “open loop” DIY system for my wife.
This is for the moment solely from a technical point of view as we have not been using it really yet. I hope some of you will find it useful.
It was quite a struggle but we made it finally. I’ll update this thread/topic when there is more to tell.
HW used:
- a 6 years old Lenovo S205 laptop running Win10
- a Samsung Galaxy A5 (2017) running stock version of AndroidOS 7
- a Blucon Nightrider bought from Sugarcubes (139EUR +25EUR shipping, received in a week, very nice shop)
… and of course the Libre sensors
SW used
- For building AndroidAPS executable file (.apk): Android Studio
Helpful forums / needed registrations
- GitHub - to get the source codes, wikis, installation guides
- Gitter - to get the support from community (in particular xDrip-plus and AndroidAPS conversations, very active and very helpful)
Codes
Step by step process that worked
- Get the “Libre CGM” running on Phone
-
Download and install the xDrip+ application (you may need to tune your phone so it accepts “non official” apps). This app will transform you phone into a CGM receiver/display
-
Turn on the Bluecon and put it on the Libre sensor (we are taping it over so it holds). This will make a Bluetooth transmitter for your BG values
-
Setup xDrip+ so it connects to the Bluecon (follow Bluecon instructions)
At this point you should have a “Libre CGM”. The connection was very stable for us, we tried it for about a week before going to the next step (I’ll report on the BGs in another post later)
- Get the Nightscout app running
-
Follow this link to Set Up Nightscout Using Heroku This is basically creating a hosting environment in the cloud, then installing and running your Nightscout application MAKE SURE YOU NOTE DOWN ALL YOUR CREDENTIALS
-
In the xDrip+ settings, go to “Cloud upload” and enter your Nightscout credentials there
At this point you should have a Nightscout application accessible from anywhere and collecting the data from the “Libre CGM”. Then you can go to the next step
- Get the AndroidAPS running
This is kind of more geeky as the android app comes as source code, not an *.apk file similar to an *.exe file. So you need to compile it yourself
- Make sure you have a newly installed versions of Android Studio, open it BEWARE: if Android Studio ask to “upgrade graddle”, REFUSE to do so
- Follow very carefully the steps of the wiki Building (AndroidAPS) APK
- Once all the build/compile… process is over, search from your file managers all *.apk files
- Load the apk file to you phone and install the app
- There’s quite a bit of settings to be done to link AndroidAPS to xDrip and NightScout all together, you are very well guided though with the “Objective 1” - once you’re good with all the smileys…