[Q] Autowear and tasker - Moto 360

So I have a task that is "open the door" in the tasker app but everything works great from the phone but I want to activate the same task from my moto360, I have autowear but for some reason i'm not able to get it done from the watch, any ideas?
Thanks to all

What does the task consist of? You have a smart lock on your door?

Check here to learn how to use AutoWear
joaoapps.com/autowear/

Related

Automation - NFC Task Launcher, Tasker, others...

I wanted to start a thread that focused on automation idea's and how to execute them and NOT about troubleshooting apps or why you can't get any NFC tags to format etc...
There is already a thread dedicated to that here :
http://forum.xda-developers.com/showthread.php?t=1359057
So assuming there is a demand, please discuss any automation like:
-What you have done with your NFC tags
-What have you done with the app Tasker, NFC Task Launcher or any other automation app/scripts.
-Dream Idea's, like I want to have my house make a pizza and have it ready when I get home, but I don't know how to do that. anyone?
I'll try to keep a Table of Contents and link directly to useful idea's as we go.
Some useful links so far:
Tasker Guide thread by skulk3r
http://forum.xda-developers.com/showthread.php?t=890596
NFC Task Launcher info by krohnjw:
http://forum.xda-developers.com/showthread.php?t=980741
Reserved...
Nice thread! I use these every day!
NFC Task Launcher:
1) Tag on my laptops - Enable WiFi HotSpot, Set password and SSID, Disable Bluetooth if on, disable sync.
2) By my Door - I use a Home and Away Profile.
Away is triggered first and Disables WiFi, Enables 3G/4G, Enables Vibrate mode.
Home is triggered on second tap - Enables WiFi, Connects to my SSID, Disables 3/4G, Full Volume, Enable Sync if it was off, Launch gmail app to pull e-mails.
3) A small tag on my BT Headset - Enable BT and Connect to the headset. (When the headset is connected Tasker launches Rdio). Second tap disable BT and Tasker closes Rdio if open still.
Tasker:
1) If I am Near Cell ID by my house or friends house enable WiFi.
2) If SSID is near connect, if not disable WiFi.
3) Maps opens enable GPS, disable when closed.
4) When BT Headset connects open Rdio set media volume to 7
5) When wired headset is plugged in open Rdio set media to 11. (for the car XD)
6) When charging is pluged in set brightness to full, Max Ring volume, Enable WiFi if it's off, Enable Sync, Launch E-Mail for refresh.
7) When charged Vibrate for 30 Secs + Audio alert.
8) Proximity sensor Locks screen.
9) Long press search enable BT.
10) From 23:00 to 07:00 Dim screen to lowest setting, Vibrate mode, launch clock.
I can export them if anyone wants to use them!
Nice job! You should export those and attach them here anyway. Even if someone doesn't need exactly what you have done the profiles could be a really good learning tool. Really nice job on some of those.
I am trying to have interactions with specific programs using tasker without much luck. What I would love to do is turn my TV on and go to my DVR using the Google TV app when I place my phone on the coffee table with a nfc sticker.
Sent from my Galaxy Nexus using XDA App
Ive got a 'beacon for android' coming in the mail. when it gets here im hoping to hide a nfc card in the arm rest of my couch so when i put the phone down it will turn on the tv and will launch to the universal remote part of the dijit program.
Im thinkin all that might take some work tho. Also i would love to be using iRule/GC-100-12 or the logitech revue/harmony but cant afford to set those systems up.
I also have another NFC card on my desk so when i put my phone down it starts my computer (Using NFC launcher and tasker).
One idea i would love your opinons on is, can tasker determing if a microusb plugged in is a charger or computer or MHL/HDMI connection? i would love for my gallary or emulation to pop up when i plug it into a tv
unknownkwita said:
Ive got a 'beacon for android' coming in the mail. when it gets here im hoping to hide a nfc card in the arm rest of my couch so when i put the phone down it will turn on the tv and will launch to the universal remote part of the dijit program.
Im thinkin all that might take some work tho. Also i would love to be using iRule/GC-100-12 or the logitech revue/harmony but cant afford to set those systems up.
I also have another NFC card on my desk so when i put my phone down it starts my computer (Using NFC launcher and tasker).
One idea i would love your opinons on is, can tasker determing if a microusb plugged in is a charger or computer or MHL/HDMI connection? i would love for my gallary or emulation to pop up when i plug it into a tv
Click to expand...
Click to collapse
Wait... are these possible?
I would love a 'Morning TV' tag:
Launch Google TV app
Turn on TV
Turn on Speakers
Change to channel 70 (ESPN)
Open __ url
I'd pay someone to make that for me.. and many others.
Sent from my Galaxy Nexus using xda premium
itsjusttim said:
Wait... are these possible?
I would love a 'Morning TV' tag:
Launch Google TV app
Turn on TV
Turn on Speakers
Change to channel 70 (ESPN)
Open __ url
Click to expand...
Click to collapse
its entirely possible, just takes alot of apps and hardware.
1. NFC Card launches the particular activity in the universal remote app (dijit/irule/harmony/etc) this may require tasker.
2.Remote app performs its functions.
2.1.connects via BT/WIFI to a controller (these can emit IR/RF/rs232/TCP)
2.2.the controller sends out all the commands to all the devices, alot of this will need to be programmed in your remote app
3. NFC launcher/tasker then launches the app activity that shows you the remote.
There is alot of stuff to get your head around in controlling a home theater because there are so many differant ways of doing the same thing. How you make all this work will depend on your current system and how much your willing to spend.
For example some tv's come with HDMI-CEC (look it up on wiki), this feature allows the tv to turn on the av receiver over the hdmi cable and swap it to the correct input when you change sources.
when it comes down to it the android app is the easiest part of the system to set up, even if its the most featureless.
Well the Google TV app acts as a remote. Is there a way to record touch actions on top of opening apps? If so it should be easy as its just a few buttons to turn on everything and get to the right channel, would just be amazing if it can all be automated.
- GSM Galaxy Nexus
x942 said:
Nice thread! I use these every day!
NFC Task Launcher:
1) Tag on my laptops - Enable WiFi HotSpot, Set password and SSID, Disable Bluetooth if on, disable sync.
2) By my Door - I use a Home and Away Profile.
Away is triggered first and Disables WiFi, Enables 3G/4G, Enables Vibrate mode.
Home is triggered on second tap - Enables WiFi, Connects to my SSID, Disables 3/4G, Full Volume, Enable Sync if it was off, Launch gmail app to pull e-mails.
3) A small tag on my BT Headset - Enable BT and Connect to the headset. (When the headset is connected Tasker launches Rdio). Second tap disable BT and Tasker closes Rdio if open still.
Tasker:
1) If I am Near Cell ID by my house or friends house enable WiFi.
2) If SSID is near connect, if not disable WiFi.
3) Maps opens enable GPS, disable when closed.
4) When BT Headset connects open Rdio set media volume to 7
5) When wired headset is plugged in open Rdio set media to 11. (for the car XD)
6) When charging is pluged in set brightness to full, Max Ring volume, Enable WiFi if it's off, Enable Sync, Launch E-Mail for refresh.
7) When charged Vibrate for 30 Secs + Audio alert.
8) Proximity sensor Locks screen.
9) Long press search enable BT.
10) From 23:00 to 07:00 Dim screen to lowest setting, Vibrate mode, launch clock.
I can export them if anyone wants to use them!
Click to expand...
Click to collapse
Yes, I personally would love to use about 2/3 of those commands. Can you export those for the rest of us?
itsjusttim said:
Well the Google TV app acts as a remote. Is there a way to record touch actions on top of opening apps? If so it should be easy as its just a few buttons to turn on everything and get to the right channel, would just be amazing if it can all be automated.
- GSM Galaxy Nexus
Click to expand...
Click to collapse
So far I haven't found a way. It would be awesome for more than just google tv. If tasker, or another 'macro' type program could be set to record touches on the screen based on location coordinates or something. Like a mouse macro program on a pc. That would allow all sorts of things. For example all of this would be reality with this one hurdle:
1) When I approach my home using tasker, open my ADT app and disable the alarm in my house
2) Open my garage door with HTN app.
3) Turn the lights on with the HTN app.
4) Walk inside, and using a NFC sticker, trigger a welcome home message from my denon reciever app (hooked up to speakers throughout the house) and start some jazz music. Of course set my phone profile correctly, and maybe turn the google tv on and navigate to the cheesy firplace app.
All of this is easy, with one macro app that is the missing link.
There are apps out there that use your cell tower to turn your wifi on/off when you enter/leave your home/cell tower. you'd be surprised how accurate it is and how it doesn't drain your battery. They do other things like control gps/bluetooth/etc.
and their free and dont require purchase of tags. You could easily do this exact thread with just the app below.
They might not be able to turn your tv on, but for quality automation, you should check em out.
For one I highly recommend, try Llama in the market. Free too!
https://market.android.com/details?...t#?t=W251bGwsMSwxLDEsImNvbS5rZWJhYi5MbGFtYSJd
btw, I am not affiliated with llama in any way. Just love this app and many of your comments reflect that you would love this.
igl007 said:
So far I haven't found a way. It would be awesome for more than just google tv. If tasker, or another 'macro' type program could be set to record touches on the screen based on location coordinates or something. Like a mouse macro program on a pc. That would allow all sorts of things. For example all of this would be reality with this one hurdle:
1) When I approach my home using tasker, open my ADT app and disable the alarm in my house
2) Open my garage door with HTN app.
3) Turn the lights on with the HTN app.
4) Walk inside, and using a NFC sticker, trigger a welcome home message from my denon reciever app (hooked up to speakers throughout the house) and start some jazz music. Of course set my phone profile correctly, and maybe turn the google tv on and navigate to the cheesy firplace app.
All of this is easy, with one macro app that is the missing link.
Click to expand...
Click to collapse
Yes! Now we just need someone smart who can create this for us. Honestly if someone made this, the possibilities of NFC would be endless.
.
kegman913 said:
There are apps out there that use your cell tower to turn your wifi on/off when you enter/leave your home/cell tower. you'd be surprised how accurate it is and how it doesn't drain your battery. They do other things like control gps/bluetooth/etc.
and their free and dont require purchase of tags. You could easily do this exact thread with just the app below.
They might not be able to turn your tv on, but for quality automation, you should check em out.
For one I highly recommend, try Llama in the market. Free too!
https://market.android.com/details?...t#?t=W251bGwsMSwxLDEsImNvbS5rZWJhYi5MbGFtYSJd
btw, I am not affiliated with llama in any way. Just love this app and many of your comments reflect that you would love this.
Click to expand...
Click to collapse
We don't really need location profiles as we can just use an nfc tag to set any automation we want... right?
- GSM Galaxy Nexus
itsjusttim said:
Yes! Now we just need someone smart who can create this for us. Honestly if someone made this, the possibilities of NFC would be endless.
.
We don't really need location profiles as we can just use an nfc tag to set any automation we want... right?
- GSM Galaxy Nexus
Click to expand...
Click to collapse
Well we still need them a little. For example, I go to the same grocery store each week. So I like to have it that when I arrive, it connects to their wifi and launches the Grocery IQ app. Then it sends a text message to my wife saying "I just arrived at Wegmans, if there is any last minute items to get add it to Grocery IQ now."
alicious said:
Yes, I personally would love to use about 2/3 of those commands. Can you export those for the rest of us?
Click to expand...
Click to collapse
Will do! I have to recreate them (my HTC Amaze had them and I forgot to export before doing a reset). I should have them up tonight!
x942 said:
Will do! I have to recreate them (my HTC Amaze had them and I forgot to export before doing a reset). I should have them up tonight!
Click to expand...
Click to collapse
Thanks. I'll keep a look out for them
X942 - you didn't forget about us did you?
Sent from my Galaxy Nexus using xda premium
I used to use Locale, until it just ate up too much juice on my phone. One nice thing I could do with it is change my Google Voice settings based on my location. I had it set to disable my desk phone if I wasn't at work, and to enable it when I arrived at the office. Can you do something like this via NFC? IIRC Tasker is compatible with Locale plugins, so I could just use that.
kimboinatl said:
I used to use Locale, until it just ate up too much juice on my phone. One nice thing I could do with it is change my Google Voice settings based on my location. I had it set to disable my desk phone if I wasn't at work, and to enable it when I arrived at the office. Can you do something like this via NFC? IIRC Tasker is compatible with Locale plugins, so I could just use that.
Click to expand...
Click to collapse
I totally agree with you about locale
Sent from my Galaxy Nexus using xda premium
x942 said:
3) Maps opens enable GPS, disable when closed.
Click to expand...
Click to collapse
How did you get it to allow Tasker to control GPS? It tells me this functionality is not allowed on my Nexus...I am trying to enable it in Actions -> Misc -> *GPS
Do you on a ROM that has disabled the restriction that does not allow access to GPS?
**** UPDATE ****
Ok, did some more searching and found this...
http://www.reddit.com/r/tasker/comments/nk6m2/use_secure_settings_to_enable_gps_and_other_fun/
NFC Task Launcher
EDIT: My Questions were answered on a different board.

