Force myself to get out of bed before 7am

Hey @chronotrigger21, this might differ somewhat from what you are after, but might solve your problem. It uses Sleep as Android, so you would need an android phone.

Sleep has an option with its alarms that you can only turn off an alarm by scanning its QR code, so you set up an alarm that goes off just before 7am and requires a QR code scan to dismiss (or if you like to wake up slowly, you could set a max snooze time of eg 25 mins and set the alarm to go off at eg 6:30).

Then you use Tasker to listen for an Alarm dismissed event: (see API docs) com.urbandroid.sleep.alarmclock.ALARM_ALERT_DISMISS_AUTO
and write your Tasker script to submit a datapoint to Beeminder (see my post on Tasker and Beeminder API http requests here) when this happens, or not submit it at all if the time is after 7am.

2 Likes