Tasker: Total Automation for Android

Subscribe to Tasker: Total Automation for Android feed
Updated: 28 min 9 sec ago

[Project Share] History of songs detected by Google Pixel's Now Playing Ambient Services

Fri, 03/16/2018 - 22:16

I saw an app published somewhere and thought I can surely write the same thing with Tasker only - and was right :) It's quite simple and there's probably a bug in handling entries over 20 (I wanted to limit the amount of entries in the global variable) but I'll fix it once I encouter it :P

Required modules:

  • AutoNotification
  • AutoTools (could be skipped if you want to create a Scene)
  • Table layout for AutoTools WebView (you can import it in the WebView settings window)
  • Tasker (duh)

How it looks like:



Profile: Now Playing Ambient Services History (26) Event: AutoNotification Intercept [ Configuration:Event Behaviour: true Notification Type: Only Created Notifications Notification Id: 123 Notification Apps: Pixel Ambient Services Notification App: Pixel Ambient Services (exact) Package Name: com.google.intelligence.sense (exact) ] Enter: NewSong (27) A1: Variable Split [ Name:%NowPlaying Splitter:, Delete Base:Off ] <Skip duplicates> A2: If [ %antitle !~ %NowPlaying(2) ] A3: Array Push [ Variable Array:%NowPlaying Position:1 Value:%DATE %TIME,%antitle Fill Spaces:Off ] A4: End If A5: If [ %NowPlaying(#) > 40 ] A6: Array Pop [ Variable Array:%NowPlaying Position:42 To Var: ] A7: Array Pop [ Variable Array:%NowPlaying Position:41 To Var: ] A8: End If A9: Variable Join [ Name:%NowPlaying Joiner:, Delete Parts:On ]

And a task to actually display it (you can create a shortcut on your home screen or similar). Note you will need AutoTools if you want to use it. An alternative would be a custom Tasker scene or a pop-up

Print List (28) A1: Flash [ Text:Showing last 20 entries Long:Off ] A2: AutoTools Web Screen [ Configuration:Screen Preset: Table Display Mode: Normal Source: /storage/emulated/0/AutoTools/table/page.html Toast Duration: 5000 Status Bar Color: #1c86db Background Color: #E9E9E9 Navigation Bar Color: #2196F3 Height: 400 Gravity: Center Animation: Slide In From Top Show Duration: 500 Hide Duration: 250 Text: Now Playing history Text Color: white Background Color: #2196F3 Icon: android.resource://net.dinglisch.android.taskerm/hl_aaa_ext_music_1 Titles: Date,Title - Artist Texts: %NowPlaying Column Number: 2 Text Alignment: Center Manual Text Alignment: Center Text Size: 16 Min Row Height: 18 Text Color: black Item Separator: , Timeout (Seconds):30 ] submitted by /u/dark_skeleton
[link] [comments]

Lower notification volume when connected to BT

Fri, 03/16/2018 - 19:09

I've been trying to lower the volume of my notifications when I'm connected to my car radio. I have the "when connected to this BT device" part down but I can't seem to do anything to change the volume of my notifications. they always sound loader than my music/podcast and if by chance I get a notification while I'm not listening to something the volume is even loader/deafening.

I've tried every action in the Audio category and the only thing I can do is turn the notifications off with Sound Effects Off. I've noticed that the notification sound comes from both my car speakers and my phone, if I could only make it come from my phone that would be great too.

submitted by /u/cerebralcow
[link] [comments]

Shell command for enabling/disabling color correction?

Fri, 03/16/2018 - 15:58

Anyone know a shell command for enabling/disabling the monochromatic mode for the display?

Would like to assign a gesture like the double tap(through nova) or a shake to enable/disable the mode.

submitted by /u/TiMbl4
[link] [comments]

[Help] GoHome var does not work, only goes to current page

Fri, 03/16/2018 - 15:30

Hi, I just started using tasker and I am trying to create a task to turn on an LED light. I have a widget on home page 6 and an autoinput action to click on. This task runs fine and works if I am on the home page that has the widget. It does not work on any other home page. The home page variable seems to have no effect regardless of what value is input.

submitted by /u/thunderkitty600
[link] [comments]

[REQUEST] Profile for Dow Jones data

Fri, 03/16/2018 - 15:07

As a preface let me say that my coding skill is terrible.

What I'm looking for is a profile that gives me the Dow Jones level and how many points change has occured during a trading day. I don't need it to be live or real time, I actually need it at 7:00pm new york time. Way after markets have closed.

I am only just aware of the Yahoo finance API but I have no clue on how to use it.

Preferably, what I would love is, a profile that gives me that data as a swipeable notification in my notification panel, which has the current Dow Jones level, and points change for the day.

I realise that this is probably difficult to do, so it would be great if I could get some kind of step by step guidance for this.

I also know this is a huge ask. So thanks a lot in advance if you do decide to take the time to help me.

submitted by /u/the2facedgod
[link] [comments]

Set variable if phone is Silent.

Fri, 03/16/2018 - 12:09


I am looking for a way to set a variable when ever my phone is in Silent or Do not disturb mode. Unless that mode has been initiated by another task.

Cant find a way to do it and i have been looking into it for days now. Maybe one of you can help me

submitted by /u/LordofZero
[link] [comments]

Unknown caller to contacts after disconnecting the call

Fri, 03/16/2018 - 11:20

I am new to tasker, i want to have option to add unknown caller to my contacts after the call. Can someone help me?

submitted by /u/ajeshmohanan
[link] [comments]

Tasker problem ver. > 5.1 when pushing Apply in UI

Fri, 03/16/2018 - 10:44


Anyone else experiencing crash when pushing Apply button in versions > 5.1

Thanks, Simon

submitted by /u/Simon8765
[link] [comments]

I want to add quick reply to text messages via my Garmin watch

Fri, 03/16/2018 - 10:19

My Garmin watch lets me use and native actions of notifications that it displays. For Textra I only get "Dismiss" or "Mark as Read". I would like to add one for "Quick Reply" that when selected makes another copy of the notification except with several options for quick responses such as "Yes" "No" "Can't talk now" or whatever else.

I know I'll be in autonotification but I'm not sure how to start. Do I need to suppress the Textra notification, poll its data and recreate a new notification or can I add an action to a native notification? Whichever way this works can someone point me to a tutorial or otherwise help me get started? Google search has failed me.

submitted by /u/SpecialFX99
[link] [comments]

[Help] Is there a way to disable pause any media that's playing?

Fri, 03/16/2018 - 06:45

I have a task that voices incoming SMS messages. Only thing missing in my task is a way to pause any audio that may be playing. For example if I'm listing to something using TuneIn, the audio does not pause when I get an SMS.

Of course, audio pauses for an incoming phone call, then the playback resumes nicely, automatically, afterwards. Can Tasker send out this signal to tell apps to pause playback?

submitted by /u/unknownsoldierx
[link] [comments]

Is there a way to detect when connected to a specific bluetooth device?

Fri, 03/16/2018 - 06:12

I want to run some tasks only when I'm connexted to a specific bluetooth device. When I go to make a profile, it only appears as if I can run a task when bluetooth is connected at all, not just to one specific advice. Is there a way to detect that specific device?

submitted by /u/wolfbaden6
[link] [comments]

What are some cool things I can do with %CELLID?

Fri, 03/16/2018 - 03:46

Every time this variable gets set I update and append the following to a spreadsheet date, time, %CELLID. I'm wondering if there's anything I can do with this data either useful or Nifty and if I need to collect other data please let me know, thanks.

submitted by /u/silverthompson
[link] [comments]

[question] Tasker Weather global variable

Fri, 03/16/2018 - 02:59

Can someone help me (or even provide me) a task which recieves the todays average (and highest) temperature of my Location (%LOCN) and then store it in a global variable so it can be used from my other tasks? If possible with the wunderground or openweathermap api (as I have already an account there).

I have already tried it by myself and failed with my restricted javascript knowledge. And I tried using some templates from the internet but most of them didnt work.

Thank you for any help!

submitted by /u/FaserF
[link] [comments]

Weekly [Discussion] Thread

Fri, 03/16/2018 - 02:05

Pull up a chair and put that work away, it's Friday! /r/Tasker open discussion starts now

Allowed topics - Post your tasks/profiles

  • Screens/Plugins

  • "Stupid" questions

  • Anything Android

Happy Friday!

submitted by /u/AutoModerator
[link] [comments]

Tasker not able to scan WiFi networks on Andoird P dev preview

Thu, 03/15/2018 - 20:58


Anyone else facing this issue? WiFi near doesn't trigger unless I manually turn WiFi on and connect to the network.

submitted by /u/ronakg
[link] [comments]

[question] how to get Tasker to read and react to content inside a notification

Thu, 03/15/2018 - 18:30

Buckle up this might be a touch long TDLR at bottom

Ok so back story, I'm a firefighter, we use an app called active911 to alert us to calls. Pretty sweet app really for what it does. Alerts display call type, gives you a Google maps address and the option to GPS yourself to the call, unit(s) requested and other fine details.
Also, father to kids and stay at home with them during the day. Sometimes calls go off that impact me getting home in a timely manner and due to the nature of my job I'm not able to text my wife that there is a late call so she can get the kids to daycare or not.

So I created a profile using auto notification and Tasker that basically reads the active911 notification that goes into my pull down notification menu, reads the call type displayed and takes the appropriate action based on that. (I also have it play a specific tone on my phone after the initial alert that indecates what call type it is. We used to have this kinda thing over the radio and I'm a fan of the old ways. Now we just have a stupid robot lady dispatching us. Annoying.)

Looks like this. has like 74 steps total to include all the call types and end if.

Auto notification looks like this.

Works sweet. The question is this: is there an app or a way to intercept which station is getting dispatched based on the information inside the notification? So she doesn't get a text every time a station in the department gets a call but just the station I'm currently working out of?

TDLR: wrote a profile that texts my wife when I get a notification from active 911 and makes my phone sound awesome. Want to find a way to read station numbers from inside the app to keep from texting her every time every station gets a call and just text her when mine gets a call. Need ideas.¯\_(ツ)_/¯

TIA guys!

Oh forgot to mention the alerts in the notification bar from active911 say department name and call type. Nothing else

submitted by /u/themedicduck
[link] [comments]

[Question] Make tasker run task faster when booting up device?

Thu, 03/15/2018 - 17:49

Hello, i recently purchased an android screen for in my car, where i run tasker on. The device boots up in under 20sec, but my tasker runs the task only after 2 minutes or so(little bit exagerrated).
Is there a way i canmake tasker check/run its tasks when the device is booted up?
Thanks in advance

submitted by /u/Pixelhouse18
[link] [comments]

[Question] Join & MQTT

Thu, 03/15/2018 - 14:36

Has anyone used the new MQTT function in Join? In Tasker, where do you setup up the topic and message?

submitted by /u/longunmin
[link] [comments]

How to force landscape on Galaxy S9?

Thu, 03/15/2018 - 11:02

I want a Tasker Task that will force the phone into landscape. This is triggered by my car Bluetooth so that I can mount my phone horizontally. I don't want the phone to always rotate the home screen, I just want to force landscape when I connect to my car Bluetooth.

Also, I use Nova Launcher.

On my S6, I had it working perfectly. I could use Rotation Locker in Tasker to force the phone into landscape. The home screen, wallpaper, and everything looked good.

On the S9, Rotation Locker does not work correctly. The wallpaper remains portrait. As soon as I pull down the notification shade, the phone switches to portrait - and it's locked into portrait for all apps! I have to switch the phone setting back to auto-rotate.

submitted by /u/yneos
[link] [comments]

Sound Tasks arent working

Thu, 03/15/2018 - 09:35

Hey guys, hope you can help with this. I've got a few tasks working successfully but any that involve playing a sound don't seem to want to work. I've got a task set up so that when my phone's charged to 100% it plays a noise to get me to unplug it. Unfortunately it doesn't play the sound.

What info do you need from me so I can see where I'm going wrong.

submitted by /u/Luke1803
[link] [comments]