Watch Face
S (sunrise/sunset, movebar in time, and date)
开发者 jerry123 · v2.3.1
评分
4.7
评论
6
下载量
1,000
价格
免费
介绍
This is a simple watchface I built for myself, for my Enduro 3, to be exactly how I want it as efficiently as possible. I haven't tested it on any other devices. Hopefully it still works on others, but it's provided as-is although I am open to suggestions/feedback. It's inspired by the Vega watchface by TitanicTurtle ( https://apps.garmin.com/apps/2d17e54d-e6ca-4ffb-a2cb-844762cfea8e ), but optimized to only do what I want, how I want it. If you want other features I recommend using that watchface, because I don't plan to make any major changes to this one. Features: * 24 hour time only * The time fills with red to display the move bar. On older devices that don't support clipping regions, the time always uses 2 digits for the hour so there are always enough digits for each movebar step, and the movebar steps are shown by making characters from left to right red. * Time font uses built-in vector font to fill Enduro 3 screen, with fallback to the largest default font on the device * The time of the soonest upcoming sunrise or sunset is displayed above the time --* The sunrise and sunset time is updated as infrequently as possible and the string is only updated when the new values are retrieved or at sunrise or sunset --* Sunrise and sunset time for the current day and sunrise for tomorrow is retrieved on startup --* Sunrise time is in yellow, sunset time is in orange * The current date is displayed below the time, formatted like "Fri Dec 6" with the day of the week in blue and the date in green * Tiny file size - for the Enduro 3 it's less than 10KB * Minimal battery usage - I see about 0.15% used per hour, but that's average and includes activities. The lowest I've seen after about a day of use with no activities, and during sleep, was 0.075% per hour. Measured with https://apps.garmin.com/apps/a9c9b981-1f4c-4399-a270-7d6c7317893e --* Further optimizations have been made since this measurement, so I'm sure it's even better now. I'm not going to check though. * Supports all devices down to the original Epix with API level 1.2.0 ( https://developer.garmin.com/connect-iq/compatible-devices/ ) * Optimized with prettier monkeyc ( https://github.com/markw65/prettier-extension-monkeyc ) for maximum efficiency. * Open source! Remaining todo list: * Release updates as new SDK versions get released
更新内容
2026-05-05, 2.3.1: Build with SDK 9.1.0 and new devices 2025-10-10, 2.3.0: Remove touch screen features 2025-09-28, 2.2.9: Rebuild with SDK 8.3 and new devices 2025-06-26, 2.2.8: Rebuild with SDK 8.2.1 with new devices 2025-05-21, 2.2.7: Rebuild for new devices 2025-04-02, 2.2.6: Rebuild with SDK 8.1.1 and new devices and configs 2025-03-04, 2.2.5: Rebuild with SDK 8.1.0 and new devices and configs 2025-02-20, 2.2.4: Rebuild with latest device configs 2025-01-10: Improve sun time retrieval algorithm 2025-01-09: Improve clipping region math, use weather api for sun times after profiler showed it to be faster than complication api 2025-01-08: Further optimizations to take advantage of style constant values 2025-01-07: Inline function, improve screen layout 2025-01-03: Fix crash on venu mercedez and d2 air 2024-12-19, 2024-12-18: Use the prettier monkey c extension to optimize code 2024-12-13: Reduce string concatenation. V2.0: Support all devices. Older devices that don't have the Complications API will fall back to the Weather and Position API, older devices without the weather API won't display the sunrise/sunset time at all. Old devices that don't support setting clipping regions fall back to changing digits of the time from white to red as the move bar fills 2024-12-12: Attempt to use Position and Weather to get tomorrow's sunrise time (after sunset), but fall back to simply adding a day to today's sunrise time if it fails 2024-12-11: Fix sun time position on epix pro, improve initialization function. Changes based on profiling: No longer use storage since it's so slow compared to just re-retrieving everything 2024-12-10: Minor memory optimizations, use string concatenation instead of Lang.format() 2024-12-09: Update minimum API level to 4.2.0 since I use https://developer.garmin.com/connect-iq/api-docs/Toybox/Complications.html to get the sunrise time, as well as some medium-sized optimizations 2024-12-06: minor optimizations 2024-12-06: Optimized calculation of sunrise time for the following day, after sunset. Reinstall watchface to clear storage. 2024-12-06: Initial release
评测
评测文章即将上线。