This Tasker profile is designed to set an alarm clock to wake you early on days that have inclement weather. It features a fully-capable alarm clock that possesses snooze functionality as well as a verbal notification of the kind of weather, outside temperature, and time.
This profile is not 100% plug and play!
In order for snooze functionality to work, the Weather Alarm profile calls upon an Alarm task, a Snooze task, and a Dismiss task. These tasks will also need to be imported for the alarm clock to work correctly. In addition, you will need to input your zip code, pick an audio file for the alarm to play, pick a time for the alarm to run, and make several other optional changes.
See details below the download links.
Please do not make this your only alarm, or depend upon it to wake you for any formal responsibilities. It is for purposes of convenience only. The accuracy of the weather report aside, there are many things that can occur to render this task unreliable. I will not be held responsible if you get fired for being late to work (for example) because the task fails to work as expected.
However, it is my hope that, when used in conjunction with a dedicated alarm clock, this task can grant you a head start on those days where Mother Nature seems to be working against you.
SET UP ALARM CLOCK TASKS:
In order to set up this profile to suit your own needs, please follow the steps below after downloading the tasks to your phone and importing them to Tasker.Start by clicking on Tasks at the main Tasker screen and selecting Alarm. Now you'll need to select a valid audio file for the alarm to play (as I doubt you'll have the same file I do!) The audio file played here will actually just be the second alarm that will play, after the alarm has been snoozed once. I'll explain why in a bit.
If you want to edit the length of your snooze time, you'll need to open the Snooze task and adjust the Wait time slider, and be sure to edit the time under the Flash text to reflect your change.
Now just check to make sure you have the "Dismiss" task imported. (Trust me, you don't want to find out that when your alarm won't shut off!)
CREATE AND CONFIGURE YOUR WEATHER ALARM PROFILE:It's time to create your Weather Alarm profile that does the grunt work. Assuming you've imported the Weather Alarm task, create a new profile and set up the trigger time to be the earliest you would want to be woken (I use a range of time of about 10 minutes to be on the safe side) and the days of the week you want it to run (such as Mon-Fri).
After you've done this, add a task to the profile and select the imported Weather Alarm. Edit the task and open step 3. You'll need to replace the XXXXX in zip code with your 5-digit zip.
Now let's move to step 9. This step halts the task if the weather data pulled from Accuweather doesn't contain the keywords included. Asterisks are wildcards, and slashes are essentially an OR statement. Only include items you might want to have wake you up early.
On to step 10. This determines what weather conditions that you might not to wake up so early for, but still would like to alarm sooner than normal, such as when it's raining or stormy. For example you might want to even add something like "Light snow" if you keep your car in the garage and don't need to brush it off. (Make sure you're using a phrase that Accuweather will actually output though!) In addition, you may want to adjust the Wait time slider to suit your needs. I have mine set to wait 30 minutes. Keep in mind that anything that IS in step 9 but is NOT in step 10 is going to set off the alarm when the task runs in the morning. You can also add another similar step for other weather types if you want a more dynamic alarm.
Step 11 converts Accuweather's Celcius temperatures into Farenheit. Remove this step if you want Celcius, and replace %DEGF in step 26 with %HTTPD221.
Step 13 is your initial alarm volume. Adjust if needed.Step 14 is the initial alarm audio file that you want to go off. The reason this isn't just a "Perform Task 'Alarm'" is because I wanted to take advantage of the talking clock code to put a time on my Alarm window. Another advantage is that you can place a different initial alarm here in step 14 than you do in the Alarm task (which will run after the Snooze wait). Either way, make sure you put a working media file in to this step or the alarm will not sound!
Step 25 is how long after the alarm is silenced that the phone waits to start speaking.
Step 26 is what the phone actually says, the speed at which it says it, and the accent it uses.
The default format should give you something like "Good morning. You have been woken early today because it is currently snowing and 16 degrees. The time is five 'o clock AM."
Hope you enjoy. Feel free to email me any suggestions or questions:
electrofreak [ at ] gmail [ dot] com
This page was contributed by Electrofreak.