[Q] Tasker/Torque Integration - Android Q&A, Help & Troubleshooting

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

Related

Llama vs Tasker?

I've been using Llama for a while and really like it. Have been thinking about using Tasker instead and would like to ask people with experience of both:
What about Tasker makes it worthwhile to spend the $5 instead of using the free Llama?
I'd like to be convinced Descriptions of cool uses of Tasker that Llama is incapable of welcome
I use them both but prefer Tasker because of SMS actions. However, SMS integration is on Llama's to-do list.
So far I have tried ALL auto profile apps -- Locale I only had for 15 minutes bc I have tasker and it uses the locale plugins.
Tasker was hard as hell to get the hang of. But once it "clicked" , I was downright ASTOUNDED by what it can do.
I just got Llama, and I like it a lot...much easier than tasker. Some thigns I like better -- enter vs leaving a location etc. However, Tasker is MUCH more powerful and the gui - while difficult to use - is much more clear to see and operate.
If I had to only pick one ---- TASKER. While Llama has its advantages, tasker can do alot more. This also means much more room to screw something up. LOL.
Tasker is worth the money ...even if you end up not using it, just to know that your phone will to anything the way YOU WANT when YOU WANT how YOU WANT.
**** TASKER TIP*****
A profile is a list of "if's" - conditions to kick of a task.
A task is a list of actions -- I thought each needed many tasks but no --- a task itself has the many actions in it.
Smart bc then you can add or swap tasks as need be without having to remake them.
Also, I value tasker's SMS functions and If, then, Goto, else if etc action statements allowing loops etc.
I've just started using Llama myself after using Tasker for about a year. Llama is definitely more user-friendly in terms of building events and profiles. Tasker's learning curve is very steep by comparison.
However one advantage that I've found Tasker to have over Llama is that Tasker is a lot more aggressive when it comes to implementing its actions. When a condition is satisfied for a Tasker event, the actions kick in immediately. Whereas for Llama it can take a few minutes for it to even realise that a condition has occurred.
I've also found that some of Llama's actions don't always work properly, such as setting screen timeouts or brightness. For example, setting screen timeout to "Never" while on the browser only changes it to 1 minute. Or when a sound profile kicks in, looking into the audio settings shows that the volume hasn't actually been changed.
Of course Llama is free and you can't beat that in value for money. However Tasker is definitely more powerful and robust. There are pros and cons to each but if I had to pick I'd go with Tasker.
tl;dr - Llama is free and easy to use but doesn't always work. Tasker costs money and is complicated to learn but powerful and always works.
What about Actions Lite (free, 'Actions Pro' with cost) vs. Llama or Tasker? Any comment will be welcomed.
I'm playing for several days now with Llama and it is really flexible and supports and/or operations, queued events and many abilities that can help solve complex cases like 'leaving my home - start polling BT - if connected: I'm driving - set Driving profile, if not connected: set outdoor profile' etc. On the other hand its division between 'profile' (only sound related settings) and 'action' (consequence of events) is a bit annoying...
One of the most used features (for me...) is the 'unlock screen' (for driving and at home) but none of the SW I have tested (such as 'profiling' ones or designated ones) works well on my HTC One X, ICS, stock ROM or Charmeleon ROM (PKMN). Any suggestions?
I guess it depends on what kind of use you are going to do, i think llama is basic, just enough to silent your phone at home... But if you want to do something more complicated you should try tasker...
I use Tasker.This is the best apps for customize all system.I tryed Llama to,but not the same.
How about footprint? Tasker uses 18Mb ram. What's Llama's footprint?
pbecks1963 said:
How about footprint? Tasker uses 18Mb ram. What's Llama's footprint?
Click to expand...
Click to collapse
Llama is currently using 3.38MB on my phone.
isNaN said:
Llama is currently using 3.38MB on my phone.
Click to expand...
Click to collapse
My Llama is running at just under 10MB
My Llama runs under 10MB as well.
I use Tasker. Best app.
manuelkuhs said:
I've been using Llama for a while and really like it. Have been thinking about using Tasker instead and would like to ask people with experience of both:
What about Tasker makes it worthwhile to spend the $5 instead of using the free Llama?
I'd like to be convinced Descriptions of cool uses of Tasker that Llama is incapable of welcome
Click to expand...
Click to collapse
probably cant turn off your keyguard on a certain wifi network if you dont use tasker
Having used both Tasker and Llama extensively (I would say 50 to 100 hours in each programming stuff) and having had both running my stuff at different time for over a year, I'd summarise them as follows:
Llama:
+ free
+ easy to learn
- functions a little limited although sufficient for most
Tasker
+ extremely powerful, far more functions
+ can export to make stand-alone apps
- steep learning curve
Summary/Advise:
If you're looking into Android automation, start with Llama to see can you do what you want. If you can't do it with Llama, then and only then move onto Tasker.
mikeyb1216 said:
probably cant turn off your keyguard on a certain wifi network if you dont use tasker
Click to expand...
Click to collapse
You can do this with Llama, too.
oh you can? sorry i dont use llama so i didnt know for sure
Any one knows how to copy llama cell locations and use it in Tasker.. ?
leojab said:
Any one knows how to copy llama cell locations and use it in Tasker.. ?
Click to expand...
Click to collapse
I'd love to know how to do this too.
Alternatively, has anyone been able to send Android intents between the two and have them work together? This would be quite useful in my opinion.
is it possible to add conditions with Tasker?
I have been using Llama for months now and I love it. But it is true, sometimes, the actions don't run immediately after a condition is met.
I wanted to try Tasker, what I did. It is far more difficult to use!
Also, I don't know how to/if it is possible to set several condition to fire an action, what is easy to do with Llama.
For example, I want my phone to ring instead of vibrate when I am home between 9am and 11pm. So there are actually 2 conditions : time and location.
How do you do that with Tasker?
Also, is there a way to create a condition when you leave a location (which can also be done with Llama)
Thanks for your answers
mikemyerslyon said:
For example, I want my phone to ring instead of vibrate when I am home between 9am and 11pm. So there are actually 2 conditions : time and location.
How do you do that with Tasker?
Also, is there a way to create a condition when you leave a location (which can also be done with Llama)
Click to expand...
Click to collapse
Both are doable in Tasker. A context in Tasker can have more than one condition. One condition for a given context can be a time-based condition (say, between 9am and 11pm), and the other can be based on location. Just add more than one condition to a given context.
As for entering and leaving a location, you can do that with an enter and exit condition for a given Tasker context.
.​

