Trying to make Tasker automatically open and populate Astrid todo's task edit fields the way that so many other apps can using the Share menu. With pretty much any app being able to do this using Share, I figured it wouldn't be too hard to make Tasker do the same, but I'm having trouble finding out how.
I'm using the beta of Tasker so Send Intent replaces the previous two intent actions. The fields available are Action, Category, Mime Type, Extra, Package, Class, and Target. Right now Package is set to com.timsu.astrid and Class to com.todoroo.astrid.activity.TaskEditActivity, which manages to open the task edit screen. That intent is however from the Astrid widget so I don't know if that's even the right thing to use if doing this via the Share ability.
I'm not a dev so doing this blindly. Any help would be appreciated
Hi, did you manage to get this to work?
I stopped using Astrid ages ago. Compared to what I built from scratch using Tasker, it's **** for my use
My Goal: To launch the app and the activity with one tap to an NFC chip. Tap the chip>App opens>Starts tethering
I've tried the tasker method listed here:http://tasker.wikidot.com/wifi-tether
My other attempts involve using only NFC Task Launcher
Either
A: I create a tag that launches the tethering app and specifies !/data/data/com.googlecode.android.wifi.tether/bin/tether start 1 in the custom activity box
or
B: I create a tag with two tasks
1.Launch the app
2.Launch the activity within the app
Can't get it to work. I've tried erasing before writing to the tag, leaving the phone on the tag for an extended period of time to ensure a proper write. I can get the app to launch, but it wont start tethering on its own.
Any help would be greatly appreciated.
Bumpity.
I'm looking for a way to use data from Torque in Tasker.
I want to take data from torque and use it to drive actions in Tasker. Specifically, I'd like to turn the screen on when the engine comes on. Is anyone aware of previous work done in this area that might get me started? Or, would I need to code a Tasker plugin?
I'm aware I could accomplish this using ACC power as the on/off flag, but I'd like to charge the tablet at all times and not just when the car is running.
I know this is an old post but I'm interested in this same thing. My goal is to actually get intake air temperatures onto my pebble watch by passing them from Torque to Tasker and finally to the Pebble.
Hi, so still nothing new *push*
I'd also like to integrate Torque variables into Tasker very much. E.g. disabling the security keyguard as long as the motor is running, enable security when the motor is off. (So you can leave your phone in the car with others whilst refueling...
Any ideas?
Torque and AIDL interface
hunchi said:
Hi, so still nothing new *push*
I'd also like to integrate Torque variables into Tasker very much. E.g. disabling the security keyguard as long as the motor is running, enable security when the motor is off. (So you can leave your phone in the car with others whilst refueling...
Any ideas?
Click to expand...
Click to collapse
Hi
You'll need to use the AIDL 'api' interface that Torque supports to talk to it. Sensors information is retrieved only when it is asked for (and if the data was broadcast over intents, android would probably go slow when you're doing upwards of 100sensors/second refresh rates)
The AIDL interface will be the way forwards to get what you want though (then you can do with it what you want in terms of rebroadcasting if you want) - there's some information on it on here: http://torque-bhp.com/forums/?wpforumaction=viewtopic&t=438.0 which should be enough to get people started
Tasker plugin for Torque Pro
Is anyone working on this? It would be very useful to be able to have Tasker monitor Torque variables and be able to perform actions based on their values.
iraf said:
Is anyone working on this? It would be very useful to be able to have Tasker monitor Torque variables and be able to perform actions based on their values.
Click to expand...
Click to collapse
I've been able to do this following some disperse advice from the web.
Torque
As you see, Torque is able to write a CSV file with selected parameters. All that it basically does is to add a line at the end of that file listing those parameters values. In its settings you can change the frequency of modifications to that file. In my device this file is stored at /storage/emulated/0/torqueLogs/trackLog.csv.
Tasker
Once in Tasker you should set a profile to act on each change done by Torque to it. I've found the profile to be Event > File Modified and to retrieve those parameters inside the file, set up a task that runs the following Shell Command:
tail -1 /storage/emulated/0/torqueLogs/trackLog.csv
This retrieve the last line of the file and stores the output inside a variable. I called it %OBDLOG. A second action inside this task splits this Comma Separated Values (CSV) from that last line using the action Variable Split, and the separator ",". This creates N variables named %OBDLOGN. Example: %OBDLOG1, %OBDLOG2, %OBDLOG3...
Done that, we have to check which value corresponds to the parameter we want.
Bonus Info
You might want to clean this file once it reaches a specific size.
I've done this so that I can say commands through Bluetooth usingTasker Plugin AutoVoice. You can check the logic used by me to say the Coolant Temperature once it reaches 70ÂșC in the attached image.
Sorry not to be able to link outside. XDA prevents me as I'm a newbie! hehe
Cheers!
I'm having trouble finding the trackLog.csv file. I have files in the .torque folder on my sdcard but what options in logging do you have to enable to generate loss in the torqueLogs folder?
Sent from my XT1060 using Tapatalk
Very interesting !!!!
Can you detail all the steps please ?
thanks
Just set up something similar. Setup torque as describer by "dirceucorsetti" above, except I dont use "log rotation".
Below is for tasker.
Profile: Torque
State-Net-BT Near
Name-find your OBD adapter in the list
Min uses regular old BT, so I had to check "Standard Devices"
Enter Task:Start Torque
Exit Task: Stop Torque
Task: Start Torque
App-Launch App-Torque
Task: Stop Torque
Misc-Send-Intent
Action-org.prowl.torque.REQUEST_TORQUE_QUIT
Package-org.prowl.torque
Script-Run Shell
Command- tail -1/storage/emulated/0/torqueLogs/trackLog.csv
Store output in- %OBDLOG
Net-Compose Email
Recipient - your email
Subject - TorqueLog - %DATE
Message-%OBDLOG
File-Delete File
File- torqueLogs/trackLog.csv
Of course you could send the file anywhere. I just wanted to share how I start and stop torque automatically. That seemed to always be the issue.
Interestingly I can also start Waze in this task. I could never figure out how to get taker to detect when I was driving. Until I remembered the OBD adapter.
good info! I started googling about tasker and torque integration not really expecting much result. I want to build a custom interface to run on my in-dash nexus7 that reflects some of the torque info/stats. Thats a good start!
Also found this listing of torque intents and data it logs.
http://torque-bhp.com/wiki/PluginDocumentation
Gator Brah said:
good info! I started googling about tasker and torque integration not really expecting much result. I want to build a custom interface to run on my in-dash nexus7 that reflects some of the torque info/stats. Thats a good start!
Also found this listing of torque intents and data it logs.
http://torque-bhp.com/wiki/PluginDocumentation
Click to expand...
Click to collapse
Not exactly on topic, but do you guys have any idea how to launch a torque plugin from tasker? I'd love to get my racing dash to launch automatically, but I cant seem to figure out how to make that happen.
I would like to see an actual plugin for torque. Just starting to work with it. Would like to use utter to announce things. And autovoice to ask it questions. Never can get torque to tell me its at operating temp. Also looking for any more creative ideas from people. This could be fun.
Sent from my HTC One_M8 using XDA Free mobile app
Getting error "sh: <stdin>[2]: tail: not found" under variables
Sent from my Nexus 7 using XDA Free mobile app
Installed busy box. Forgot since I installed android L. And file was /sdcard/torquelogs.
Sent from my Nexus 7 using XDA Free mobile app
Back at it after updating tablet to "m". I have my 9 variables I want and that keep refreshing. But after I rename them it just replaces it and the renamed variable says at the same number. What am I missing. Also had to change "tail -1" to "tail -n 1" for it to read last line.
Sent from my Pixel XL using Tapatalk
So I just got some NFC tags and want to add one to my car dock. Just want to do basic stuff like turn on maps and bluetooth...easy enough. But how do I get them to turn off once I take the phone out of the dock. Seems, at first glance that there's no way for an exit profile.
I'm sure there's a way to do this with tasker or something but I've never been able to do much with that other than the super basic.
Can anyone give me some guidance as to how I can best accomplish this exit profile?
Thanks
finneginsfast said:
So I just got some NFC tags and want to add one to my car dock. Just want to do basic stuff like turn on maps and bluetooth...easy enough. But how do I get them to turn off once I take the phone out of the dock. Seems, at first glance that there's no way for an exit profile.
I'm sure there's a way to do this with tasker or something but I've never been able to do much with that other than the super basic.
Can anyone give me some guidance as to how I can best accomplish this exit profile?
Thanks
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2122019
(note: I just searched the entire Forum not mention a word about NFC Tags yet)
I just bought a package of NFC Tags and I'm learning&playing with those.
I see mainly that you can add an App to run after use it, and a universe of things you can also do with it.
But I'd like to use your App's shortcut: 'Hibernate Now' that I did create within the App options to my Home Screen.
Those NFC Tags Apps don't show how to run App's shortcuts, and google is confusing or too deep. Anything else, yes is standard and there exist.
But IDK if someone or developers can tell me how to run 'Hibernate Now' Shortcut with a NFC Tag.
Someone suggested on Google recommend do a URI but doesn't work for me (Android/Samsung):
Even more interesting is to run shortcut instead to DEPEND on loaded App to watch for the tag to run anything (for iPhone, IDK for Android):
'reddit dot com/r/shortcuts/comments/9ifl9y/i_have_an_nfc_tag_that_opens_up_a_shortcut_to'
Everybody (even Developers) will be happy with this new combo-use !
Thanks in advance for any help and Happy New Year for everyone ! =D
You can use An App like AutomateIt or tasker to trigger the required action when NFC tag is detected.