yashsingh1/xdaforums huggingface dataset:
[Thunderbolt Q&A, Help & Troubleshooting] bentleysmom:
Thank you guys, I thought it was a simple answer, I didn't think to check those other options. Thanks again!!
[Android Apps and Games] brandall:
[TUT] Tasker | The Ultimate (over-informative & annoying) Alarm Clock V3|With Snooze!

I had a look at the alarm clock on the Tasker wiki and decided to update it with screen actions for snooze. When I was done, I felt that something was missing... so I added a couple of things, then a few more and then a few more….

First install

Download the .zip file below.

In menu options/profile data 'Import One Task':

AlarmAPOTD.tsk.xml

AlarmDayHoro.tsk.xml

AlarmInfo.tsk.xml

AlarmMQoTD.tsk.xml

AlarmNewsHeadlines.tsk.xml

AlarmNGPOTD.tsk.xml

AlarmNPOTD.tsk.xml

AlarmReset.tsk.xml

AlarmSnooze.tsk.xml

AlarmSnoozeMaths.tsk.xml

AlarmSnoozeTime.tsk.xml

AlarmUPSMaths.tsk.xml

VariableClear

AlarmHTTPCheck (added in V2)

In menu options/profile data 'Import One Profile':

AlarmClock

In a file explorer, navigate to /sdcard/Tasker and within this folder, create the following three folders:

APOTD

NPOTD

NGPOTD

In Tasker, click ‘Tasks’ and select AlarmReset. Click on ‘Test’ within the task to set up the initial variables.

Select the task Alarm. Edit action #11 and choose the alarm sound you wish.

Turn your screen lock off and adjust your screen-time-out to 5 minutes (just for testing).

Make sure you have an active wifi (or mobile data, but profile is data intensive) connection.

Click on the time in the profile AlarmClock and press now, add one minute to each time, click done, click apply… and off we go...

Hit 'snooze' when each speech action has finished.

New to Tasker? Download the free trial here
[Android Apps and Games] brandall:
V2 Up

Change Log

V2

* Added task AlarmHTTPCheck to ensure alarm didn't fail if a connection or connecting task failed.

* Added task VariableClear to AlarmReset as standard

* Changed collision handling in AlarmSnooze

* Changed task priorities to ensure AlarmSnooze has a minimal delay at most

* Changed task priorities to ensure AlarmSnoozemaths always completes prior to use in the notification.

V3

* Added day of the week as a context and removed from task Alarm

* Corrected spelling mistakes in NGPOTD & APOTD
[Android Apps and Games] adianlorenzana:
Wow, I love this post a lot.

Release that naked hot girl of the day please dear god
[Android Apps and Games] brandall:
Ha! Glad you found it useful. Please provide feedback when you can if all working correctly, so I can add it to the Tasker Wiki

Current count of %NHGoTD = 1! (yeah, that was a Tasker joke...)
[Android Apps and Games] thermopyl:
random snooze?

would it be possible in Tasker to add a random snooze duration, say between 2 and 10 minutes?

That will keep you on your toes! :)
[Android Apps and Games] brandall:
It would indeed! In answer to your question - yes! There is a variable randomize option which could be used in AlarmSnoozeMaths and then the same number in AlarmSnoozetime...

Tasker allows you to add variables so you could easily say %TIME + %RANDOMTIMEBETWEEN2AND10 = next alarm!

If it helps you get up in the morning, let us know and I'll put it in as standard! :D
[Android Apps and Games] thehrushi:
I wish there was a stripped down version of this. I want the AlarmInfo task (which I can see has weather info and the usual text to say), but don't want horoscope, news or anything else (that wallpaper change thingy etc).

What do I do?
[Android Apps and Games] brandall:
Should be quite easy - I'll post instructions for you later :)

EDIT - The instructions are here in post #11 for you.
[Android Apps and Games] brandall:
I only want to use parts of this alarm, how do I strip??

The basics of the functions of the alarm are in the task Alarm. Opening it, you'll see that in action #3 it has a 'goto' request IF the %ALARMCOUNT (the amount of times it has already activated) is over 10.

Firsly, whatever changes you make, you'll need to make sure that 'goto' always points to the Variable Set %ALARMCOUNT to 1 (currently action #14), which is the reset function before the alarm switches off.

I set this up so all of the information grabbing tasks are separate. Therefore all you need to do is delete the actions that request them in the form of a 'perform task'.

You'll see in the task Alarm that action numbers 5,6,7,8 call for the following tasks to go off and get their information:

