Plugins are a dev preview. Enable them first in the Pebble mobile app: Settings → Plugins → Plugins/permissions preview. Learn more

Astronomy

Christian Sandmann

Plugin

Description

Astronomy brings the sun and the moon to every watchface and app on your Pebble. It is a phone-side plugin: install it once, and any face that supports plugins can show sunrise, sunset or the moon phase – no internet connection, no account, no API key.

WHAT IT PROVIDES
The sun (category "astronomy", item "sun"):
• sunrise, sunset and solar noon for today
• civil dawn and dusk (twilight)
• the next sunrise and the next sunset
• day length and whether the sun is up right now
• the sun's altitude, azimuth (with compass direction) and hour angle
• sunrise and sunset for the coming seven days

The moon (item "moon"):
• moonrise and moonset, the next moonrise and moonset
• the moon phase as a number, a short and a long name, and as a picture (drawn for your hemisphere)
• illumination in percent and the moon's age in days
• the next new moon and the next full moon
• the moon's altitude, azimuth and hour angle

FOR YOUR PLACES
You get one set of values for each of your weather locations in the Pebble app, or for your current position. If the phone has no position fix for a while, the last known one is used – the sun and moon hardly move with a few kilometres.

ACCURATE AND TIME-ZONE-PROOF
Everything is computed on your phone with established astronomical formulas (sun and moon after Meeus, the moon with parallax for your position). Checked against the reference library PyEphem for eight places and seasons from the Arctic to Sydney: rise and set times agree within a minute, positions within a tenth of a degree. All moments are delivered as exact timestamps, so faces show them correctly in any time zone, also after daylight saving changes. "Today" is the solar day around now, so polar day and polar night are handled too.

LANGUAGES
Phase names in English, German, French, Spanish, Italian and Portuguese, following your Pebble app's language.

FOR DEVELOPERS
Sources astronomy/sun and astronomy/moon, one instance per weather location (same instance ids as weather/location). Shapes: timestamp, numericValue, shortText, longText, boolean, icon/image and daily series. Permission: Location.

Used by the watchface Perpetual III. Made with Claude.
  • DeveloperChristian Sandmann
  • CategoryOther
  • PlatformsOG Pebble, Steel, Time/Time Steel, Time Round, 2, 2 Duo, Time 2 (scaled), Round 2 (scaled)
  • PermissionsRequired
    • Use your location
  • Updated2026-11-14
  • Version1.0.0