With this project you'll be able to get any Tasker variable from another device remotely, and have the variable's value available right there in the same task.
You can even get multiple variables at the same time if you wish!
Here's how it looks when using it:
All you need to do is import the project and import it on your multiple devices.
Then, from any Task call the Get Remote Var task by setting:
Here's an example:
- Parameter 1: device name you want to get variable from
- Parameter 2: one or more names of global (uppercase) variables you want to get from the other device. Don't forget to NOT include the % in the variable names or else the value of the variable will be used and not its name.
- Return Value Variable: name of a variable you want to contain the variable values
In this example I'm getting the %DEVMOD and %BATT variable values from my nexus 5 and setting their values to the %remotevars variable.Code (Text):
Test Remote Var (581)
A1: Perform Task [ Name:Get Remote Var Priority:%priority+134 Parameter 1 (%par1):Nexus 5 Parameter 2 (%par2):DEVMOD,BATT Return Value Variable:%remotevars Stop:Off ]
A2: Flash [ Text:%remotevars Long:Off ]