AlarmInfo

AlarmMQoTD

AlarmDayHoro

AlarmNewsHeadlines

You can delete the ones you don't wish to have from Alarm, but don't forget to check the 'goto' is still pointing to Variable Set %ALARMCOUNT to 1!

There are no further 'goto' actions to be concerned with in the above and below information tasks.

The first 3 tasks above, kick off the wallpaper tasks in their actions:

AlarmAPOTD (action #4 in AlarmInfo)

AlarmNGPOTD (action #12 in AlarmMQoTD)

AlarmNPOTD (action number #9 in AlarmDayHoro)

The action number varies due to the differing number of Variable Splits required when extracting the data from the HTTPGET.

You are free to delete the perform task actions should you no require the wallpaper changes.

You are free to edit the perform task actions to a different task (wallpaper) if you only want to use a particular one.

That's it! Easily changed to suit your own taste. Any questions, no matter how silly they feel, please do not hesitate to ask (Tasker makes us all feel a bit dumb at first! :o ).
[Android Apps and Games] brandall:
Feedback?

There have been a few downloads of this, but no feedback?

Should I assume that everything is working absolutely fine?!?!? Hope so!
[Android Apps and Games] A$h x:
I have a question for you:

Are there any pre-made scripts to perform all these tasks you describe, or do we HAVE to manually input them ourselves?
[Android Apps and Games] brandall:
The profile and tasks download is in post #3. Import them into Tasker and they are ready to go, everything is set up for you.

In post #1 you'll see that you need to do the basics such as creating folders on the SD card and choosing your alarm sound.

It's a 3 minute job before you can run this for the first time. The amount of changes after that is up to you!

EDIT - ps. There are hundreds of other ready to go Tasker profiles kicking around the net.
[Android Apps and Games] thehrushi:
That's great. Thanks a ton! :) Just what I needed.
[Android Apps and Games] torsrex:
WOW, just found out that you had created yet another profile! (Too much tapatalk without signatures) :p. Gonna try this out tomorrow, will report back here with my experiences. ;)
[Android Apps and Games] brandall:
Ha! I hope it makes you chuckle... :D
[Android Apps and Games] torsrex:
Haha, love the new "alarm clock" (more like high-tech alarm clock monster).

A few bugs to report:

When it tries to pull the weather I get an Unkonw Host message (although the link open's fine in the browser).

The horoscop won't pull itself (I get no error messages, but the "girl" tells me the variable %HOROD instead of my horoscope).

I have sat the snooze time for 2 minutes, but the popup shows 7:03 (which could not be right because my alarm goes off at 7:00).

The rest of the alarm-clock is working fine(love the picture changing thingy)!

Feature request:

Read the first ten topics of the email.
[Android Apps and Games] brandall:
Doh! I thought it was working great...

Hmmm... Are you sure you've set the weather up correctly - under the 'mime type' are you pulling HTML instead? Does it work on the weather for my location? Add an output file of weather.txt and see if you get a file created.

For %HOROD, do the same and set an output file horo.txt. It may be that the splitters I've used don't match your star sign - again, did it work with the standard settings.

If the splitters are wrong and you need help changing them, paste the file contents in #code# tags and I'll take a look..

The alarm time must match the number in alarmsnoozemaths too - otherwise you'll end up with two different numbers... Where they the same?

I'm working on calendar entries and email - but Tasker only currently reads K9 email and the calendar entries are coded... need to decode them... Effort!

Keep an eye on your thanks meter ;)
[Android Apps and Games] torsrex:
Message to self: don't create tasker-profiles at 00:30am in the morning!

Just readded the profiles, and now the clock is working great!

Just one bug that still persists, the horoscope thingy.

Here is the link to my star-sign: http://www.astrocentre.com/us/Feeds/RSS/getDaily.aspx?sign=Scorpio

I hope you can fix this :)
[Android Apps and Games] brandall:
Ha! You need to get some sleep! (hope the alarm wakes you in the morning!)

Thanks for reporting back - Indeed there is a bug... Not only do you have to change the star sign in the HTTPGET url, it also appears that each star sign is allocated a number. In the first splitter action change sign=2 to sign=7 for Scorpio. Just tested it and it worked ok for me.

I shall find out all the different numbers and add them to the customisation section. Another fun task... :(

Keep up the good testing work! Thanks meter +1
[Android Apps and Games] torsrex:
Yep, changing the 2 to 7 fixed the issue!

Will have to wait uintil monday to test it more.
[Android Apps and Games] brandall:
Sorted...
[Android Apps and Games] TheMathMan:
Hi

I'm getting errors that apotd or ngpotd jpgs don't exist. I've made the folders in the Tasker folder as stated...
[Android Apps and Games] brandall:
Strange:

The file output is Tasker/APOTD/apotd.jpg <-- Are you sure you haven't made a typo when creating the folder? APTOD for example :eek: Not sure it it's case sensitive either?

If all seems well there, open the task AlarmAPOTD and increase the timeout in the HTTP GET actions #1 & #5 in case you currently have a slow connection. Press test and see if it sets the wallpaper..?

Let me know.
[Android Apps and Games] TheMathMan:
Nope... Neither fixed it...
[Android Apps and Games] brandall:
Are you using the latest version?

Can you paste the first HTTP GET url into your browser and make sure it works for you?

Can you 'notify flash' the output for %APOTDD21 before the second HTTP GET action and make sure it is populated.

Can you paste the full url into a browser (populating %APOTDD21 yourself) and see if that works...?
[Android Apps and Games] TheMathMan:
Just off out but shall do so later.
[Android Apps and Games] TheMathMan:
Don't get what you mean about populating that string myself.

Anyway #1 url works and shows picture of the day but pasting in apod.nasa.gov/apod/%APODD21 gives a bad request. Guess I did something wrong there.

Could it be anything to do with the mount point on Samsung devices?
[Android Apps and Games] brandall:
Well, at least the url worked for a start.

Let's make sure it's getting the right data first. Insert an action + Alert, Notify and in the title put %APOTDD21 - put that in position #5, just before the second HTTP GET

Today,%APOTDD21 = image/1105/cenAjets_many_900.jpg for me. That should show up in the notification bar now?

To test the link, that should be entered into the browser at the end of the URL in place of %APOTDD21 (as Tasker would replace it). So, the second HTTP GET should be:

http://apod.nasa.gov/apod/image/1105/cenAjets_many_900.jpg (Tasker puts the http:// in for you)

Does that work in your browser?

Finally, in Tasker, press menu and preferences. Select Misc and tick the box for 'Popup Errors/Warnings' and save. If the task continues to fail, every time you load up the app, it should tell you why - and let me know!

Hopefully that will tell us if it is something to do with the mount point...
[Android Apps and Games] raiderkilo:
Hi

Works perfect.

How to add info about alarm on statusbar and lockscreen?

How to remove some stuff like horoscope and background?

THX
[Android Apps and Games] brandall:
Glad it's working for you :)

Unfortunately, the next alarm info isn't available in a variable as it's a date/time context, so there's no way yet of passing on the information... Best you can have is the next snooze time showing... I haven't used Widget Locker, so I don't know what variables can be passed to it?

Check this post to see how to strip the alarm down to just what you want.
[Android Apps and Games] torsrex:
Okay, here is a little idea:

When you press the stop button to stop the alarm, another popup menu should show up. This one should contain the name of the different picture sites, with a little thumbnail at the side of each name. The you just have to select which one you like that day.

Also, can you make an apotd (animal picture of the day) for us animal lovers?

That world be great!

Have been using this one since you made it, and must honest say that it has never been so easy to stand up in the morning!

This is the best alarmclock I have used ;)
[Android Apps and Games] brandall:
Good idea! I like it... 'Pick your wallpaper for today'. That might be possible in the next Tasker release as gallery images to use as icons was mentioned...

Yup - Have just Googled it for a while, but I cannot find an RSS feed for an 'animal picture of the day'... Find me the one you want and I'll knock it up for you as a thanks for your testing!

Haha! I'm glad to hear it :)
[Android Apps and Games] torsrex:
Can you use this site? http://www.w3streams.com/potd/nature/
[Android Apps and Games] brandall:
Yup - grabbed the xml feed from it :) Let me know it works!
[Android Apps and Games] torsrex:
Yup, that one worked :D is the "variable list" on the end required?
[Android Apps and Games] brandall:
Good :cool: I must've left the variable list in when testing to see which ones I needed to clear... It can be removed!
[Android Apps and Games] CaptainFodder:
Interesting idea/question

