[Q] Tasker Profile Help - General Questions and Answers

Hi
Im trying to use create a profile in tasker that uses weatherace to read the weather when I snooze my alarm in the morning.
I set my location in the app and in the plugin. I can see the variable names in the plugin in tasker but cant find a way to access the variables. If i put a say action and put the variable name it just says the text not the information that the variable is supposed to contain.

SoundGuy_025 said:
Hi
Im trying to use create a profile in tasker that uses weatherace to read the weather when I snooze my alarm in the morning.
I set my location in the app and in the plugin. I can see the variable names in the plugin in tasker but cant find a way to access the variables. If i put a say action and put the variable name it just says the text not the information that the variable is supposed to contain.
Click to expand...
Click to collapse
You must first request the data from weather ace using the weather ace plugin in tasker and then the variable will be linked to the appropriate info.
e.g:
(task 1)
Action 1: Plugin --> Weather ACE Tasker Plugin
Configuration: Current condition for AUTO
Delay: 5
Action 2: Alert --> Say
Text: %weatherace_temp
Without action #1, Tasker will only spell "%weatherace_temp" instead of saying the actual temperature.

Related

[Q] Looking for call/sms/email info widget

Hi guys,
I am looking for a widget that can give me the following information on my home screen:
Number of missed calls: 1
Number of unread SMS: 1
Number of unread Email: 3
Just simple info with an adjustable transparent background.
Any ideas?
Launcher pro has this in the dock
Sent from my HTC Desire using XDA App
Executive assistant... It has a TON of options
Thanks for the replies.
I know about Launcher Pro (actually I use ADW Notifier), but I'm looking for a widget to glorify my screen!
Thanks for tip on executive assistant. I tried it and its really cool. I really like it but its a bit overkill for my needs. I just wanted a simple text display, not with tabs and stuff.
Well, Ill keep looking...
SMS Unread Count is what you need. Despite it's name, it does everything you want.
Sent from my SCH-I500 using Tapatalk
https://www.dropbox.com/s/w5fdi8zxz6qj86f/Apps/SMS Unread Count/SMSUnread-iDroid-Mod.apk#
Sent from my SPH-D700 using XDA App
Bump.
I am also looking for an unread sms widget . I have looked at SMS Unread Count and will be going with that unless there is a widget around that is just a a number. I would rather not have the message icon just the number.
Nevermind I see there is an option for custom icons. Ill just find a blank icon
I'm just posting an update on what Im doing now.
I am using Tasker and Minimalistic Text widget to display the missed calls and sms. I use tasker to simply count the number of missed calls and sms and pass it to minimalistic text as a variable. Then I can format it as I want !!
Still havent solved the unread email problem yet though.
thedesolatesoul said:
I'm just posting an update on what Im doing now.
I am using Tasker and Minimalistic Text widget to display the missed calls and sms. I use tasker to simply count the number of missed calls and sms and pass it to minimalistic text as a variable. Then I can format it as I want !!
Still havent solved the unread email problem yet though.
Click to expand...
Click to collapse
Mind posting the settings for that? I cant make it work.
Tried to get it to not show anything when no sms/calls was missed. And then to show "two missed calls" when I had two missed calls..
Something like this (I did only edit my own screen in photoshop, and I made the note in english so it would be more clear hehe): EDIT, bah couldn't attach links.. I added them as attachments instead.
Thanks in advance
//Max
This is how I set it up.
First you set up a task on context 'SMS Received'.
In the task, add an action for 'set variable' and for e.g. %MSGCOUNT is set to %MSGCOUNT + 1
Then in the same context add another task, for 'set Minimalistic text variable' from plugins. Set a variable for e.g. %MNMLMSGCOUNT = %MSGCOUNT
...so that will count messages whenever you get one...
now it depends when do u want to clear them...i clear them on opening the messaging app
so, just create another task with a context of Messaging application, and set both variables to zero.
Then go into minimal text widget, go in the custom layout, add a Locale Variable...put the name of your variable for e.g. %MNMLMSGCOUNT.
Then you should be good to go!
Let me know if you have any other questions, or information regarding this...im interested in this kind of customisation too!
Thanks for the nice help so far!
Seems to work so far, gonna come back when its all set up
YEEEES It works just like I want it to!
Thans for giving me a kick in the right direction!
Tried to post pictures, but this site doesn't allow me to %#¤%"%"¤"#
Here is one at least;
maxa.se/bilder/taster_minimalistic_text.jpg
Best regards
/Max
nice one...
let me know if you find out how to get unread email counts too...
I did get it to work with mail. I use K9-mail thou, might not work as slick with all mail-apps!?
Ill post a guide soon
To add missed texts/e-mails/calls to Minimalistic Text from Tasker.
(sorry for the swedish in the screenshots)
Ett nytt sms = One new text
Fem missade samtal = Five missed calls
Två nya mail = Two new mails
So here is a step by step guide to get the new sms-text. At the bottom there is descriptions how to make the calls and mails too.
Tasker > New > Name it "Newsms"
Event > Phone > Recieved Text
"Type" is set to sms and mms as default, change if you only want notification for one of them
"Done"
Click: New Task
Name: "smscount"
Click: + > Variable > Variable Set
Name; "%SMSCOUNT"
To; "%SMSCOUNT +1"
Check: Do Maths
Click: Done
Click: Done once more to get back out to tasker menu where you see "Newsms"
Click: smscount > Add Task > New task
Name: "Output"
Click: + > Variable > Variable Clear
Name; "%SMSNUMBER"
Done
Click: + > Variable > Variable Clear
Name; "%SMSTEXT"
Done
Click: + > Variable > Variable Set
Name; "%SMSNUMBER"
To; "ONE"
If; "%SMSCOUNT"
Click: ~ and choose Maths: Equals
In nex box toy write; "1"
Done
Click: + > Variable > Variable Set
Name: "%SMSNUMBER"
To "TWO"
If: "%SMSCOUNT"
Click the ~ and choose Maths: Equals
In the box after that you write "2"
Done
..Continue like this until you are happy. I did up to five for sms and phone, and up to ten for mails. Not that it take a lot more system power to do to ten on all, but its just so damn boring
So lets say you make "FIVE" the last number in the sequence, then you should input this one AFTER the "FIVE".
Klicka på + > Variable > Variable Set
Name: "%SMSNUMBER"
To "FIVE+"
If: "%SMSCOUNT"
Click the ~ and choose Maths: Greater Than
In the box after that you write "5"
Done
Click + > Variable > Variable Set
Name: "%SMSTEXT"
To "NEW TEXT"
If: "%SMSCOUNT"
Click the ~ and choose Maths: Equals
In the box after that you write "1"
Done
Click + > Variable > Variable Set
Name: "%SMSTEXT"
To "NEW TEXTS"
If: "%SMSCOUNT"
Click the ~ and choose Maths: Greater Than
In the box after that you write "1"
Done
Click + > Plugin > Minimalistic Text variable > Edit
Variable namn: "%MINTSMSNUMBER"
Variabel content: "%SMSNUMBER"
OK
Done
Click + > Plugin > Minimalistic Text variable > Edit
Variable name: "%MINTSMSTEXT"
Variabel content: "%SMSTEXT"
OK
Done
Done once more to get out to the ground menu of tasker where you see "Newsms"
click New
Name it "cleansms"
Now you need to choose when the counter should be resetted. I choose Application > GO SMS. And in that way the counting of new texts will be resetted when I enter that app. Choose what's best for your needs.
Click New task and name it "clean"
Click + > Variable > Variable Clear
Name: "%SMSCOUNT"
Done
Click + > Variable > Variable Clear
Name: "%SMSNUMBER"
Done
Click + > Variable > Variable Clear
Name: "%SMSTEXT"
Done
Click + > Variable > Variable Clear
Name: "%MINTSMSNUMBER"
Done
Click + > Variable > Variable Clear
Name: "%MINTSMSTEXT"
Done
Click + > Plugin > Minimalistic Text variable > Edit
Variabel name: "%MINTSMSNUMBER"
Variabel content: " " (blankspace)
OK
Done
Done once more to get out to the ground menu of tasker where you see "Newsms" and "Cleansms"
Apply
Long-press the background of your homescreen > Widgets > Minimalistic Text 2x1 (Or some other size that suits your layout)
Click Predefined layout > Custom...
Click Custom layout
Remove the three blocks (long-press and drag to garbage can)
Click + > Misc > Locale variable (longpress and drag to the row above).
Click Locale variable
Variable name: "%MINTSMSNUMBER"
Style: Accend
Click Locale variable
Click + > Misc > Static text (longpress and drag to the row above).
Click Static text
Static text: " " (blankspace)
Style: Not-Accend
Click Static text
Click + > Misc > Locale variable (longpress and drag to the row above).
Click Locale variable (the second one)
Variable name: "%MINTSMSTEXT"
Style: Normal
Click Locale variable (the second one) > back-button
Set your layout with the rest of the settings in minimalistic text and then you hit "OK"
Remember that you wont see anything on your screen until you get an sms so the widget might be hard to put in right place. Ask some one to send an text to you or send one to your self, but if you have your sms app as count-clearer you will need to exit the app before you receive the sms ofc
To show missed calls you do the same thing as above, but you need to repace
Event, Recieved Text with Event, Missed Call
And then you replace the word "SMS" with "TEL" everywhere!
You will also have to set a short delay for this! When you expand the "Newtel" from taskers ground menu, you see a edit-icon and a check-icon. Hit the edit icon and click properties. Set the Cooldown Time to 5 secounds. Otherwise the count wont work (it will count one call as 2-3 without this setting)!!
E-mail is almost the same, but it depends on what mail app you are using.
I use K9 and in the first step where you choose what to make the count trigger, you still choose event but after that you press "3rd Party" > "K9 Email Received"
And then you replace the word "SMS" with "MAIL" everywhere!
I hope this help any one
PS: I know I accidentally moved the right hand side text of my clock before the screenshots hehe
Best regards
/Max
If you have done the above, you will have to make a change to the missed call notification.
Open tasker, expand the "Newtel" from taskers ground menu, you see a edit-icon and a check-icon. Hit the edit icon and click properties. Set the Cooldown Time to 5 secounds. Otherwise the count wont work (it will count one call as 2-3 without this setting)!!
Sorry for missing that
Best regards
/Max
Nice tutorial...
but im still not happy with the email...I use K9 email too...
if you read your email on a PC, then the email count doesnt get updated
if you open your email on K9 and read 2 out of 3 unread mails, the count doesnt get updated
Also, if K9 is set to polling every 1 hour and you receive more than one email, do you think the Email Received context will trigger once for each email? What if the context is missed due to the cooldown period?
this can be properly solved i think if K9 broadcasts an intent with the unread email count...
Yepp this is very far from perfection, but its the best way I have managed to fix so far.
Its a notification that there is new mails, not a counter how many unread mails you have.
If you have any suggestions how to make it better its more then appreciated. A way to implement a clearing of the mail-notification(android-stock notification) when launching K-9 would be nice, so I wouldn't have to go to the notification-bar to do that.
nice tutorial maxamaxamaxa... ill try setting this up this evening and let you know how it go.
thanks mate.