Smart Action app for other phones?

Didn't want to post this in the dev section but this app seems extremely useful and I was curious if there was any way of extracting it for use on other android devices?
That would be very darn useful for everyone.
I'm using tasker . . . you can do alot of creative stuff with it, but it is kinda complicated and costs ~$6
mel493 said:
I'm using tasker . . . you can do alot of creative stuff with it, but it is kinda complicated and costs ~$6
Click to expand...
Click to collapse
I have tasker as well but in general I dont find it super user friendly. From the looks of it Smart Action could replace tasker as well as juice defender which I also use.
I've already made one for home, work and when I go to bed. It seems pretty user friendly to me. Excellent app.
Heh, even if someone extracts it, it needs Blur libraries and frameworks, too.
kholk said:
Heh, even if someone extracts it, it needs Blur libraries and frameworks, too.
Click to expand...
Click to collapse
I've seen harder things get ported on xda just needs willing developers
I haven't really had a look at this Smart Action App yet as I still haven't received my microsim. I was wondering how sophisticated it is?
Is it possible to have it read sms when connected to bluetooth, for example? I attempted this with Tasker on my Defy with no success - I don't think Tasker liked MIUI very much
stunno said:
I haven't really had a look at this Smart Action App yet as I still haven't received my microsim. I was wondering how sophisticated it is?
Is it possible to have it read sms when connected to bluetooth, for example? I attempted this with Tasker on my Defy with no success - I don't think Tasker liked MIUI very much
Click to expand...
Click to collapse
Tasker does many things but in terms of doing things you need to know the proper terms for the various variables etc for what you want to do which isnt too simple
Here are some premade ones you can download or make but none for what you wanted
http://tasker.wikidot.com/profile-index
As an example of how complicated it can get with tasker is the following. How to make a battery full notification.As you can see the app lets you do allot but is not super user friendly. Smart Action may not be able to do all that tasker is able to but may be able to do most and may be more user friendly
click New and select Event
select event category Power and event Battery Full
click Done
click + in the bottom left to add an action
select category Alert and action Notify (Sound)
type Battery Full! in the Title field
click Done
To avoid getting a repeat notification within 30 minutes, we add a cooldown:
Click on the profile and select Profile Properties
Slide the Cooldown Time slider to the far right
Click Done
Alternative solution to avoid repeat notifications (added by b00ky)
Set a variable such as "%BFN" to 0 anytime you plug in your phone
Edit the "Notify Sound" task to only run "If %BFN < 0"
Add a new task "Tasker » Variable Set » %BFN to 1"
This has worked for me and makes sure you only get notified ONCE while it is plugged in as opposed to after 30 minutes of cooldown.
I'm new to this so I apologize if this is not a good way to do this, but it works for me.
An alternative to the alternative to avoid repeat notifications. If you tend to leave plugged in for long durations, 30 minute cool down may not do it for you. The below gives you a one time notification that your battery is full, and wont repeat until you unplug/replug back in. phonedude
Profile - Battery 100%
Event - Battery Full
Enter task -
1. Play your sound
2. Set Profile Status {Battery 100%} to Off
Exit task-
n.a.
Profile - Plugged In
State - Power (Source = Any)
Enter task -
1. Profile Status {Battery 100%} to On
Exit task-
1. Profile Status {Battery 100%} to Off
Thanks for that fidorulz! Much appreciated. I notice on that site that the guy tried to get the read SMS to work and failed, tried again and got it working but doesn't know how!
http://tasker.wikidot.com/readsmswhileincardock
I found a walk through on here that would not work either and I assumed it was because of MIUI, as Tasker didn't register any SMS being received. It seems that the %SMSRF and %SMSRB variables only get initialised when an SMS is received.
I will patiently wait for tmobile and the royal mail to get their fingers out and deliver my microsim and I will give it another go
I use "Setting Profiles" pretty simple and powerful, a lot easier to use than tasker (although not quite as powerful in the nitty-gritty) but definitely hits the 80/20 rule. It costs, but I believe there is a free version to try out the functionality and see how you like it.