Basically what I am doing so far with your rss picture grabbing scripts, is changing the wall paper every day... .but what i'm wanting to do, is have it save the photo everyday to a specific folder, over write that one image (which i hope is what it does right now), and so when i have that image pre-designated in widgetlocker as an alternate background, it will change that every day when i wake up. but not my usual wallpaper... does that make any sense? :D
[Android Apps and Games] D200P13:
i got a few questions....

1: how can i removed the nasa, horoscope, national geographic, and the long list of speaking phone performance that plays after the weather? i dont want to remove something then that breaks the whole structure.

2: the news doesnt speak, i have not edited anything besides the music file, time to alarm, and my weather location. any way to fix it?

3: any way to add speaking events of the day from google calendar? if it already has it, it isnt working for me.

i would love to just have the regular "SAY" features with the speaking weather and news along with todays calendar events.

at first, i would have rather have an auto dismiss instead of the sleep feature but i think it works fine as it is. THANKS!

would be great if someone uploaded a zip with these settings changed for me. could help others.

EDIT: Saw the post on how to remove things...
[Android Apps and Games] alphahere:
Go easy because I'm a complete noob when it comes to tasker. I never heard of it until I was searching for an app that could automatically set an alarm either 30 minutes or one hour before sunrise and sunset daily. My google search ran across this post. Of course I did not find an alarm clock app with these specs.

