Skip to content

Android

In this page we will take a closer look on how to use the android app.

Tasker

Since the main function of RPdb is the execution of programs or scripts, we also wanted to offer something similar to android. From our perspective it wouldn't make much sense to implement such a feature in RPdb itselfs as it is very time-consuming and wouldn't provide all features you may want to use.
But as a user of Tasker, we were aware of the greate functionallity and integration that Tasker provides. In simple words - it's an app to automate any of your tasks. It provides a wide range of functions that you can now also use dynamically and scheduled with the help of RPdb.

To integrate Tasker in our app, RPdb acts as a plugin so that you can use it from there. Besides the execution of entries, almost every feature of RPdb that can be performed in the UI can also be used with Tasker.


We take a look at the integration by using Tasker to create an entry:

Image Tasker add

  1. Create a new task within Tasker
  2. Add a command and choose Plugin -> RPdb. You get a list of commands RPdb provides to Tasker. We choose Add to create a new entry
  3. Click on the edit symbol in the top right corner to configure the options
  4. In the opened activity (you see on the left / top), we can configure the data of the entry. If you leave fields empty you are able to configure its value dynamically via a variable. We do this for example with the offset and the message (parameter 1).
  5. Go back to the commands view
  6. Because we left some fields empty, you have to set the values with a tasker variable. You can add one with Variable -> Set variable. Be sure to place the blocks before the RPdb command:
    • %parameter_1 -> This is a dynamic value
    • %date_offset -> +20m
  7. If you execute the task, an entry in 20 minutes was created

Execution

If you want to use the execution feature of RPdb with Tasker, you have to enable it in the settings of RPdb. For the execution accuracy we recommend using the option almost exact. This provides a very good accuracy for the most devices. If the entries are executed to late, you can also use always exact. Keep in mind that this option will drain your battery more.

Info

In most cases you also want to enable the WebSocket connection to receive real-time updates when you are not using the app.

After enabling the Tasker support, you can use the execution feature:

  1. Go to the Profile tab
  2. Click on Add and choose Event -> Plugin -> RPdb
  3. In the configuration dialog, you can select the attributes for which an execution is triggered
  4. Go back and see the available variables you can use inside the task