Alarms that follow the sun

Risetime is a clock app for Android: alarms at a fixed time or following the sun, and timers that repeat and chain. No ads ever and completely offline. Instead of a clock time, you can set an alarm on a moment of the sun: sunrise, sunset, solar noon. The alarm then follows that moment every day, as the seasons move it.

Risetime alarm list with five alarms: Stargazing 05:10, Saturday, Astronomical dawn; Work 07:00, Monday–Friday; 07:02, Tomorrow, Sunrise; 17:38, Monday–Friday, 1 hr before Sunset; and 23:02, Today, 8 hr before Sunrise, switched off. The Alarms, Timers and Settings tabs run along the bottom.Risetime alarm list with five alarms: Stargazing 05:10, Saturday, Astronomical dawn; Work 07:00, Monday–Friday; 07:02, Tomorrow, Sunrise; 17:38, Monday–Friday, 1 hr before Sunset; and 23:02, Today, 8 hr before Sunrise, switched off. The Alarms, Timers and Settings tabs run along the bottom.
Regular alarms and sun alarms, in one list.

Set a regular alarm

  1. On the Alarms tab, press +.
  2. Set the time on the dial, or type it.
  3. Press OK.

That's a regular alarm, and it doesn't need anything else.

Set an alarm for sunrise or sunset

Risetime knows four moments of the sun out of the box: Sunrise, Sunset, Noon: solar noon, when the sun is at its highest, which is rarely 12:00, and Nadir, the middle of the night, when the sun is at its lowest.

  1. The first time, set your location. Sun times depend on where you are. Without a location, the alarm dialog simply says Set location in Settings.
    Three ways to set it

    In Settings › Celestial events location: pick your city from the list; or use your phone's GPS, once; or turn on Auto-update location, and it follows you when you travel. Your position stays on your phone: Risetime has no internet permission, so there is nowhere to send it.

    Risetime settings with the Celestial events location section open: London, United Kingdom in a drop-down, a locate button beside it and an unticked Auto-update location box. The Reliability row below reads (10/10).Risetime settings with the Celestial events location section open: London, United Kingdom in a drop-down, a locate button beside it and an unticked Auto-update location box. The Reliability row below reads (10/10).
    The location setting, with its GPS button and auto-update box.
  2. On the Alarms tab, press +.
  3. In the menu at the top, pick Sunrise, Sunset, Noon or Nadir.
  4. On the dial, set how long before or after it the alarm rings, or leave it at No offset.
  5. Press OK.
The new-alarm dialog set to 17:25 with its anchor menu open: Local time (ticked), Astronomical dawn, Sunrise, Noon, Golden hour, Sunset and Nadir.The new-alarm dialog set to 17:25 with its anchor menu open: Local time (ticked), Astronomical dawn, Sunrise, Noon, Golden hour, Sunset and Nadir.
The menu at the top of the alarm dialog: a clock time, or a moment of the sun.

The offset: "1 hour before sunset"

An anchor is a moment of the sun that Risetime recomputes every day; your alarm stays at a fixed distance from it. That distance is the offset, up to 11 hr 59 min before or after. An anchor can also be shifted, by up to 2 h 30, to match a timetable. The sun moment moves a little every day; the offset you chose does not.

  • Sunrise, no offset: with the first light of the sun.
  • 30 min before Sunrise: up before the light.
  • 1 hr before Sunset: a sunset alarm that leaves you time to head out while there is still daylight.
  • 8 hr before Sunrise: a bedtime reminder that follows the sun.

A line under the dial shows the next ring, for example Tomorrow: 18:03.

The new-alarm dialog set on the Sunset anchor with an offset of minus 1 hour and 00 minutes, the hours dial on 1, and the line Today: 17:38.The new-alarm dialog set on the Sunset anchor with an offset of minus 1 hour and 00 minutes, the hours dial on 1, and the line Today: 17:38.
One hour before sunset. The line under the offset says when it rings next.