This tasker script looks like my best hope and I trying to understand tasker. I ran across this post at the tasker website.

http://tasker.wikidot.com/sunrise-and-sunset-times

Could someone point me in the right direction or give me an idea on how to integrate the above script into this tasker script. I think I am way over my head. :rolleyes:

Thanks!
[Android Apps and Games] brandall:
I actually recently wrote a sunrise/sunset script, I'll try and dig it out. You cannot 'edit' the start time of a tasker profile, so you'd have to use a work-around of setting the sunset time as a calendar entry and the activation of that calendar entry kicking off the alarm profiles... Bit fiddly, but possible...

Hi D200P13, I've been absent for a while, so need to check what is broken in the feeds. Will do it over the coming week.

2) I'll check it out.

3) Unfortunately Tasker can't 'read' the calendar body/title - So it's a no I'm afraid - If you check out my Google Calendar widget profiles, they use an xml feed which is it possible to 'say'

It should be quite straight forward using Tasker's file action of copy or move - simply apply that action after the profile has imported the image and rename it at the same time as moving it to another folder. Widgetlocker can then use the images from that folder?
[Android Apps and Games] D200P13:
ok thanks. If someone can upload a stripped alarm with no feeds at all like NASA and the natgeo and even weather that be great. I love the snooze and different say after some snoozes great way to wake up. The weather was a great idea but for some reason it reads every symbol. Wish it worked better for me. My location is zipcode 79570 if anyone wants to give it a try and upload a stripped version with working weather without readying every symbol. Thabks!
[Android Apps and Games] evylrat:
How about adjusting the volume on the voice?

I'm using the method on this post

hxxp://tasker.wikidot.com/weatherspeakattimeofday

To save the volume and silent state, switch off silent, set volume, and revert back.

Also, why clears lots and lots of variables individually? Why not use pattern matching? eg HTTPD*

Lastly, is there a way to pull CURRENT weather, rather than forecast?

eg,

STATUS:CONFIRMED

SUMMARY:Partly Cloudy 59F / 50F

TRANSP:TRANSPARENT

How could I split the summary to pull the actual / feels like out, and still be able to use the current conditions? Splitting with space can't be relied upon, since the position of the temps would change.
[Android Apps and Games] D200P13:
i suppose no1 has bothered to make a "lite" version removing...

AlarmNGPOTD

AlarmNPOTD

AlarmAPOTD

AlarmDayHoro

AlarmMQoTD

since i tried but it messed up a few things each time i tried. stopped after the 3rd attempt due to weird jumps of the tasks in the list. like would skip weather and news. tried to remake it but that failed too. news wouldnt work. i gave up in hopes someone would make a lite version since i must have missed or failed to change some settings to adjust the removals...
[Android Apps and Games] brandall:
Did you try the link in the first FAQ or is that what you are stuck on??
[Android Apps and Games] D200P13:
yup. but like i said the only thing that works after i remove them is the alarm. the weather and news either sometimes 1 works or non works.
[Android Apps and Games] brandall:
Ok. I've posted a few times that I'll update this at some point... I will, honest... and then I'll check the instructions
[Android Apps and Games] D200P13:
understandable, people have lives. ill keep checking for an update.
[Android Apps and Games] texastutt:
As I'm Noobing my way through Tasker, I am enjoying your explanations (yes I've hit a few Thanks buttons), but I can't find the .zip file below... as mentioned in post #1, am I thick or are we working from the Tasker Wiki Alarm clock?
[Android Apps and Games] brandall:
It's hiding in post 3 :)
[Android Apps and Games] evilvoice:
Okay, I am having some issues with this...maybe someone can help me.

