First up, apologies, this is rough as hell. It works to perfection though, although I'm positive this could be made more 'user friendly' in terms of setup.
Basically, you need an app called TurboAlarm for android, and tasker. I also use webcore. Turboalarm is amazing, and nothing else works. I've tried loads of approaches, and they're all horrible. This is utterly customisable,
There's a task called INITIAL VARIABLE SETUP - this is because I wanted an easy way to be able to work on updated versions of this, and then later add this to the wife's phone without needing to mess about altering variables. I also love variables, because they allow me to make changes without needing to make multiple edits.
Run this, it asks you to 'Select a user'. The options are 'Daz' or 'Liz', because we want different things to happen depending on whether it's myself or the wife setting a wakeup alarm.
There is also a part of this which includes the cloud URL's of the 2 distinct webcore pistons, one of which concerns myself, the other is liz. These obviously need altering by hand to your own. Depending on the user, this defines the tasker variable CloudURL.
i.e.
&
Anyhoo...
.
.
.
.
.
.
That 'main alarm' task is the part which I have a shortcut for on my homescreen. This allows you so set the alarm time through a standard android interface, but also has a couple of common pre-sets:
As for the webcore bits, I have a piston called ** alarm_daz_settimes**, which the tasker script calls in order to set 5 different stages of alarm times for me
- wakeup
- just woke up (wakeup + 1 min)
- pre wakeup (wakeup - 2 mins)
- almost wakeup (wakeup - 1 mins)
- post wakeup (wakeup + 2 mins)
This includes a few helpful devices (for me, anyway). Non-anonimous makes it easier to see:
There's finally another script which is pretty simple, which is the main layout for what happens when
i.e.
I warned you it wasn't the prettiest. I also have some logic in there which runs local instead of cloud where possible, but that's easy to ignore for the sake of simplicity. Here's the tasker project
https://taskernet.com/shares/?user=AS35m8ksLyUYF%2BnHWHxPfBB8QxIVy8TTjiykVRuSfENALEJnhB8DjKkg87deDfiEv%2Fho&id=Project%3ATurboalarm
I've obviously edited out the urls to my alarm stuff.