Repeat days, sound and snooze

Open the alarm's card in the list. Tick Repeat and choose your days, and the card reads the way you would say it: Monday–Friday, 1 hr before Sunset. The same card holds the label, the sound, vibration, snooze length and the image shown while it rings. The switch has three positions: the middle one skips only the next ring (for a day off) and keeps the alarm on.

Ring action sets what the alarm does: the Stop screen, or a Simple notification, a short sound with nothing to stop (you pick that sound in Settings › Alarms). Alarms and timers share one stop screen, with a swipe: to stop or snooze an alarm, or toward the end to stop a timer and toward the start to add time to it. Tick Dawn simulator on an alarm and the screen brightens for 1 to 15 minutes before it rings.

The 17:38 alarm card open on the alarm list, under Stargazing, Work and the 07:02 Sunrise alarm: an empty Label field, the Time section reading 17:38 (−1 hr) with a curve of the alarm time through the year, Never after and Never before limit handles, and a ticked Repeat box below.The 17:38 alarm card open on the alarm list, under Stargazing, Work and the 07:02 Sunrise alarm: an empty Label field, the Time section reading 17:38 (−1 hr) with a curve of the alarm time through the year, Never after and Never before limit handles, and a ticked Repeat box below.
An open alarm card: repeat days and everything else about the alarm.

Keep a sun alarm between two clock times

A sun alarm moves with the seasons. You can hold it between two clock times with a Never before and a Never after limit on the alarm. For example, a sunrise alarm every day that never rings later than 08:00: sunrise with a Never after 08:00 limit. Its card shows a year curve, the hour of the alarm over twelve months, and the limits can be dragged on it.

Custom anchors: twilight, sun angles, shadows

The sun marks more moments than four. You can make your own, of three kinds:

  • A solar angle: the moment the sun reaches a given height above or below the horizon, in the morning or the evening. −6° is civil dawn or dusk, −12° nautical, −18° astronomical: full night. +6° in the evening is low, warm light.
  • A shadow length: the moment an object's shadow reaches a given multiple of its height, before or after noon.
  • A fraction of the day or night: the night (sunset to sunrise) or the day, cut into equal parts; you choose how many, and which boundary. The last sixth of the night, for example, starts at the same point of the night whatever its length that season.

To create one:

  1. Open Settings › Anchors, then press +.
  2. Choose the kind, and set its value.
  3. Give it a name, or keep the automatic one.
  4. Pick a colour. Save waits for one.
  5. Press Save.

It now appears in the alarm dialog next to Sunrise and Sunset, and takes an offset like any other. A switch in the anchor list hides the ones you don't use from that menu.

Settings, Anchors section open: six anchors, Astronomical dawn, Sunrise, Noon, Golden hour, Sunset and Nadir, with a plus button. Only the two custom ones, Astronomical dawn and Golden hour, have active edit and delete buttons. Every row has a visibility switch, all on. Advanced sits below, folded.Settings, Anchors section open: six anchors, Astronomical dawn, Sunrise, Noon, Golden hour, Sunset and Nadir, with a plus button. Only the two custom ones, Astronomical dawn and Golden hour, have active edit and delete buttons. Every row has a visibility switch, all on. Advanced sits below, folded.
A custom anchor takes its place among the others, in the order of the day.

An anchor can also carry one shift, up to 2 h 30 either way, to match a timetable you follow, such as a local calendar. The shift applies to every alarm already set on that anchor.

An anchor can carry a Limit: a moment it never goes past, which also gives its time on days an angle is never reached. A fraction can be cut between any two anchors, for example sunset to sunrise, in up to 120 parts.

Far from the equator, some angles are never reached for part of the year. The editor tells you the dates (in London, the sun does not sink to −18° from late May to late July), and without a Limit the alarm stays silent on those days rather than ring at an invented time; with a Limit it rings at the limit.