Tasker WiFi Sign-in?

I have just recently started using Tasker for some simple tasks like turning on/off GPS or WiFi, silencing my phone, etc... And I am trying to figure out how to set up a task to sign in to secured WiFi SSIDs. My work and school both require you to "sign in" before you can use their WiFi, so my phone tells my whenever it connects, to "Sign into Wi-Fi Network". Both of them are different however. My work is a simple checkbox to "agree" to the store's conditions My school, I actually have to type in my student information.
What I would like to do is make a task to automate that signing in process as soon as my phone connects to the WiFi. Has anyone done anything like this or have any suggestions how to go about it?
Tasker is a very powerful app whose full capabilities I personally haven't even started to scratch...play around especially with creating variables under the NET > Wifi Connected/Near task or profile and I think you'll be able to write a simple profile to do this for you. Best way to do this is when you're actually on/near that network so you can automatically pull in the details of the Mac address or SSID...
You can start by looking here to see if you can "kang" one profile/task or so
http://tasker.wikidot.com/profile-index
Under Advanced category on this wiki look to see how you can modify the Wifi Auto Start/Stop profile...
I tried to do something like this a long time ago but figured it.
Hope some one can help out
Sent from my GT-N8013
Moe5508 said:
Tasker is a very powerful app whose full capabilities I personally haven't even started to scratch...play around especially with creating variables under the NET > Wifi Connected/Near task or profile and I think you'll be able to write a simple profile to do this for you. Best way to do this is when you're actually on/near that network so you can automatically pull in the details of the Mac address or SSID...
You can start by looking here to see if you can "kang" one profile/task or so
http://tasker.wikidot.com/profile-index
Under Advanced category on this wiki look to see how you can modify the Wifi Auto Start/Stop profile...
Click to expand...
Click to collapse
I'm afraid I may have to write some sort of script to handle the authentication. I can make it check to see if I'm connected, and I should be able to see if I have connectivity or not, but I don't know where to go from there.
EDIT: On further examination, I don't see a way to check WiFi connectivity or speeds.
Sent from my SAMSUNG-SGH-I747 using xda app-developers app
There is the newbie tut thread... and a Google group
Sent from my Vivid 4G using Tapatalk 2
rignfool said:
There is the newbie tut thread... and a Google group
Sent from my Vivid 4G using Tapatalk 2
Click to expand...
Click to collapse
And this is not a newbie tut issue. It looks like people all over the internet have been trying to do it, and there hasn't been much progress.
Sent from my SAMSUNG-SGH-I747 using xda app-developers app
I've tried to do something similar some time ago to login to fon networks, with no luck I'm afraid
My best guess was trying to use "http post" plugin
https://play.google.com/store/apps/details?id=com.steelgirder.LocaleSendEmailPlugin
But still the lack of knowledge took ahead of me, maybe you can have a look at it
wish you better luck than mine :thumbup:
Sent from my Nexus 7 using Tapatalk HD
I solved one of them!!! I was able to get it (I think, haven't field tested yet) to work with my work WiFi Here's my setup:
State: Wifi Connected Guest,*,* (Name of SSID is Guest)
1. Browse URL *the URL for the login page*
2. Run Shell [Command: sleep 0.1; input tap 50 715; sleep 0.025; input tap 620 800 Timeout: 0 Use Root: Yes]
The coordinates in the "input tap" sections are the coordinates for the "agree" checkbox, and the "agree" button, respectively This seems to work awesome, but I have to try it when I'm there. I'm now going to try and figure out how to make it do it while the phone is asleep
BTW, an easy way to get those coordinates is to turn on "Show Pointer Location" in Developer Settings.
@Drinfernoo
I am going to tedt this out on Monday at work
Sent from my GT-N7000 using Tapatalk 2
I use a great app called WiFi Web Login. It's pretty cheap in the play store. Logs into my school WiFi flawlessly every time.
Sent from my SPH-L710 using xda app-developers app
ooonimrodooo said:
I use a great app called WiFi Web Login. It's pretty cheap in the play store. Logs into my school WiFi flawlessly every time.
Sent from my SPH-L710 using xda app-developers app
Click to expand...
Click to collapse
Definitely worth a shot Thank you.
Sent from my SAMSUNG-SGH-I747 using xda app-developers app
Of course! You won't be disappointed.
Sent from my SPH-L710 using xda app-developers app
I just purchased the app. Works well on both secured wireless network login page and guess wifi at my school.
Interpreting the pointer position
drinfernoo said:
I solved one of them!!! I was able to get it (I think, haven't field tested yet) to work with my work WiFi Here's my setup:
State: Wifi Connected Guest,*,* (Name of SSID is Guest)
1. Browse URL *the URL for the login page*
2. Run Shell [Command: sleep 0.1; input tap 50 715; sleep 0.025; input tap 620 800 Timeout: 0 Use Root: Yes]
The coordinates in the "input tap" sections are the coordinates for the "agree" checkbox, and the "agree" button, respectively This seems to work awesome, but I have to try it when I'm there. I'm now going to try and figure out how to make it do it while the phone is asleep
BTW, an easy way to get those coordinates is to turn on "Show Pointer Location" in Developer Settings.
Click to expand...
Click to collapse
Can you explain how to interpret the coordinate figures from using the "show pointer location"
Mine are P: 0/1
dx:1.5
dy:-1.5
Xv:0.0
Yv:0.045
prs: 0.58
Size: 0.27
Which ones are relevant to the command line? Can you provide a relevant command line for those readings. It is just one ok button that needs to be pressed.
Thanks in advance!
Okay so I just used an app called Wifi Web Login.
tab through links and then press enter when the button is highlighted using keyevent
drinfernoo said:
I solved one of them!!! I was able to get it (I think, haven't field tested yet) to work with my work WiFi Here's my setup:
State: Wifi Connected Guest,*,* (Name of SSID is Guest)
1. Browse URL *the URL for the login page*
2. Run Shell [Command: sleep 0.1; input tap 50 715; sleep 0.025; input tap 620 800 Timeout: 0 Use Root: Yes]
The coordinates in the "input tap" sections are the coordinates for the "agree" checkbox, and the "agree" button, respectively This seems to work awesome, but I have to try it when I'm there. I'm now going to try and figure out how to make it do it while the phone is asleep
BTW, an easy way to get those coordinates is to turn on "Show Pointer Location" in Developer Settings.
Click to expand...
Click to collapse
Thanks so much for posting this! I had a similar problem where my Wifi at work requires users to accept the TOS every time they login. For me I just have to click on a log in button. The tap command would have been too complicated because there was a lot of scrolling to get to the accept button at the bottom of the page. My solution was very similar and uses the input keyevent shell command which simulates key presses on the keyboard. You could probably use this method to input your login information by using the right sequence of simulated keyboard presses. For my situation the pertinent key presses are keyevent 61 which is Tab, to highlight and advance through elements on the page, and keyevent 66 which is enter, to "click" on the accept button. I found a complete list of keyevent codes on the android developers website by goggling "input keyevent android"
1. Browse URL (login page link) - This opens it in my default browser which is chrome.
2. Run Shell (input keyevent 61; input keyevent 61; input keyevent 61; input keyevent 61; input keyevent 61; input keyevent 61; input keyevent 61; input keyevent 61; input keyevent 66) - This will tab through the links on the login page until the accept button is highlighted and then the enter key will be pressed.
I'm kind of a newb and this is my first post so if anyone has any tips for shortening my shell command please let me know. I was trying to figure out how to press Shift and Tab simultaneously to take me directly to the last element on the page (which is the accept button) but couldn't figure it out. I would be super grateful if anyone could share how to do this.
I am trying something similar. My problem is that the login "page" is a notification based Android System popup. If I could get tasker to load the notification I can use intents to fill out the fields. Any ideas?
For any future people, this is not hard to accomplish through direct and "proper" means.
Create a profile that detects when you connect to a network, and in tasker, check through Java code whether you're connected or not, and if not, connect by having tasker POST the data
Easy, fast, direct, and no need to do anything like simulating key presses
To get the URL and data fields you need for POST , you'll need to do a little dev debugging to figure it out. (Check the HTML)
Find the Java code in the first answer, isWalledGardenConnection()
https://stackoverflow.com/questions...cted-internet-access-captive-portal-detection
Working great for me, check my screenshot
P.S. You can see my tasker profile and task scripts for an example
Can you expand on this and post login for Starbucks,
Wendy's etc?
BBRecon said:
For any future people, this is not hard to accomplish through direct and "proper" means.
Create a profile that detects when you connect to a network, and in tasker, check through Java code whether you're connected or not, and if not, connect by having tasker POST the data
Easy, fast, direct, and no need to do anything like simulating key presses
To get the URL and data fields you need for POST , you'll need to do a little dev debugging to figure it out. (Check the HTML)
Find the Java code in the first answer, isWalledGardenConnection()
https://stackoverflow.com/questions...cted-internet-access-captive-portal-detection
Working great for me, check my screenshot
P.S. You can see my tasker profile and task scripts for an example
Click to expand...
Click to collapse
edmondt said:
Can you expand on this and post login for Starbucks,
Wendy's etc?
Click to expand...
Click to collapse
Here is more example. No guarantee it works for you, it's highly specific to my device probably
BBRecon said:
Here is more example. No guarantee it works for you, it's highly specific to my device probably
Click to expand...
Click to collapse
That Looks amazing!! Gonna play with it and try Mc Donnalds etc..

home automation video lets crack this

Ok everybody look at this video and I think we should all decipher this https://www.youtube.com/watch?v=RjTj0ymhbBw&feature=youtube_gdata_player
This guy of course WILL NOT explain step by step to get it to work the way he did.
Maybe we all can give each other pointers?
We know he's using tasker and auto voice perhaps we all can help figure this out step by step ?
That's a nice impressive setup....
Lets figure out how to do this.
Wow no one is interested eh? Lol
You first need a decent familiarity with Tasker, and then:
- a Z-wave/Zigbee controller, such as the Vera Lite
- a few Z-wave switches
- AutoVoice plugin for Tasker to parse your input and connect them to tasks/shortcuts that toggle the switches.
That's the easy part. He has XMBC on his home theater system and uses Yatse to access that. Read more about how he got this working from the Reddit he posted it on as well as at Pocketables http://goo.gl/AdmEG.
I'm waiting on the Almond+ router before I jump into this since most home automation controllers are $$$.
endigo85 said:
You first need a decent familiarity with Tasker, and then:
- a Z-wave/Zigbee controller, such as the Vera Lite
- a few Z-wave switches
- AutoVoice plugin for Tasker to parse your input and connect them to tasks/shortcuts that toggle the switches.
That's the easy part. He has XMBC on his home theater system and uses Yatse to access that. Read more about how he got this working from the Reddit he posted it on as well as at Pocketables http://goo.gl/AdmEG.
I'm waiting on the Almond+ router before I jump into this since most home automation controllers are $$$.
Click to expand...
Click to collapse
I was playing with tasker yesterday can u confirm tasker work with HTC one?
Somehow the app kept saying it doesn't have the profile when it does?
This gentleman that posted this is probably not new to the AV scene and programming aspects either. I'm sure there's "more than meets the eye" than what is being shown; he probably spent a lot of time researching before getting the Eureka moment of tying it all together. Kudos to this and other DIY'ers.
I'm sure if we make effort we can figure it out.. AV guys unite!
Sent from my HTC One using xda premium
What I don't get from what I've read is for Z-Wave you need a controller (e.g. Vera Lite) and then you can tie all the devices together, but I don't see anything similar for ZigBee, hows do you get ZigBee devices to talk to each other? I know some stuff will be achievable through tasker but with Vera Lite (or other Z-Wave controllers) you can do everything through the Controller interface.

[Q] Tasker, Autovoice and yatse

id like to intergrate yatse voice control with tasker and autovoice. id like to be able to say "xbmc" and then have the yatse voice control pop up to open up.
taking it a step further, id like to be able to control xbmc using autovoice itself, for example, open the autovoice popup and say "i want to watch (movie)" and then the system does the rest.
simple in essence, however i cannot find the correct way to do it.
According to the developers if Yatse themselves you should be able to accomplish this with the API.
http://yatse.leetzone.org/redmine/projects/androidwidget/wiki/Api
Not sure but you could try to send an intent with Tasker. Try this for playing a movie:
Profile:
Autovoice recognize:"xbmc"
Task:
Send intent
Action: org.leetzone.android.yatsewidget.ACTION_APP_VOICECOMMAND_PARSER
Extra: org.leetzone.android.yatsewidget.EXTRA_STRING_PARAMS:%avcommnofilter
Target: Service
The %avcommnofilter contains whatever you said after the trigger. Which is 'xbmc' in this case. So the command "xbmc play <movie>" would send org.leetzone.android.yatsewidget.EXTRA_STRING_PARAMS: play <movie> to yatse.
As for play, pause or stop you would use the MEDIA_COMMAND instead of the PARSER.
Let me know if it works. If not, maybe someone else can shed some light. I quite like the idea you've got there.
I don't know what i might be doing wrong, but i tried doing this and i'm not able to get this to work. Is there some special settings i need to have setup on xbmc/yatse?
Update: I got it figured out. Was doing something wrong, but all is good now.
What did you do to get it working.... using the sample above not getting anying
clayboy said:
What did you do to get it working.... using the sample above not getting anying
Click to expand...
Click to collapse
You need to take the spaces out of the action and extra lines. For some reason xda adds them, They aren't needed and are what's screwing it up if you do a direct 1:1 copy of the lines.
stearic said:
You need to take the spaces out of the action and extra lines. For some reason xda adds them, They aren't needed and are what's screwing it up if you do a direct 1:1 copy of the lines.
Click to expand...
Click to collapse
i typed it out without spaces and still unable to play a movie
clayboy said:
i typed it out without spaces and still unable to play a movie
Click to expand...
Click to collapse
Do you have the premium version of yatse?
stearic said:
Do you have the premium version of yatse?
Click to expand...
Click to collapse
yeah... I finallly got it by copying and pasting... just outrageous i spent hours trying to get it to work.... lol... thx now to get tasker to control my amp from avr romte... oh boy:good:
Yea, i spent a few hours only to find out that something didn't copy or paste right so it was all screwed up because of that.
Control XBMC from Tasker & AutoVoice
You know, you can take this one step further and actually control XBMC directly from an AutoVoice command just as you were seeking.
Here's how to do it... http://kinkeadtech.com/2014/08/control-xbmc-from-tasker/

Categories

Resources