[Q] NFC tag on bicycle to launch fitness tracker

Good afternoon ladies & gents,
I've just bought myself some NFC tags and, along with the free app 'NFC Task Launcher', have managed to get my NFC tag (which I've stuck to my bike frame), to automatically enable GPS and start Strava (a popular cycling GPS app).
However, what I'd REALLY like it to do when it opens Strava is to go straight to the "Record a Ride" part of the app so I just have to then hit Go and I'm off. Then, when I get to the end of the ride, I'd like to tap the tag again and it will 'Finish' the ride, rather than just close down Strava completely.
Is it possible to program NFC tags with scripts that can control functions within an app, or automatically navigate to a specific portion of an app, rather than just launch/close apps?
If someone out there can help, I would forever be in your debt...
Regards,
Rob
Okay I have actually managed to answer half of my original question, here goes;
I downloaded an app called 'NFC Task Launcher', which allows you to write NFC tags. I then created a new task, under 'Applications & Shortcuts', but rather than choose 'Open Application' I went to 'Open activity', which allows you to choose a certain number of functions within an app. So you select your app, then select a function within the app. Specifically for Strava, there was one piece of code which was start a new ride ("com.strava.NewRideActivity"). This now means that when I tap the NFC tag it automatically goes to the 'New Ride' bit of Strava. Brilliant!
Now I just need to work out how to automatically end the ride when I tap it again...
Anyone else got any further?
Cheers,
Rob
I'm no expert but i think you might need 2 tags for this. If I'm correct the tag its self will have no way of keeping track of how many time its been scanned. The phone could do this but i don't know of an app that can at the moment.
The app I use (NFC task launcher) does account for this and can remember how many times the tag has been swiped, so you can create a 'toggle' function, but what it toggles is a little limited. It would be nice if I could have more control over the functionality of the apps it's controlling..
Hello,
You can implement a switch with an IF and a variable.
Code:
IF (x=0)
execute (launch workout)
x=1
ELSE
execute (close workout)
x=0
END IF
As far as I've noticed, X has to be global and at first you have to manually give it a value.
Cheers!
PS: I'll ckeck your suggested app as it's something that I've been looking for for a while.
NFC strava start tag
Hy there, the thing you want to do is exactly what i want to do, i found this app on the store , haven`t tried it yet because i haven`t got a nfc tag, but i think it will do just that ( tap to start recording, tap again to stop recording ) .
if you try this please leave a reply if you made it to work.
"One Tap Record for Strava" is the app
Is there any chance that I can use this to just hop on my bike (with an NFC or bluetooth tag on the side of the saddle) and have it record the journey automatically? I'm using Samsung S Health app but I'm willing to switch to another that's good at recording nutritional intake and physical activity.

