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.


Set a regular alarm
- On the Alarms tab, press +.
- Set the time on the dial, or type it.
- 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.
- 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.


The location setting, with its GPS button and auto-update box. - 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.
- Press OK.


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.


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.


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:
- Open Settings › Anchors, then press +.
- Choose the kind, and set its value.
- Give it a name, or keep the automatic one.
- Pick a colour. Save waits for one.
- 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.


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.


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
- Golden hour, blue hour and the night sky, for photographers and astronomers
- A meditation or yoga practice at first light, and bells for the sit
- Brahma muhurta, sandhya and Abhijit, with the convention your tradition follows
- Fajr to Isha, with the method your community follows
- Zmanim, with the way your community counts the day
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.