-
Notifications
You must be signed in to change notification settings - Fork 26
Console User Interface in SSH (legacy)
In this section, a user interface through SSH will be explained. This is legacy provision - it is not necessary to use in the latest release.
The user inteface has been developed to facilitate the user experience and to prevent from remembering the command lines, replaced by menus and guidances. It is made of 2 menus: 1. The main menu in which main functions are located 2. Advanced Settings menu in which you have advanced functions for configurations and debugging purposes.
Access to the console:
To access to the console, you need to log in SSH to your raspberry pi and type:
./omnipy/scripts/console-ui.sh
The following screen should then be displayed:
Note that if you want to have the console shown at SSH logon, please refer to the section 2.11 Enable/Disable menu at SSH login
This part allows a new pod to be activated from Omnipy standpoint. There are a couple of steps to follow within this function in order to activate the pod properly like retrieving the Radio Address, filling the POD Lot number and Serial numbers.
This part handles the POD deactivation. Note that once the confirmation message answered, the pod will be deactivated straigh away.
This only call Raspi-config to access and configure quickly the raspberry pi
This section updates the omnipy on your raspberry with the latest master branch and it also automatically create a backup file before the update. This backup file can be restored with the dedicated menu in the Advanced Settings menu.
This reboots safely the raspberry pi.
This shuts down safely the raspberry pi.
This escapes the menu and display the shell prompt for command lines inputs
This displays the Advanced Settings menu
This shows the rig status with a text editor called VIM. The status is opened as read-only so it can't be overwritten.
Note: To escape VIM, press :q + ENTER
This shows the POD log with a text editor called VIM. The status is opened as read-only so it can't be overwritten.
Note: To escape VIM, press :q + ENTER
This shows the last omnipy log with a text editor called VIM. The status is opened as read-only so it can't be overwritten.
Note: To escape VIM, press :q + ENTER
This stops all the omnipy related services on the raspberry pi.
This restarts all the omnipy related services on the raspberry pi.
This checks if the RileyLink is detected and works well.
This launches the Bluetooth configuration on the pi. This function goes through all the steps to set up the bluetooth pairing between the phone and the raspberry pi, including the Bluetooth Tethering part.
This allows you to change your REST-API password that is need in the Pi and in AndroidAPS.
This allows you to back up the current Omnipy configuration. There is a name by default in the prompt that can be changed if required.
This lists all the backup found in the pi and it restores the configuration of the selected backup.
If you want to have the menu displayed automatically when logging in SSH, you can activate this feature. This functionality can be activated and deactivated whenever wanted. Note: deactivation of this function will take effect only after a new SSH session.
-
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