Zooper and tasker

This one is driving me nuts!
I have set up a tasker task bluetooth set to toggle.
This task is then called by zooper to turn on and off bluetooth. Which works.
But what I'd like is for the widget to tell me if bluetooth is on or off.
So I place a text item unto my zooper widget and use the filling ad the text content.
$#TBLUE#=on?Blue$”
But it returns nothing at all.
Can anyone help?
LG-G2 / Android 4.2.2
Ok. I'm half way to figuring it out.
I've got the text working but in reverse. So if BT is on it shows as off?
Yes I could switch around the conditional around but I'd like it to work properly
LG-G2 / Android 4.2.2
Valiceemo said:
This one is driving me nuts!
I have set up a tasker task bluetooth set to toggle.
This task is then called by zooper to turn on and off bluetooth. Which works.
But what I'd like is for the widget to tell me if bluetooth is on or off.
So I place a text item unto my zooper widget and use the filling ad the text content.
$#TBLUE#=on?Blue$”
But it returns nothing at all.
Can anyone help?
LG-G2 / Android 4.2.2
Click to expand...
Click to collapse
Without seeing your Tasker setup it's hard to say anything but from experience I would advise you to push 0/1 instead of off/on from Tasker to Zooper. Checking for numbers is easier and more reliable than string comparisons. Also make sure the values between Tasker and Zooper are really equal. I had cases where I thought it was Zoopers fault when in reality the wrong values got pushed from Tasker.

