This is an automated archive made by the Lemmit Bot.

The original was posted on /r/tasker by /u/joaomgcd on 2024-07-30 15:31:56+00:00.


EDIT: Title should read 6.4, not 6.3!

Ok, I think this one will be big! Introducing Remote Action Execution in Tasker! This means that you can now run select actions on a remote device! 😁

Sign up for the beta here.

If you don’t want to wait for the Google Play update, get it right away here.

You can also get the updated app factory here.

If you want you can also check any previous releases here.

Remote Action Execution (Full Setup Instructions)

Demo:

You can now run actions in Tasker on a remote device!

This means that by simply setting a new Remote Device field in those actions, it’ll make Tasker run that action on another device instead of the one you’re on!

Task execution runs normally and is totally transparent to you, so Tasker will wait for the action to run remotely and any variable that the remote action produces will be available for you to use in the local task!

For example, you could:

  • Run Get Location v2 action remotely
  • Run Browse URL action with the URL from the location action locally
  • …allowing you to see the other device’s location on your local device!

These are the actions that currently support this new Remote Device option:

  • Browse URL
  • Get Location v2
  • Set Variable
  • Command

I wanted to be careful and not simply add it everywhere just to make sure nothing major breaks. If all goes well I can add this to other actions or potentially even to all other actions 😅

In this initial phase I particularly wanted to add it to the Command action which should allow you to trigger just about anything remotely, giving you the most flexibility with the least possible side effects.

I also want to add it to the Perform Task action, which would allow you to also get back results from any of your remote tasks. For example, with that you could get your remote device’s battery level, or any other value.

Under the hood Remote Action Execution uses Google’s FCM to trigger stuff remotely. Since you’ll be using your own Google Cloud projects for this, there’s no risk that other people could push stuff to your devices, unless you share the cloud project’s secrets.

Also, this is not tied to your Google account. As long as you use the same Google Cloud project credentials on all your devices, those devices can even not have a Google account at all and it should still work, provided that the FCM service is up and running on it. This means that you can remote actions on any of your devices, regardless of which accounts it has.

This will not work on App Factory generated apps unfortunately.

Don’t forget to check the instructions to learn how to get this working!

Let me know what you think about this new feature!

Enjoy!😎👍