I have a Nexus S CDMA running ICS and Tasker 1.2.1

1. The voice almost never finishes the whole text - this is evident in System Information, Horoscope, News, and more than likely the Motivational Quote (today is a short one).

2. I went through and changed News so that it would not say the 'non-text' stuff. (This only says the headlines and not the story)

3. I changed the Horoscope feed - when I tested this it did not give a horoscope - looks like the feed has moved.

4. I did create a DHOTD (it does not run with the alarm and only works when tested - this takes the place of NGOTD. I did not do this to share unless OP wants it, I only did this since I was editing the rest of the stuff, figured I would try. The OP did a great job in creating tasks).

5. The media file is in #9 on mine, not #11.

6. Not all variables were cleared, so I went and changed that.

7. I think there was some issue with the pictured feeds, so I changed those (not 100% sure that I changed all of them, but I changed some)

8. Also changed weather so it didn't speak 'non-text'

Since nobody else has posted for a while, am I the only one having issues? Is it my phone? I did test it the first time without changing anything.

Also, if the person who was trying to strip down the Alarm and removed the MQ, Horo, APOTD, NGPOTD, NPOTD is still around, you need to edit the AlarmInfo task and remove the call to APOTD as that could be the reason it is stopping. Also, click on whatever task you are wanting to check (I would start with AlarmInfo) and Test. When it comes up with the box to snooze or clear, hit the back button. Now, go to the Variable tab and look at the WEATHERD variables and that should help you to figure out why Weather is not working - same for News.

I do not want to overtake this thread, just trying to get some help and offer some as well.
[Android Apps and Games] ReasonablyRooted:
I added my thanks on the OP because I used your alarmUPSmaths task to make an uptime pop-up. I wanted to understand it, so I started my own from scratch - and I ended up following in your footsteps and expanding my brain. Now when the screen is on, the phone is face up, and I activate the proximity sensor, I get a pop-up with the days, hrs., and min. since I last rebooted. I wouldn't have figured it out without your example.
[Android Apps and Games] Martinhdk:
This is awesome. Thanks man. One question: can anyone guide me to a scene with two big buttons instead of the popup.
[Android Apps and Games] rag1998:
Thanks OP for the great app,

But to the author above no you are not the only one having issues, thanks to your post I am able to correct some of mine.

One lingering issue for me is the pop-up, it just has icons and no text, if I change it to show me text, only part of the text shows up..Also click action on those buttons doesn't seem to do anything, i.e click snooze while the Voice is in play and it doesn't shutoff same with Alarm Reset. Due to the click action issue mine is stuck at the first task(weather and system info) and never moves forward!..

NEXUS 4 with stock ROM rooted
[Android Apps and Games] reese.leblanc:
+1. I just had the same issue as rag this morning. Is this an error in the new version, or is it something we missed when we installed the profile? Also, I only saw one wallpaper the downloaded. It was the APOTD. Looking forward to getting this worked out!
[Android Apps and Games] Giot:
I wanted to snag just a few of these (actually just the weather and news parts) to build a "daily briefing" task to integrate with my personal assistant setup, but the news isn't working. I had it flash out what it is trying to say but it largely junk (the splitting didn't seem to be functioning correctly). Does anyone have an updated AlarmNewsHeadlines.tsk.xml file that works?

I love the weather capabilities though, hopefully I can parse it and even get the full weather forecast included with my briefing!

Thanks
[Android Apps and Games] Gerxp:
Thanks for the awesome alarm.

It would be so nice if the volume ascend from low to high each snoozecycle.

Or maybe, if it is a long tune between the cycles even.
[Android Apps and Games] M@xFactor:
Pressing the snooze/off alarm

Hi, either I select snooze or stop, the button doesn't disappear...

Is it the right behaviour?

Thanks
[Android Apps and Games] M@xFactor:
I can't see where to put a volume ascend option... anyway why don't you have a look at my simple alarm clock? just to learn more each other

Bye

https :// groups.google.com/forum/#!topic/tasker/nB6bDN7wqrM
[Android Apps and Games] VVaughn187:
Hi

While importing the tasks and profile, i'm getting an error ("error: bad data format"). Anybody else having this problem?

I'm using Tasker v4.5u1 on a Sony Xperia Z1 (unrooted).

Cheers