Q: Using Tasker or similar to automate stuff on the Watch?

Hi,
anyone using tasker to change configuration on the watch and/or on the phone?
Watch and phone are rooted.
My first idea is to automate the display brightness setting by day/time.
Another idea would be, using the custom kernel, to modify the colors to simulate a sundown mode like I use on the phone via cflumen.
With this I think I could dim the watch in the dock too.
And when the watch is on AC (in the dock), the phone should be set to not mute notifications.
If you haven't tried yet, Autowear Tasker plugin is almost what you want... but keep in mind to work through Tasker because you don't have the option to backup Autowear actions running on watch.
I change the brightness of my watch with AutoWear and Tasker. Works perfect.
You need Wear Shell. There are posts there of how to use Tasker Intentsl
http://forum.xda-developers.com/android-wear/development/app-wearshell-t2902242
And a thread on Wear Shell + Tasker recipes.
http://forum.xda-developers.com/and...asker-recipes-wearshell-t3367531/post66749469
I use it to make watch bright when I disconnect from home or work wifi, and dim when I connect.
http://forum.xda-developers.com/showpost.php?p=66484214&postcount=21
I also have it set to activate theater mode when I start my sleep tracker.
http://forum.xda-developers.com/showpost.php?p=66608625&postcount=18

Get theatre mode shortcut back

