How to send dynamic data from KLWP to Tasker

Andreas Ødegård
May 8, 2018 · 2 min read

In most cases, the relationship between Tasker and Kustom Live Wallpaper Maker is one where Tasker sends data to KLWP, and KLWP triggers tasks in Tasker. The former is easily solved using the Tasker plugin or the JSON method I posted, while the latter can be done by using a Touch action with a Tasker shortcut. Sending dynamic data from KLWP to Tasker is however less intuitive, but not difficult.

To be frank, there are probably several ways to do this, but I just went with my first instinct: AutoApps. João Dias has a tendency to provide solutions to my problems a year or so before I know I need them. In this case, the solution is AutoTools. AutoTools has a feature where you can use a URI to send commands from anything that can “open link”, as KLWP calls it. The URI is:


For the command, refer to the description of the AutoApps Command System to see how you can format a command and act on it in Tasker.

Using KLWP formulas, you can make the data it send be dynamic. As an example, here’s a “Open Link” touch action that sends the URL of a thumbnail, which is stored as JSON and part of my Trakt widget, to Tasker.

Image for post
Image for post

This takes the static part of the URI and command, and adds the dynamic URL from a JSON file. When the KLWP is clicked, the complete URI is sent to Tasker, where I have a profile that triggers from it (again, see the AutoTools Command System tutorial).

This method is useful whenever you need to include some dynamic data when running a Tasker task from KLWP. The example above is somewhat edited to hide what it actually does, but the bottom line is that it sends a URL to my PC via Tasker and Join when I click something in KLWP.

It could also be used to reduce the number of tasks, by not hardcoding information, e.g. having a UI for a home automation system, using a single task for light brightness, and simply send the brightness level using this method. Music functionality is another option, and one that popped up in a request for a feature like this years ago. The possibilities here are more numerous than the complexity of this trick would suggest, as it allows KLWP to act as a UI for a lot of sophisticated Tasker creations.

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch

Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore

Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store