[DIY][4.1+] Tasker Based Expandable Weather Notification[Download Link Provided]

Tasker Based Expandable Weather Notification
Spruce up your notification shade with this custom made weather notification! ​
Hey guys, after searching through apps that utilize Jelly Bean's outstanding notification system to display weather like beautiful widgets,notification weather pro and the like, I missed one or the other feature from these apps, pushing me to develop my own weather notification system. Now i have control of what it does and how it does. I am more than happy with this and thought I could share it in the XDA community.
As the title suggests this is Do-It-Yourself Project, if you are here for one click install and use, then this might not suit you. I am providing my setup in the download links below but as with all other tasker setups it might require few tweaks here and there to work best for you.
So why this thread?
I thought it would be nice to explore what others think of this and share suggestions for further improvements. And XDA is a great place to start with so. Feel free to share your opinions guys after using this.
Noob Friendly? Probably No. I ll explain these in detail later
What do you need?
Phone running android 4.1+
Tasker
Autoremote or AutoNotification
Intermediate tasker knowledge(See referenced)
References :
Variable data processing
How to learn tasker
Notification Guide
Screenshots :
​
How does this work?
Gets your current location using 'Get Location' action in Tasker
Uses openweathermap API to retrieve weather data for current location in XML
Porcesses the XML data in Tasker by variable data processing and extracts the needed information
Send a persistent notification via AutoRemote notification plugin with a picture and weather data.
Note: I launch the task manually, using Power Toggles notification. You can set to automatically update using time or any context that you prefer. Explore.
eg. If you move out of you house, put a weather notification on the notification shade.
The pictures of weather???
There are not real time, they are static, I just downloaded individual pictures for various conditions and mapped it to notification based on weather. (Needs Improvement)
Possible additions I am looking into
Increase the no of pictures
Add weather forecast
Help from the community
Guys if you find any interesting pictures for weather please share.
Expecting feedback on improving current setup.
Share any contexts that you are using with this.
Downloads
Tasks Click
Pictures Click
Installation notes:
Extract the tasks (xml files) to your SD card
Open them with ES file Explorer and select Tasker.
For Pics:
Extract the files to *sdcard*\themes\weather\
NOTES:
[*]The speak weather and cancel buttons wont work!!! to overcome that create new profile that triggers on autoremote message "Speak Weather" and action it does "Say : your message"
[*]Cancel button also wont work. For that create profile that triggers on autoremote message "Weather cancel" and does "Autoremote Cancel Notification"
Reserved
Sent from my Nexus 4 using xda app-developers app
Thank you for this. I have tried to do something similar myself but have not gotten the result i wanted.
Now i need to translate the results to my native language (Swedish). Any idea on how to do that?
How can i add other city and show it weather info?, thanks.
TOMs12 said:
How can i add other city and show it weather info?, thanks.
Click to expand...
Click to collapse
http://api.openweathermap.org/data/2.5/weather?q=London&mode=xml
in get HTTP action of the task, edit the values to above url. specify your city name in place of london
feppa said:
Thank you for this. I have tried to do something similar myself but have not gotten the result i wanted.
Now i need to translate the results to my native language (Swedish). Any idea on how to do that?
Click to expand...
Click to collapse
http://api.openweathermap.org/data/2.5/forecast/daily?id=524901&lang=zh_cn
add lang=%your language code% in the get http action of the task
This is a great set up. When I do Query weather it says that fetch weather task does not exist. Do you know why that is happening?
Hey friend, I am not able to change the language. what exactly should I do?
Thank you already.
bairste said:
This is a great set up. When I do Query weather it says that fetch weather task does not exist. Do you know why that is happening?
Click to expand...
Click to collapse
Just restart Tasker.
ehm,, actually what i look for is like contextual notification header
but with this feature (weather)
Thank you for this. i'm trying to translate the results to my language (Italian), in get HTTP action of the Fetch Weather task i already tried edit the values adding &lang=it or &lang=it_it or &lang=it_IT without success any ideas how to solve it?
HHHEEELLLPPPP please
I really need this tasker control on my mobile, i want the weather to work how you have set it up but really struggling to get it working, please help.
I have installed on my phone, but cannot get it to work, hope you dont mind helping.
Does this weather Task work? I downloaded it and loaded it into Tasker and I am getting a lot of errors. Anyone tried it in 2016 and had it working?

