Using the excellent template created by Lutz Linke “Companion” we can change the scenes with Tasker .
Using the excellent template created by Lutz Linke “Companion” we can change the scenes with Tasker .
Here is the task
Casa
Set Variable % MODE to Home
Set Volume Notification 6
Set Icon Tasker to ” … “
…
…
( what you want )
( here is the important) + > Plugins > Lightning Launcher (Configuration : Run a Script> “ChooseScene” > Pass these data to the script: %MODE)
Here is the script “ChooseScene”
LL.runScript(“Cmpn_SceneLoad”,LL.getEvent().getData());
For different contexts can create different task to call different scenes created in the excellent template by Lutz Linke
Its work for me.
I have diferent Mode (Casa,Trabajo,Calle) and change in diferent context. When change the Mode, set the variable %MODO with the name of the scene and then pass to LLX. It has great potential!
Enjoy!
Excellent! Did not know Tasker can pass arguments when calling shortcuts.
I think it should also be possible to directly call the script “Cmpn_SceneLoad”, this also evaluates arguments passed using getData().
Oh… and if you want to only Tasker control the scene switching: disable the Scene Scheduler by unchecking the checkbox.
Luis Alfredo Chandia, great idea for what is probably the most ambitious theme to date, for LLX.