The Edit anchor screen for Astronomical dawn: a solar angle of 18.0°, a red warning, Not reached every day at this latitude, and a preview card reading Next: 05:10 and The sun does not reach this angle here from May 23, 2027 to July 21, 2027, with an Add a limit button.The Edit anchor screen for Astronomical dawn: a solar angle of 18.0°, a red warning, Not reached every day at this latitude, and a preview card reading Next: 05:10 and The sun does not reach this angle here from May 23, 2027 to July 21, 2027, with an Add a limit button.
−18° in the morning, set for London: the editor names the weeks it never happens.

How sunrise and sunset times are calculated, offline

Every sunrise and sunset time is computed on the device by an astronomical library, commons-suncalc, based on Jean Meeus' Astronomical Algorithms. Sunrise and sunset are measured for the sun's upper edge, with atmospheric refraction, as your eyes see it; solar angles for the sun's centre, the convention twilight tables use. No web lookup, no server: it works in airplane mode, at sea, or in a valley without signal.

Risetime doesn't run all the time. It recalculates after an alarm rings, during a short check every few hours, or when the phone restarts or its clock or time zone changes; Android's own alarm clock, the one your built-in clock app uses, does the rest.

Make sure it rings

Some phones stop apps in the background to save battery, and that can silence any alarm. Settings › Reliability checks what your phone needs and gives each missing item a Fix button. After a restart, alarms ring even before you first unlock the phone.

Timers, too

The Timers tab holds countdown timers, and sequences of them that loop: how timer sequences work.

Risetime is free for up to three alarms and three timers – forever. Need more? Use those three first, and see if it's worth your support: supporters get unlimited alarms and timers, yearly or once. If not, I'll be happy to read your message.

Guides for specific uses

Frequently asked questions

How do I set an alarm for sunrise or sunset on Android?
On the Alarms tab, press +. In the menu at the top, pick Sunrise, Sunset, Noon or Nadir. On the dial, set how long before or after it the alarm rings, or leave it at No offset, then press OK. The first time, set your location in Settings, because sun times depend on where you are.
Can I have a sunrise alarm every day, but never later than 08:00?
Yes: give a daily sunrise alarm a Never after limit of 08:00, and it rings at sunrise, or at 08:00 when sunrise comes later. To set it, put the alarm on Sunrise, repeat every day, and add Never after 08:00. The year curve on the alarm shows both.
Is Risetime a sunrise light alarm that brightens the screen?
Partly: Risetime can brighten the phone screen before the alarm, but it is not a sunrise lamp. Tick Dawn simulator on an alarm and the screen brightens for 1 to 15 minutes before it rings. The alarm itself rings at the real sunrise where you are, recalculated every day, and the volume can rise gradually.
What are an anchor and an offset?
An anchor is a moment of the sun that Risetime recomputes every day; your alarm stays at a fixed distance from it. That distance is the offset, up to 11 hr 59 min before or after. An anchor can also be shifted, by up to 2 h 30, to match a timetable. The sun moment moves a little every day; the offset you chose does not.
Can I create my own anchor, such as twilight or a sun angle?
Yes. Besides the four built-in moments, you can make your own, of three kinds: a solar angle, a shadow length, or a fraction of the day or night. Open Settings › Anchors, press +, choose the kind and set its value, give it a name or keep the automatic one, pick a colour and press Save. It then appears in the alarm dialog next to Sunrise and Sunset, and takes an offset like any other.
How are sunrise and sunset times calculated without internet?
Every sunrise and sunset time is computed on the device by an astronomical library, commons-suncalc, based on Jean Meeus' Astronomical Algorithms. There is no web lookup and no server: it works in airplane mode, at sea, or in a valley without signal.
What if my phone stops apps in the background?
Some phones stop apps in the background to save battery, and that can silence any alarm. Settings › Reliability checks what your phone needs and gives each missing item a Fix button. After a restart, alarms ring even before you first unlock the phone.

Set it once. It follows the sun.

Get it onGoogle Play