Local-first, open-source Android automation with readable rules, honest permission gates, and no account or cloud runtime.
Repo SysAdminDoc/OpenTasker, read from GitHub 1 d ago. SysAdminDoc has not joined Take My Repo.
This is a big one, and most of it is about Tasker. Imports bring over a lot more now, like Variable Clear, Stop Task, a task handing a value back, Get Sunrise/Sunset Times and plugin steps that wait for their plugin. Tasker's built-in variables such as %TIME and %BATT fill in, and conditions follow Tasker's own pattern and math rules. Outside of imports, deleting takes one tap with Undo, profiles can read Health Connect, and sun contexts can wait for twilight. It's also the first release with an F-Droid build attached, and it's signed with the same key as every release since v0.2.93, so it installs straight over them.
%found, and puts each match in %found1, %found2 and so on. Only find matches leaves the text alone, so the step just collects them. Tasker's Search Replace with Store Matches In Array, One Match Only or Replace Matches off now imports as this step, where those used to be placeholders or lose the array with a note. Like Tasker, a step that fails still empties the array, whether the pattern is bad or blank or there are too many matches. A list Split Text kept under the same name goes too, so Join Text and For Each read the matches and not the old list. A Search Replace still comes in as a placeholder that says why when any of its switches comes from a variable. Ignore Case and Multi-Line from a variable used to come in switched off. It's also a placeholder when its Replace With reads an element of the array it fills, like [%found1], because Tasker fills that in after storing this step's matches.%item* for a whole array or %stdout/%stderr for a list, globals included unless Local variables only is on. The list a step like Split Text keeps under a cleared name goes too, so %parts(#) reads 0 after clearing %parts. Leave the name empty to clear every local variable, and turn on Clear all variables to clear every global too, saved ones included. The name is read as written, so %which clears %which itself and not the variable it names. In a task run by another one, only that task's own copy goes, and the task that ran it keeps its value. A global it clears stays gone after the run. Tasker's Variable Clear imports as this step now, where clearing a pattern or everything used to be a placeholder, and exports write it back. A Variable Clear with Local Variables Only and no pattern used to be a placeholder for a global like %Kept. Tasker clears it there, since that switch only counts with a pattern, and the import does the same now.%cl_text like Tasker does. The HTML text, URI, image URI, MIME types and extras it also fills don't come over, and the import says so. On Android 10 and newer this app can only read the clipboard while it's open and in front, so a step that runs in the background fails with that reason. The clipboard read step exports back out as Get Clipboard too, with a warning when it reads into a name other than %cl_text, since Tasker always fills that one.%name that was never set counts as the 5 characters it's written with, and so does one a Variable Clear unset.Set up in the plugin button. It opens the plugin's own settings screen, hands back what you saved last time, and fills in the config JSON and description for you. It finds settings screens that skip Android's default category too, like Termux:Tasker's, and says why when it can't open one. A value that's still a variable, like {"int":"%count"}, reaches that screen as text rather than emptying the whole form.file:// URI, stays a placeholder that says why, and so does a Variable Add that wraps around. A Search Replace whose pattern anchors on $ comes in with a warning, unless Multi-Line or an inline (?m) already covers that $, since Tasker's $ also matches just before a final line break and OpenTasker's only matches at the very end, so a pattern for the last number in a command's output can come up empty. Going the other way, a Tasker export now writes every volume stream as Tasker's matching volume action, where only media volume used to make it across.%http_data.%arr1, %arr2 and so on, the way Tasker does. Array Process has all 14 of Tasker's operations. Its number sorts go by the first number in each item, so b5, a3c and 1x come out as 1x, a3c, b5, and items with no number go last. Steps read them the Tasker way too: %arr(#) counts the items, %arr(<) is the last one, %arr(2:4) joins a range with commas and %arr(%i) reads the item at %i. A For loop over the array's name goes through its items. Variable Split was the most common placeholder left in real exports, and across the exports we test against the placeholders went from 989 to 799. An array named through another variable, like %%list, still comes in as a placeholder. If a Push or Pop takes its position from a variable that isn't set, the step stops with an error instead of using the first item without saying so (Preflight warns about it, and marks the step blocked when it's a global like %Pos that nothing in your tasks could set first), and %arr(%i) is empty while %i isn't set (so is %arr(%a:%b) while either end is unset). When a step pops or clears a global array like %Log, the removed items stay gone after the task ends. Exports write all six back as Tasker's own actions.%Sunrise to %Sunset. That's how Tasker's own sunrise and sunset profiles work: one task saves the times in globals, and the Time context reads them. The window moves once the task that changes the global finishes, since that's when OpenTasker saves globals. A global can hold a time like 6.42 or 18:05, or seconds since 1970, of which only the hour and minute count. When it holds anything else the context stays off, same as Tasker. An inverted one stays off then too, since an unset %Sunrise doesn't make "not daytime" true. If the globals can't be read for a moment, the context keeps the times it read last and tries again shortly, waiting longer while the failures keep coming. Tasker imports and exports keep these windows, and the Inspector checks them against the globals' current values, shows the times it read and names any global that holds none. The editor and the Inspector flag a local like %sunrise and a bound that isn't a variable name at all (%1x), each with its own note. A simulation takes such a start as 6:00 and an end as 18:00, and says so.1.5 megabytes. The result can replace the variable's value or go into another variable, and it stays hidden when the value it came from is a secret. A value the conversion can't read stops the step with an error. One thing differs on purpose: 12.30 am reads as half past midnight, where Tasker reads it as half past noon. A Convert of an array item like %list(2) stays a placeholder, and so does one whose conversion is picked by a variable. That leaves 2 of the 30 Variable Convert steps in the exports we test against as placeholders. Exports write it back as Tasker's own action.%step, or to the first step with a given label, and the label wins when both are set. Anchor does nothing, so it's a place to hang a label. With a condition on it, a Go To back up the task makes a loop. Jumping out of a For or a Try ends it, and jumping back onto a For starts it over from its first item. A Go To that can't land (no step with that label, a number past the end, a variable that's empty, or a jump into the middle of a For or Try that isn't running) stops the task with an error saying which. Its Jump to choice can also send it to the top of the For Each it's in, which moves on to the next item the way Tasker's Top of Loop does, out of that loop, or to the End If of the If it's in. Those act on the innermost loop or If around the step and win over a number or label, and one with no loop or If around it stops the task. Preflight follows the jump and blocks the same ones, except that it stops following, with a note, when the target is a variable it has no value for yet. Tasker imports bring over every kind of Goto, along with Anchor and each step's label, so a labeled Goto still finds its spot. Exports write them back and fix the numbers for steps Tasker doesn't get, with a warning when a jump lands on one of those. An Anchor saved with the name it shows keeps that as its label, so a Go To to Anchor finds it. A step number or label that comes from a secret stays hidden in the error and in Preflight.apple,pear, ranges like 1:10, 4:0 or 0:8:2, a variable like %fruit, a range with a variable end like 1:%arr(#), and array parts like %arr() or %arr(2:4). Variables are filled in and then the list is split on commas, so a variable holding a,b gives two items, while a whole %arr() keeps each of its items as they are (and gives nothing when there's no such array). The variable chips work here too, and they add their reference as one more item after a comma. The list is read once, when the loop starts. Tasker reads it again on every pass, which only matters when the loop changes what it reads. A named array wins over the values, and a range counting in steps of 0 or with a number over 15 digits stops the task with an error. A loop variable made from a secret stays hidden in the Run Log and in Preflight, which loops over the same items. The editor asks for an array or values when a For Each has neither. Tasker imports bring For over a range or a written-out list across as these values, where they used to need a whole array, so a task imported before this with a For like that needs importing again. Exports write the values back, with a chip's array or variable written the way Tasker does (%names(), %count), and warn about any other {{ }} part since Tasker's For won't fill it in.%stdout and %stderr land in the task, and a plugin that reports a failure fails the step with its %errmsg and puts its code in %err. Plugins that refused to run without this, like iBeacon Tasker, work now. The timeout field is how long to wait, from 0 (send it and go on) up to 30 minutes, and a plugin that asks for a longer wait on its settings screen fills it in. A step left at 5 seconds that runs a longer Termux command now fails with a timeout instead of passing before the command finished, so give those a longer timeout.%TIME is 09.05 and %DATE is 7-4-25 in the US, and %TIMES, %TIMEMS, %DAYW and %DAYM work too. The device ones are %BATT, %SCREEN, %BRIGHT, %DTOUT, %UPS, %SDK, %DEVID, %DEVMAN, %DEVMOD and %DEVPROD, plus each stream's volume level in %VOLA, %VOLC, %VOLD, %VOLM, %VOLN, %VOLR and %VOLS. With location permission, %LOC and %LOCN give the GPS and network providers' last fix as latitude,longitude. %PACTIVE, %PENABLED and %TRUN list the active profiles, the enabled ones and the running tasks the way Tasker does (,Home,Car,), and stay unset when the list is empty. %TRUN includes a task another task runs once it's allowed to start, and renaming a profile shows up in the lists right away. A profile held back by a higher priority one that you then edit leaves %PACTIVE until it matches again. A profile or task Tasker left unnamed gets a name on import, so it shows up in those lists where Tasker would skip it. Conditions, {{ TIME }} templates and the preview read them, and a Variable Split of %TIME on . gives the hour and the minute. Tasker won't let a task set one of these, but OpenTasker always has, so a value you set under one of their names still wins until you set it to nothing, and Preflight warns about the step that sets it. Built-ins this app doesn't fill in yet, like %LIGHT and %LOCSPD, stay as written, and a Tasker import names them for each task that reads one, unless a step in that task sets it first, the way HTTP Request sets %HTTPD. In the 48 exports we test against, 79 of 562 tasks read a built-in. Of those, 63 only read ones that fill in now, 9 get the import note, and the other 7 set the built-in they read themselves.%ss_sunrise, %ss_sunset, %ss_solar_noon and the civil, nautical and astronomical dawn and dusk, each in seconds like %TIMES, plus %ss_sunlight_duration in minutes and %ss_day_or_night. Give it sun elevations, one per line or split by commas, and %ss_custom_morning and %ss_custom_evening list when the sun passes each one. The times are worked out the way Tasker 6.7.8 does it, down to the minute it rounds to. Leave the latitude or longitude blank and it uses the phone's location, which needs location access, and leave the time blank for today. A variable prefix other than ss renames every output. Tasker's Get Sunrise/Sunset Times imports as this action and exports back out, with a warning when the prefix isn't ss, since Tasker always fills %ss_. Day or night is the one value that can come out different. Tasker drops part of the day when it works that one out, so it can call noon in Sydney night, and this app doesn't.Battery %BATT used to come out as Battery and now reads Battery %BATT until something sets it, and a link with %C3%A9 in it keeps its escapes instead of losing them. Is Set and Isn't Set still ask whether there's a value, so they work as before. Comparisons change, though. %par1 ~ %* is true when a task was called without %par1, which is how Tasker tasks check for that, and a Perform Task that passes an unset %where hands on %where. %a != %b is now true while both are unset, and %x ~ * matches an unset %x. If one of your tasks counted on getting a blank, an Is Set check does that job. {Most of this release comes from the issue tracker. Shizuku and its forks can finally reach OpenTasker, and Setup no longer crashes on some Android 8 to 12 phones. MacroDroid backups import now. You'll also find the new actions and contexts people asked for, plus several fixes for Android 17's background rules. It's signed with the same key as v0.2.93 and v0.2.94, so it installs straight over either.
{{ city }} from whichever task called it. A lowercase name stays inside that task and a capitalized one sets a global. The engine already passed these along, but until now the only way to add one was to edit an exported bundle by hand.{{ event.incoming_number }} and {{ event.incoming_known_contact }}, and the profile can match strangers only or part of a number. Reading the number takes a new Call log permission, which Setup asks for. A hidden caller, or one nobody could check, never counts as a stranger.Search incoming phone numbers puts a Search button on a notification, and Search incoming phone numbers automatically opens the search right away. Both take an address like https://duckduckgo.com/?q={number}.urlencode template filter makes a value safe to put in a web address.rish or adb can (#15). Approve the script's path and SHA-256 under More > Settings first. OpenTasker reads the file once, checks the hash and runs those same bytes, so swapping the file after the check gets you nothing. Output goes into the same capped variables as a Termux script, and the Shizuku kill switch stops this too.{{ API_TOKEN }}, and forwarding it through %sms_body read that as an expression, so the secret's real value went out with the message and a condition could be steered the same way. What a variable holds now stays plain words, and templates you type into an action work as before..bashrc or .profile. A rish you added to your PATH comes back as not found (#15). The run log now says that when a script exits with code 127, and every failed script's entry says where its error output went. The Approved Termux scripts card mentions it too.Review app settings, and tapping it turned power mode off. The row now has a Disable power mode button that says what it does.{{ event.sms_sender }}, {{ event.sms_body }}, {{ event.sms_kind }}, {{ event.sms_message_count }} and {{ event.sms_subscription_id }}, and a Notification trigger hands over {{ event.notification_package }}, {{ event.notification_title }} and {{ event.notification_body }}. All of them show up as chips in the action editor. An HTTP Request forwards the real text, while the run log and any held trigger keep a placeholder for who wrote and what they said. Only the phone's own telephony service can deliver a text to OpenTasker now, so another app can't start one of these tasks with a fake message..mdr of more than about 1.5 MB, and a password-protected .emdr was read as broken JSON. A MacroDroid file now gets a limit that fits a real backup, while what it converts into stays under the ordinary limits, and an .emdr asks for its export password and opens. When any import goes over a limit, the message names that limit. MacroDroid's Fill Clipboard action now comes across as clipboard.set, and if its text holds magic text the review says that part won't be filled in.Open Shizuku opens Shizuku instead of its App info page, and Setup tells you when the permission was granted or refused. An elevated action that can't reach Shizuku, or finds power mode off, now tells you what to do about it in the run log.key=<redacted>, because the field that names the state looked like a secret to the display filter.Tap to choose a task.false as its reboot reason, so the phone recorded reboot,false as why it restarted. It now restarts with no reason given.Run both and Wait choices were out of reach, and so was the app picker's search box. Dialog bodies scroll now, and the action number badges in a task grow with the text instead of clipping it.tools/smoke-old-api.ps1 installs it over the previous release on Android 8 and Android 10 emulators set up like a Galaxy phone and opens every screen. Any crash stops the release. This is the check that would have caught #20.RUN_TASK. Only apps signed with OpenTasker's own key may send it, so Android refused Companion without a word. The guide now shows the token-checked PUSH_EVENT route with a push profile, says where Android 17 records a refused broadcast, and covers the engine having to be on.This release closes four security holes found since v0.2.93 and fixes Wi-Fi profiles that match a network name. It's signed with the same key as v0.2.93, so it installs straight over it.
Download OpenTasker-v0.2.94.apk below, or let Obtainium pick it up. Coming from v0.2.92 or earlier? That build used a different key, so export a backup from Setup, uninstall it, then install this one.
OpenTasker-v0.2.94.apk SHA-256: 0dfdd3658d2fc8dff70e3918820876cf47ca2df54f07cc0d5a615a36c6507d9a. It's signed with the same certificate as v0.2.93, SHA-256 dba1aa88e37b90155fca3135ca3b781de92c225107e47c9806e75bf88055fdd8.
OpenTasker v0.2.93 removes the exposed development signing key from the repository and rotates the APK to a private external signing identity. It also includes the refreshed adaptive icon source package.
Important: uninstall v0.2.92 before installing this release. Android won't accept the new signing identity as an in-place update.
The APK passed unit tests, Android lint, signature verification, installation, and a cold-launch check on Android 15.
The v0.2.92 APK was removed because its signing key was publicly available. Install v0.2.93 instead.
If v0.2.92 is installed, uninstall it first. v0.2.93 uses a new signing identity and Android won't accept it as an in-place update.
A new OT launcher mark with adaptive foreground, monochrome themed-icon support, density-specific legacy icons, a notification glyph, Play Store artwork, and a launch screen that stays crisp across Android launcher masks.
The app shell and every main destination now share one navy, cyan, and AMOLED design system.
Profiles opens directly on its search and automation rows.