Skip to content

Setup and Configuration

whynot2018 edited this page Jun 8, 2019 · 29 revisions

In order to run omnipy, you need to set up your raspberry pi and your android device. Follow the steps in this document to set it up.

Setting up the Raspberry Pi

Install omnipy image

  1. Download the image file from the latest release. The file is usually named "omnipy.a.b.c.zip" where a, b and c denote version numbers.

  2. Write the image to an SD Card using software such as:

  1. Insert the SD-Card into the Raspberry Pi, attach the power cable and let your raspberry pi run. Omnipy will install itself automatically and be ready to use in about 4 minutes.

Note: On Pi Zero, the green light will flash seemingly random during sd-card access, if your light does not come on or stays lit green; then there is something wrong with either your Raspberry Pi or with the sd-card you have prepared.

Pair with your Android

After the raspberry pi setup is complete (and you have waited 4 minutes), you can now set up your android device to establish an automatic connection to omnipy running on the raspberry pi.

  1. Open Bluetooth Settings and make sure Bluetooth is turned on.
  2. Go to Bluetooth devices or bluetooth settings, choose "Pair new device" and wait for "omnipy" appear in the list. Note: If you have paired with this raspberry pi device previously, unpair it first. Then scan for devices and pair it again.
  3. Click on "omnipy" to pair the raspberry pi via bluetooth. The pairing will happen automatically without any interaction.
  4. After pairing is done, find the "Bluetooth tethering" or "Mobile hotspot / via bluetooth" option on your android phone and turn it on. After you turn on bluetooth tethering, omnipy will connect automatically to your phone within one minute.
  5. For some Android phones (eg Samsung S7), to maintain the tethering, for example after phone reboot, you will need to install the BT AutoTether app (from the Play Store) and select the omnipy device.

Install Android APS Omnipy version

  1. Follow the instructions on the AAPS page to create an apk file of Android APS for Omnipy.
  2. Copy the file to your android and install the apk.
  3. Run the Android APS application and in pump selection, choose "Omnipy".
  4. Click the settings icon next to it and then click "Set password"
  5. Type "piesnotalie" (without the quotes) as this is the default password on the omnipy image.
  6. Click back button and continue with AndroidAPS setup

Omnipy setup is completed.

**How to figure out your bluetooth ip address only with your Android phone After you build your bluetooth connection with bluetooth tethering. It must be one connected tethered device in your tethering list. This is your rig. Now you need to install from play store Termius app. In Termius app select with tap Connect bar and under the list Utilities select Local Terminal then you will see black screen command line herolte:/storage/emulated/0 $ now copy and past this command for ip in $(seq 1 254); do ping -c 1 192.168.44.$ip>/dev/null; [ $? -eq 0 ] && echo "192.168.44.$ip UP" || : ; done for past tap any place in the black screen it will be past popped up and then enter. Now you have to wait a bit first you will get your phone ip address 192.168.44.1 UP after a wail you will see something like 192.168.44.244 UPthat's your rig ip address.You can enter this ip address in AAPS Omnipy Connection Set address manually.


Head over to the following pages to learn how to:

  1. Setup a new pod
  2. Advanced setup