coconutxyz wrote: ↑07 Dec 2019 04:54
1. Thanks Desmanto, your posts are always helpful. I wouldn't even consider Automagic without user like you and Martin on board. Not to say other users aren't helpful, but Tasker's community and availability of tutorial are really tempting for a beginner like me. Wish automagic could grow bigger.
2. Regarding your sample flow, would it be cleaner if i am using condition to change the glovar --> if connected then true = 1 and false = 0? I find conditions in automagic is much easier to read and implement than Tasker and unfortunately i haven't seen a use case for OR logic, everything still runs on AND logic so far.
3. Though scripts are powerful, i still hope that there will be some breakdown of actions like "wait" in tasker without using sleep(), where at least new users could choose directly from the interface.
4. i especially like how Tasker segregates project, profiles and task compared to Automagic's folder method, where i couldn't quickly change an action for all usage without going into one of the flow. i am more of a visual person so flowchart works really well for me except the other menu.
5. Lastly could you explain more/link me to what glovap map is? i think it might be something i need to keep things tidy.
6. Also are those INIT Variable settings relevant in this case?
7. Btw i know Malay language and i've seen you mention providing help in one Indonesia forum. Are you Indon by any chance?
I numbered the post for easier tracking response
1. I am glad that I can help. I also thought the same when the first time I use Automagic. Although I never play part in tasker community other than in kaskus local forum, which is much more narrow (tasker thread); but I can't deny that there are more tutorial/documentation on how to do something in tasker. This is why I also try to promote Automagic (or at least mention it when it is approriate) when posting in other forum. The more user we have in Automagic, the more tutorial/how to we can have. (hopefully)
2. Yes, you can use the condition in that way too. For every wifi connected/disconnected, check the connection to the SSID and store the state in glovar. You can check the glovar later using AND logic.
3. We have a few script functions that are broken down into action. Sleep has the standalone action version, which can be implemented as delayer/synchronizer. Creating new map of key-value can be done using action Map Value (although I never use it anymore now) There maybe other, but I am more to the scripting part. So far, I have 500+ script, 750+ expression and 100+ Control UI.
4. I actually like all things in single basket; triggers then its action. I combine several similar logic flow into single flow, instead of spreading it over several flows. If you prefer otherwise, you can do the same as tasker do also in Automagic. The project is the flow grouping. If you need to separate profile (trigger) and the task (actions); simply create the actions in separate "task" flows. So you will replicate all the task in taskers into multiple flows without trigger, and those flows must be enabled. Then in another "profile" flows, create the appropriate triggers with single action, execute flow, choose the "task" flows; it can be multiple flows. This way, all the "task" flows act as a set of actions, where if you change it, it will affect all triggers which call it. Some of the users here also do the same, so they can reuse a single flow into multiple triggers case.
I have several flows like this, except I combine it into multiple usages and with other triggers too. Example, my latest full fledge flow, Yeelight Control; to turn on/off, change color, color flow of my yeelight bulb. The main control flow has multiple triggers and can be called from other flow with multiple parameter. I can use manual shortcut, to select the light color, it is a simple input dialog with choices. Or I can use widget, either at home screen or my smartwatch to turn on/off the lamp. Or it can be triggered by my daily alarm, where I put flashing white red color to wake me up as my alarm ring. Or the other triggere from my speech flow, where I can shout "Illumination", to turn on the light. Basically I also use the same concept as profile/task in tasker, except I mixed it so much that the line get blurred
5. Glovar map or Global variable map type, is just the same map type variable, but the global version. When you create new variable in global variable section, example global_new, you can tap the "String" and change to "Map". Press add value and add the key. Put the name you want, example "wifistate" and put Number 1. You can see now global_new contains key "wifistate" with value 1. You can add as many key as you want here, and the result of the glovar use is only 1. To access the wifistate later, you must use the key as in global_new["wifistate"]. Example usages are i don't need to store my router username password as to two separate glovar : global_F660_username and global_F660_password. I can store it in global_iot["F660 username"] and global_iot["F660 password"]; and it only use single space global_iot. I store several other router info here too. Tasker doesn't have this luxury, it doesn't support list/map in the glovar (don't know with the latest version though). Imagine that I have to use hundreds of glovars in tasker to store all my states, where I can use only tens in Automagic. (or 1 only, if you are brave enough to confuse yourself

)
6. The init variable system setting can be used too to get the direct value of the system state, including wifi, bluetooth, gps and other. It is easier to assign the value directly to the glovar to store it. But I usually prefer to use built-in action if there are. Only for some setting those don't have the condition to check it, I will check the value directly here (example : to check bluetooth priority). Using built-in action is more user-friendly than using init variable system setting. But both method can be used.
7. Yes, I am Indonesian. I am active in local forum here, especially for my phone thread (Redmi Note 5), android troubleshooting, and some other android thread including Automagic. Tasker thread is practically dead there, Automagic thread still has rare visitor from time to time.