[Q] Custom Quote Widget [solved]

Solution found. See end of OP if anyone else is trying to do the same thing
Does anyone know of a good "Quote" widget that let's you set multiple custom quotes to cycle through? 
Preferably just display the text and no background/navigation etc
Purpose: I want to add song lyrics that will change automatically
Goal: http://imgur.com/Sfzwcvw
• Look like top widget (Beautiful Quotes)
• Have custom quotes (I have over 100 in a text file) like the bottom widget (PersonalQuotes)
Some people on G+ said this is possible with Tasker and Zooper, but Tasker completely baffles me, so if someone could help set up tasker to parse text from my quotes list (I have it in a .txt and .csv) into a Zooper text module, that'd be fantastic...
Sent from my Nexus 5 using XDA Premium HD app
It may not seem like I was at it for long, but I eventually got it working with tasker... took me a very long time (days..)
Tasker:
New Task - 'Quotes'
1. Variable Randomize
Name: %RandomQuote
Min: 1
Max: 107 (Number of quotes)
2. Read Line
File: Tasker/quotes.txt (file location)
Line: %RandomQuote
ToVar: %QUOTE
3. Plugin > Zooper Variable
ZW Variable: #TQuote#
ZW Text: %QUOTE
If: %Quote Is Set
4. Plugin > Zooper Variable
ZW Variable: #TQuote#
ZW Text: -
If: %Quote Is not Set
New Profile: Display On -> Quotes​
Zooper:
New Rich Text
Edit Text Manually
#TQuote#​
Well Done
Thanks for your effort on this project. I was searching for an app to do this when I ran across this post and I like this solution much better. Many thanks!
tigerss4 said:
Thanks for your effort on this project. I was searching for an app to do this when I ran across this post and I like this solution much better. Many thanks!
Click to expand...
Click to collapse
Very welcome It took me a while to find out, so rather than just leaving this as a one post thread asking a question I thought I'd let people know how it works.

