-
Notifications
You must be signed in to change notification settings - Fork 26
Setup and Configuration
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.
-
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.
-
Write the image to an SD Card using software such as:
- 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.
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.
- Open Bluetooth Settings and make sure Bluetooth is turned on.
- 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.
- Click on "omnipy" to pair the raspberry pi via bluetooth. The pairing will happen automatically without any interaction.
- 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.
- 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.
- Follow the instructions on the AAPS page to create an apk file of Android APS for Omnipy.
- Copy the file to your android and install the apk.
- Run the Android APS application and in pump selection, choose "Omnipy".
- Click the settings icon next to it and then click "Set password"
- Type "piesnotalie" (without the quotes) as this is the default password on the omnipy image.
- 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 UP
that'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:
-
Hardware setup:
3.2. (optional) DIY rig setup
3.3. (optional) Increase RF range of RileyLink
-
4.1.AAPS setup
4.3 Upgrading
4.4 (optional) Wifi tethering on android
4.5 (optional) Wifi tethering on raspberry pi
-
User Intefaces
5.1 Pod activation and deactivation
5.2 SSH Console