Commit Graph

370 Commits

Author SHA1 Message Date
David Volovskiy ab4fcd951d Made enums on tide face follow other faces 2026-04-16 11:06:05 -04:00
David Volovskiy 08f8cb687e Fixed build warnings 2026-04-16 11:01:48 -04:00
atax1a 84b133feee Merge pull request #198 from stephan242/timezone-fully-automatic
fix(documentation): Time Zones now DST aware
2026-04-08 04:59:06 +00:00
atax1a 25e791c302 Merge pull request #113 from mkende/countdown_indicator
Repeating countdown: use the looped arrows indicator instead of the bell one on the custom LCD
2026-04-08 04:50:29 +00:00
Alex Maestas a5fcde118e Merge branches 'stephan242-inactivity-countdown-when-le-never' and 'stephan242-off-by-one' 2026-04-08 04:42:48 +00:00
Stephan c1620e854a fix(documentation): Time Zones now DST aware 2026-04-04 22:48:43 +01:00
Stephan e0a429aabe fix(settings_face): Off by one if Low Energy Mode forbidden 2026-04-04 22:29:00 +01:00
Stephan 8bd07b407c fix: sunrise/set before DST change
The Sunrise and Sunset timezone offset needs to be calculated for the day it's relevant to, since it might experience a timezone  change.
2026-04-04 19:27:35 +01:00
voloved 4f9d7b7219 Merge pull request #107 from mkende/safe_totp
Allow to pass secrets to totp_face through a separate (ignored) header.
2026-04-01 16:42:04 -04:00
voloved fd504d03dc Merge pull request #108 from mkende/tide_face
Add a tide computation watch face.
2026-04-01 16:41:37 -04:00
voloved 422c3c2321 Merge pull request #109 from mkende/otp_label
Allow to use 3 character long labels in the totp face.
2026-04-01 16:41:24 -04:00
voloved 1f8e96c3fe Merge branch 'main' into tide_face 2026-04-01 16:40:57 -04:00
voloved b31a69d72b Merge branch 'main' into local-solar-time 2026-03-14 09:59:32 -04:00
Wesley Ellis 67f63872f8 don't resign from tomato time if timer is running 2026-03-07 16:53:48 -05:00
Wesley Ellis 0247ef43a9 fix timezone / unix time conversion bug 2026-03-07 16:53:35 -05:00
Raffael Mancini 14d0ba73e0 Better support for custom display 2026-03-04 14:55:32 +01:00
Raffael Mancini c2cead4e3b Support custom display 2026-03-04 13:33:43 +01:00
Raffael Mancini 1a33ae88f7 Move complications/local_solar_time_face -> clock/solar_time_face 2026-03-04 12:34:23 +01:00
Wesley Ellis 7d3a217d91 port tomato face to second_movement 2026-02-27 20:36:32 -05:00
Raffael Mancini ff3c8a72fc Implement local solar time face
Full implementation of the local solar time complication using the
pveducation.org formula set (LSTM, B, EoT, TC, LST, HRA). EoT and TC
are cached by day-of-year and recomputed once at midnight rollover.

Three display modes cycle with the Alarm button:
  SO HH:MM:SS  — Local Solar Time
  nO HH:MM     — Solar Noon in local clock time
  Hr ±DDD      — Hour Angle in degrees

Location is read from location.u32 on the filesystem. In the simulator
the browser lat/lon globals are written to location.u32 on activation
if not already set, fixing the "no Loc" issue in the emulator.
2026-02-21 18:06:31 +01:00
David Volovskiy 51ca839f3b Removed all of the compiler warnings 2026-01-02 20:07:56 -05:00
David Volovskiy e8750713f8 Renamed LIS2DW_FIFO_TIMEOUT_SECOND to LIS2DW_FIFO_TIMEOUT 2026-01-02 20:07:56 -05:00
David Volovskiy 757f1a1de7 defined LIS2DW_FIFO_TIMEOUT_SECOND 2026-01-02 20:07:56 -05:00
David Volovskiy 625e920970 lis2dw_read_fifo(&fifo, 100 / DISPLAY_FREQUENCY)) 2026-01-02 20:07:56 -05:00
David Volovskiy 19f789e428 Made the timeout for lis2dw_read_fifo a variable 2026-01-02 20:07:56 -05:00
David Volovskiy c45fed8ea9 Got rid of fallthrough warnings 2026-01-02 20:07:56 -05:00
David Volovskiy c6270444f0 Typo fix 2026-01-02 20:07:56 -05:00
Alessandro Genova fe4541d4ee fix compilation warnings in rtccount_face 2026-01-02 20:07:56 -05:00
Alessandro Genova b3c8f0f87a add missing copyright headers 2026-01-02 20:07:56 -05:00
Alessandro Genova 3ea2f9c58a Allow users to set independent buzzer volume for signal/alarm 2026-01-02 20:07:56 -05:00
Alessandro Genova edd3a5c3b4 Add a slow display refresh mode to fast_stopwatch 2026-01-02 20:07:56 -05:00
Alessandro Genova 7d0f4d1a33 More efficient display draw for fast_stopwatch_face 2026-01-02 20:07:56 -05:00
Alessandro Genova 5293b7983c Remove a few unnecessary date_time to timestamp conversions 2026-01-02 20:07:56 -05:00
Alessandro Genova cb05585c15 Fix faces that relied on watch_buzzer_play_note being blocking 2026-01-02 20:07:56 -05:00
Alessandro Genova 1b9624d042 Make fast_stopwatch power efficiend by using the new counter32 2026-01-02 20:07:56 -05:00
Alessandro Genova 557a785b1a Fix chirpy to work with rtc-counter32 2026-01-02 20:07:56 -05:00
Alessandro Genova a34a266903 Add a face to debug some counter32 metrics 2026-01-02 20:07:44 -05:00
Alessandro Genova e2d13e076e Optimize finetune and nanosec faces to work with rtc-counter32 2026-01-02 20:02:36 -05:00
Alessandro Genova e942f67685 Minor fixes to settings faces to work with the new rtc mode 2026-01-02 20:02:36 -05:00
David Volovskiy cac1f50e8d Fixed clearing paddle on fast press 2025-12-25 09:25:47 -05:00
David Volovskiy 90e99f8957 First hit not counted; bugfixes on sound 2025-12-21 13:39:16 -05:00
David Volovskiy 2c3259b2e3 sound effect on hit 2025-12-21 13:22:43 -05:00
David Volovskiy 4ef85c6f2c Watch's refresh can't handle Fast difficulty 2025-12-21 11:28:40 -05:00
David Volovskiy 2935f0b604 Changed default difficulty 2025-12-21 11:23:29 -05:00
David Volovskiy 66257c5232 Removed time display on ping face 2025-12-21 11:04:31 -05:00
David Volovskiy 6627ff1fbe accelerometer moving paddle fully out 2025-12-21 10:53:50 -05:00
David Volovskiy fe085f81fd Adding description 2025-12-21 10:53:46 -05:00
David Volovskiy d785419912 bug fixes to ping face 2025-12-21 10:53:42 -05:00
David Volovskiy e3239ec47d Began adding ping face 2025-12-21 10:53:36 -05:00
David Volovskiy 802d64cb8e Fix for wrong date being shown on sunrise/sunset complication 2025-12-04 08:33:14 -05:00