DanaRS, Dana-i and Dana-i2
These instructions are for configuring the app and your pump if you have a DanaRS from 2017 onwards, a Dana-i or a Dana-i2. Visit DanaR Insulin Pump if you have the original DanaR instead.
Dana-i2 can be used from AAPS version 4.0 onwards. It uses the same Dana-i/RS driver as the Dana-i.
In DanaRS/i/i2 pump “BASAL A” is used by the app. Existing data gets overwritten.
Pump capabilities with AAPS
Communicates with AAPS over your phone’s native Bluetooth, without an additional communication device.
DST and timezone changes must be handled manually (see Timezone traveling).
Pairing pump
Open the menu (☰) in the top-left corner of the AAPS main screen and select Configuration.
Tap Pump and select Dana-i/RS.

Once it is selected, the Dana-i/RS card shows two buttons, Settings and Open plugin:

Settings opens the settings of the Dana-i/RS driver:

Open plugin (or Manage > Pump) opens the Dana-i/RS pump screen. Before a pump is paired it looks like this:

On the pump screen, tap Pairing. AAPS scans for nearby pumps.
Tap the entry for your pump in the list.

You have to confirm the pairing on the pump! This works the same way as other Bluetooth pairings you may know (for example, smartphone and car audio).

Follow the pairing process based on the type and firmware of your pump:
For DanaRS v1, AAPS asks for the Pump password (v1 only). Enter your pump password (see Default password).
For DanaRS v3, AAPS asks you to press OK on the pump and type the 2 sequences of numbers and letters shown on the pump. Keep the pump display on by pressing the minus button until you have finished. Then tap Done.
For Dana-i and Dana-i2, the standard Android pairing dialog appears. Enter the 6-digit number shown on the pump.
When Pairing successful! is shown, tap Done.

You are back on the pump screen, which now shows your pump’s status.

In Settings, select Bolus speed to change the default bolus speed (12 s/U, 30 s/U or 60 s/U).
Set basal step on pump to 0.01 U/h using Doctors menu (see pump user guide).
Set bolus step on pump to 0.05 U using Doctors menu (see pump user guide). AAPS reads the basal and bolus steps from the pump and uses them for every bolus, so a bolus always matches the step set on the pump. The pump screen shows them in the Basal/Bolus step row.
Enable extended boluses on pump
Options shown only for some models
Auto lock: on a Dana-i2, the User options screen (on the pump screen, Manage > Pump) has an Auto lock switch for the pump’s auto lock setting. Press Save options to pump after changing it.
Easy mode: on pump models that have an easy menu mode, the pump screen shows an Easy mode row with On or Off.
If a Dana-i2 refuses a bolus, AAPS shows the reason, for example Pump is not primed, Not enough insulin in the reservoir or Easy sleep mode is on in the pump.
Default password
For DanaRS with firmware v1 and v2 the default password is 1234.
For DanaRS with firmware v3 or Dana-i the default password is derived from the manufacturing date and calculates as MMDD where MM is the month and DD is the day, the pump was produced (i.e. ‘0124’ representing month 01 and day 24).
From MAIN MENU select REVIEW then open SHIPPING INFORMATION from the sub menu
Number 3 is manufacturing date.
For v3/i this password is used only for locking menu on pump. It’s not used for communication and it’s not necessary to enter it in AAPS.
Change password on pump
Press OK button on pump
In main menu select “OPTION” (move right by pressing arrow button several times)

In options menu select “USER OPTION”

Use arrow button to scroll down to “11. password”

Press OK to enter old password.
Enter old password (Default password see above) and press OK

If wrong password is entered here there will be no message indicating failure!
Set new password (Change numbers with + & - buttons / Move right with arrow button).

Confirm with OK button.
Press OK to save setting.

Move down to “14. EXIT” and press OK to exit.

Dana RS specific errors
Error during insulin delivery
In case the connection between AAPS and Dana RS is lost during bolus insulin delivery (i.e. you walk away from phone while Dana RS is pumping insulin) you will see the following message and hear an alarm sound.

In most cases this is just a communication issue and the correct amount of insulin is delivered.
Check in the pump history that the correct bolus was given. You can do this on the pump itself, or in AAPS on the pump screen (Manage > Pump) > Pump history > Boluses.
Delete the error entry in treatments if you wish.
The real amount is read and recorded at the next connection. To force this, tap Refresh on the pump screen, or just wait for the next connection.
Special note when switching phone
When switching to a new phone the following steps are necessary:
Export settings on your old phone
Transfer settings from old to new phone
DanaRS v1
Manually pair Dana RS with the new phone
If you tick Also replace pump settings when importing, the pump connection settings are imported too and AAPS on your new phone will already “know” the pump and therefore not start a Bluetooth scan. Therefore new phone and pump must be paired manually.
Install AAPS on the new phone.
Import settings on your new phone
DanaRS v3, Dana-i, Dana-i2
Start pairing procedure as described above.
Sometimes you may need to clear the pairing information in AAPS first. On the pump screen (Manage > Pump), tap Unpair and confirm Reset pairing information?. Then tap Pairing again.
Timezone traveling with DanaRS, Dana-i and Dana-i2 pumps
For information on traveling across time zones see section Timezone traveling with pumps.
Where to get help
Development of the DanaRS/Dana-i/Dana-i2 driver is done by the community on a volunteer basis. Before requesting help, please:
Read the relevant section of this documentation to confirm how the feature is meant to work.
Ask on the #AAPS channel on Discord, or in one of the other community channels.
Report a bug by searching the existing issues; if yours is not listed, open a new issue and attach your log files.
When asking for help, include your phone make and model, Android version, AAPS version, and a plain-English description of the problem (what changed, when it last worked).