Is there anyway to get the theatre mode double press shortcut back? Having to pulldown and tap a small menu button is really bothering me.
Also tripple press for brightnes boost not working.
A must have on a sunny day.
Skickat från min SM-G950F via Tapatalk
I really miss the single tap waking the screen and putting it back into ambient mode. It allowed for turning my screen on and off without causing finger prints or possibility of undetected touch due to dry fingers. Palming the screen to turn off/enable ambient mode, used to intermittently result in onscreen actions being pressed like starting my stopwatch, or even worse stopping my stopwatch after I had just started it. I must have used single press of the button 100x per day. Now I have to actually wait for my screen to turn itself off. This alone has to half the battery life on the watch.
Double tap button for cinema mode was also a nice feature but I only do it once per day at night to save power so enabling through the swipe down menu isn't a big deal for me.
Worse is the three tap to turn on max brightness temporary. Today outdoor i Couldn't see my watch screen. Not seeing it also makes it impossible to enter brightness menu to increase brightness. I start to get more and more annoyed by 2.0 ?
Skickat från min SM-G950F via Tapatalk
I haven't tried it yet, but I saw this app, Wear Button Remapper, recommended on Reddit.
It says it can remap your button long press to any app, or to theater mode if your watch is rooted.
There are a ton of things that are frustrating, but I have figured out a way to cope with most of it.
For Do Not Disturb Sync, there is an app that restores this functionality.
https://play.google.com/store/apps/details?id=rkr.weardndsync
For theater mode, I setup a tasker task using autowear to run an app that allows toggling theater mode.
https://www.reddit.com/r/AndroidWear/comments/64qitr/toggle_theater_mode_on_wear_20/
I'm guessing that wear button remapper would allow us to enable theater mode without root using this app.
It's great that devs have developed apps to remap long press. Hopefully it won't be long before they can map double and triple tap to let us use the 1.5 theater and max brightness modes again.
irule311 said:
There are a ton of things that are frustrating, but I have figured out a way to cope with most of it.
For Do Not Disturb Sync, there is an app that restores this functionality.
https://play.google.com/store/apps/details?id=rkr.weardndsync
For theater mode, I setup a tasker task using autowear to run an app that allows toggling theater mode.
https://www.reddit.com/r/AndroidWear/comments/64qitr/toggle_theater_mode_on_wear_20/
I'm guessing that wear button remapper would allow us to enable theater mode without root using this app.
Click to expand...
Click to collapse
Whoa!! You DO Rule!
This is soooo frickin' awesome, I am just thrilled. I finally got one of the automatons I missed on AW 1.5 with Wear Shell. It took me a couple tries to get the task set. I use Sleep as Android and it supports Tasker but it would not trigger this app adding it to my existing profile, but just setting Toggle Theater Mode to run when Sleep runs did the trick!
Pkt_Lnt said:
Whoa!! You DO Rule!
This is soooo frickin' awesome, I am just thrilled. I finally got one of the automatons I missed on AW 1.5 with Wear Shell. It took me a couple tries to get the task set. I use Sleep as Android and it supports Tasker but it would not trigger this app adding it to my existing profile, but just setting Toggle Theater Mode to run when Sleep runs did the trick!
Click to expand...
Click to collapse
Yeah, there does seem to be some sort of glitch with the tasker autowear integration. I'm not sure what it is, but it seems to run the same autowear task even if you reconfigure it in tasker. The fix seems to delete the task and create a new one with a different name.
I use minimal and elegant as my watch face and was able to use the interactive functions to run the tasker task. I now have a button on the watch face that allows quick access to sleep tracking that enables do not disturb and theater mode.
You have to use SleepWear for the app name instead of start sleep tracking which makes it a little more difficult. Any ideas on how to find the app package name on wear?
irule311 said:
Yeah, there does seem to be some sort of glitch with the tasker autowear integration. I'm not sure what it is, but it seems to run the same autowear task even if you reconfigure it in tasker. The fix seems to delete the task and create a new one with a different name.
I use minimal and elegant as my watch face and was able to use the interactive functions to run the tasker task. I now have a button on the watch face that allows quick access to sleep tracking that enables do not disturb and theater mode.
You have to use SleepWear for the app name instead of start sleep tracking which makes it a little more difficult. Any ideas on how to find the app package name on wear?
Click to expand...
Click to collapse
I just made a second task that triggers on the Sleep app starting, so I have two tasks - one runs on the Sleep Start intent and the other to trigger your app via Auto Wear. It works great. If I do open the Sleep app during the day then I do get theater mode, but I'm fine with that to get the night time auto start. :good:
In an adb shell:
Code:
pm list packages -f
I can even pipe it through grep or more on my linux box which is good.
edit -
Code:
[email protected]:~$ adb shell
sturgeon:/ $ pm list packages -f | grep urbandroid
package:/data/app/com.urbandroid.sleep-2/base.apk=com.urbandroid.sleep

Categories

Resources