tanutanu
Well-known member
Hi,
I'm trying to get the broadcast intent from am command via Termux. However, no trigger fired on MD.
Does anybody tell me how to do? Basically, in another case, it actually fired, but keep silent even though putting out a bunch of variable changing log.
I'm writing the macro as followings:
1. Calling my shell script via TermuxTasker plugin,
2, jq command proceed to extract the file asynchronously till it finish the job because it became super slow if returned to MD.
3. MD want to notify these Progress to user and store each state and timestamp for next execution(compare and work for newer only).
4. So, I need to send the info from Termux to MD. I had tried 4 other options as well:
A. calling plugin one by one - first prototype, it's super slow, over 10 times slower.
B. Transfer the data as notification and detect via MD trigger - it worked but looked very poor(suitable for data processing on MD, not for human).
C. Notify via Tarmux'Tasker-api feature - the performance is very nice but the notification looks cheaper.
D. Batch processing pre/post extract - pretty good performance but nobody can't recognize the progress.
Although the trigger never fired, the receiver variable is changing. It's really mysterious
However, this is the first time for me to use so many extra parameters, so I might have misunderstandings
I'm trying to get the broadcast intent from am command via Termux. However, no trigger fired on MD.
Does anybody tell me how to do? Basically, in another case, it actually fired, but keep silent even though putting out a bunch of variable changing log.
I'm writing the macro as followings:
1. Calling my shell script via TermuxTasker plugin,
2, jq command proceed to extract the file asynchronously till it finish the job because it became super slow if returned to MD.
3. MD want to notify these Progress to user and store each state and timestamp for next execution(compare and work for newer only).
4. So, I need to send the info from Termux to MD. I had tried 4 other options as well:
A. calling plugin one by one - first prototype, it's super slow, over 10 times slower.
B. Transfer the data as notification and detect via MD trigger - it worked but looked very poor(suitable for data processing on MD, not for human).
C. Notify via Tarmux'Tasker-api feature - the performance is very nice but the notification looks cheaper.
D. Batch processing pre/post extract - pretty good performance but nobody can't recognize the progress.
Although the trigger never fired, the receiver variable is changing. It's really mysterious
However, this is the first time for me to use so many extra parameters, so I might have misunderstandings
Attachments
-
Screenshot_20211018-204735_copy_1080x1872.png210.7 KB · Views: 29
-
Screenshot_20211018-204615_copy_1080x1819.png189.2 KB · Views: 27
-
Screenshot_20211018-213937_copy_1080x1685.png113 KB · Views: 29
-
Screenshot_20211018-214011_copy_1080x1769.png106.7 KB · Views: 22
-
Screenshot_20211018-214051_copy_1080x1569.png92.1 KB · Views: 22
-
Screenshot_20211018-204026_copy_1080x1053.png123.1 KB · Views: 26
-
20211018_204411_copy_1080x3133.png746.5 KB · Views: 26