InfiniTimeOrg / InfiniTimeOrg/InfiniTime

In addition to weather data, also show sun times, moon times, and tide data

Open
#998 1 comment 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature request
Dominant language
C
Stars
3.4k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

Verification
  • I searched for similar feature request and found none was relevant.
Pitch us your idea!

Let companion apps send sun and tide data, displayed either on a watchface or visible in the weather app

Description

I've had my PineTime about a month but find that I often still end up checking my phone for weather, sunset/sunrise, and tide info.
I know the weather API is a work in progress, but I think it would be great if sun times and tide info could also be sent from the companion app. I think this is a pretty common use case for anyone camping/hiking/surfing/boating/etc.
These could then be optionally displayed on the PTS watch face, or any of the other ones. They should also always be visible somewhere in the weather app.

Sun / moon times can be calculated just by location and altitude, although I propose the companion app do that instead of the watch (A pretty good open-source implementation on Android is https://github.com/forrestguice/SuntimesWidget ). The watch would then just display the next event with a timer.
I suggest showing the next sun / moon time with a counter somewhere on the watch face, something like:

  • 🌅 1:05 (when 1 hr 5 min until sunset)
  • 🌄 1:00 (when 1 hr until sunrise)
  • 🌗 0:30 (when 30 min until moonrise, emoji changing depending on phase of moon. Maybe better to have custom glyphs for moonrise/moonset)
    For the tides, you could have something similar. It doesn't look like there are any high/low tide emojis, but maybe something like
  • 0:30 (when 30 min to high tide)
  • 1:21 (1 hr 21 min to low tide)
  • Alternative: show a mini tide curve with an indicator, something like
    image
    but maybe only a few px high.
    And obviously tides are only relevant near the ocean, so they shouldn't always be displayed.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names the companion app, weather app, and PTS watch face but no files, entry points, or tests. Start by locating the existing weather-data transfer and display paths, then determine how companion-provided sun, moon, and tide data would be represented. Done would require an agreed scope for data delivery, weather-app visibility, and optional watch-face display.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
embedded-iot
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.