Skip to content
dexdan edited this page Apr 30, 2019 · 7 revisions

Setup and configure AndroidAPS for omnipy

Step 1: Get a clean device or clean it

Cleandroid

Your android device will come with a preinstalled Android operating system and you only need to install the AndroidAPS version that has built-in support for omnipy.

Some users use AndroidAPS on their 'main' phone while others prefer to run it on a dedicated 'diabetes phone'.

Android users unfortunately don't have much say when it comes to preinstalled software on their phones, but it is advised to not install any software other than AndroidAPS on your device. If you have the experience and possibility to root your device, it may prove beneficial to do it, if you can eliminate the possibility of your phone's OS to interfere with the operation of AndroidAPS software and the phone's general management of connectivity options / battery optimizations. Be aware there is a real danger that you may lose some hardware functionality, due to many custom roms providing some sort of compatible device drivers, but not the actual ones from the manufacturer. If you exactly know what you're doing, then please go ahead. Otherwise stay away from experimenting on a device which is going to host a critical application for your well-being.

Step 2: Compile and install Android APS for omnipy

Download and install Android Studio on your computer.

Follow the steps at https://androidaps.readthedocs.io/en/latest/EN/Installing-AndroidAPS/Building-APK.html

BUT instead of using the repository https://github.com/MilosKozak/AndroidAPS instead use https://github.com/winemug/AndroidAPS

Follow the steps in the AndroidAPS docs to create a signed APK file and transfer it to your android device

Step 3: Install Android APS and configure omnipy

Android APS Setup Wizard - Pump selection

Select Omnipod from the list of pumps:

Pump Selection

Click on Pump Setup and the screen will change to this:

Pump Setup

Click on Set password and enter the default password used int he omnipy image: "piesnotalie" (without the quotes).

[Advanced: To change the password on the Pi SSH into the Pi and type

python3 /home/pi/omnipy/set_api_password.py

sudo systemctl restart omnipy.service ]

Continue with the setup

Clone this wiki locally