⬆ Level up


Configuration examples

Call blocker

Android doesn't allow a program to actually reject a call. What you can do however is create a profile that has a silent ringone. It will be activated very quickly when a specified call is coming in. When it has stopped ringing (silently) apply a regular profile again.



Auto turn on/off hotspot while FTP server is running




Create a network watchdog

Create a rule that will run a ping command (or anything else the checks something) every x seconds or minutes:



Create a second rule that will evaluate the result of the first rule and act upon it:

Automatically answer phone calls

Create a rule that will use the dialer's notification and click its answer button (adapt the 1212 example number if you wish to filter specific callers):

https://server47.de/automation/images/examples/phone_call_answer

Remote control wireguard

HINT: FOR THIS TO WORK RELIABLY, IT IS RECOMMENDED TO DEACTIVATE BATTERY OPTIMIZATION FOR BOTH AUTOMATION AND WIREGUARD.

Activate remote control in that app:


Create a start program action in Automation that just launches WG so it's not in the background anymore:



No parameters are required for this one:



Add another action that just waits for around 500 milliseconds. Then create another start program action with these settings:



Add 1 parameters as specified, value needs to be whatever you called your tunnel:

ulogger

Create a start program action:

Remote control OpenVPN VPN client

See the chapter "Controlling from external apps" from the app's FAQ.

Open a webpage

Create a start program action: