InfiniTimeOrg / InfiniTime

Firmware for Pinetime smartwatch written in C++ and based on FreeRTOS
GNU General Public License v3.0
2.69k stars 921 forks source link

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

Open rjrosati opened 2 years ago

rjrosati commented 2 years ago

Verification

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:

Avamander commented 2 years ago

This could be done relatively easily, needs a thought-out and compact data format for each of the different events. Unless someone beats me to it, it'll have to wait in my backlog though, there are other Weather things to finish first.