[Resolved] [Q] Custom Shortcut to an action in an app? (Intent Sniffing? Macro Recording?)

Hey everyone,
I am using a fitness-tracker called the "Misfit Shine" (www.misfitwearables.com). The tracking itself works quite well (it has some flaws), but especially the sleep tracking surprises me, as it is pretty accurate. And this is the one I'm most interested in
As this little device uses BlueTooth LE without a constant connection, the battery life with a little CR2032 is amazing.
If caters to my needs, as I don't need yet another device to flood me with notifications and the overall look is elegant, not-clunky and unobtrusive so that it can be worn in every situation (even at work).
However I would want to speed up the process of triggering the synchronization by using a homescreen shortcut. :fingers-crossed:
Right now one needs to open the app (PlayStore Link) and tap a little button in the top right corner (see screenshot).
Upon checking the available "activities" for shortcuts, using my preferred Launcher Nova, I only saw one activity: "MainActivity", which just opens the app and displays the current day's activity log.
Is there a way to "sniff" for other actions that could be called by using an app like "Manual Intent Shortcuts" (PlayStore Link)?
Or any way to record a macro that can be linked with a shortcut?
Maybe I could guess the action's name somehow?
How do I find out what the correct values (action name, component name, component class etc.) for the shortcut, created with "Manual Intent Shortcuts" are? (I tried it with "com.misfitwearables.prometheus" and some variations of it with "...action.mainactivity". I always get "App not found" as a Toast-Error message. To be honest...all that was just trial and error, as my knowledge in that field is not really founded.)
I'm not sure what's possible at all.
I just hope it's possible to access actions externally at all.
I would highly appreciate every hint given
Thank you in advance.
Using Takser to create a task that does following did the trick:
Open App
wait 1s
run shell command "input tap x-coord y-coord" as root
The coordinates can be determined by activating "display of touch inputs" under settings / developer options.
It's pretty much a very basic form of macro recording, but it works flawless.
The task can then be selected as a custom homescreen shortcut or as a bound swipe-guestore for an existing icon on Nova Launcher.

Searching for specific "All day" string

Hello, I'm looking for a hand tracking down a specific string I'd like to change with Substratum. It's the words "All day" in my Samsung Always On Display's Events widget (default example attached). Samsung gives a nifty option to show your daily agenda on the Always On Display, and since I just want the weather and temperature on that screen, I use a Tasker task to create a calendar event every hour with the temperature and conditions. But it would be a lot cleaner if I could hide the text "All day".
The trouble is that it gets the data from somewhere else. So I looked through all the strings in the Always On Display app, com.samsung.android.app.aodservice.apk and the Samsung calendar app, com.samsung.android.calendar,
as well as the Calendar storage com.android.providers.calendar.apk, and found some specific "All day" strings, but none that affect the text I want to change. Any ideas about ways to track down strings are also appreciated! I've thought about using AppLocale2 to try to change the language of different apps for example, and see if it changes anything.
Thanks!

Categories

Resources