Commit Graph

1914 Commits

Author SHA1 Message Date
a5fcde118e Merge branches 'stephan242-inactivity-countdown-when-le-never' and 'stephan242-off-by-one' 2026-04-08 04:42:48 +00:00
546097dc94 fix: Handle inactivity timeout better in case LE is Never 2026-04-04 23:38:44 +01:00
e0a429aabe fix(settings_face): Off by one if Low Energy Mode forbidden 2026-04-04 22:29:00 +01:00
5fa9b7bd24 Merge pull request #196 from stephan242/sun-before-DST-change
fix: sunrise/set before DST change
2026-04-04 19:22:58 +00:00
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
cb58dea276 Merge pull request #193 from davidegirardi/fix-buzzer-cb-start
Fix calling start callback
2026-04-04 10:35:48 -04:00
ba9f41f963 Fix calling start callback 2026-04-04 16:07:03 +02:00
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
fd504d03dc Merge pull request #108 from mkende/tide_face
Add a tide computation watch face.
2026-04-01 16:41:37 -04:00
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
1f8e96c3fe Merge branch 'main' into tide_face 2026-04-01 16:40:57 -04:00
73d1e1d879 Merge pull request #178 from redraw/fix/simulator-watch-rtc-counter
Improved simulator watch RTC counter precision
2026-03-19 21:59:24 +00:00
1680b66410 Merge pull request #187 from sepi/local-solar-time
Add Local solar time watch face
2026-03-14 10:03:57 -04:00
b31a69d72b Merge branch 'main' into local-solar-time 2026-03-14 09:59:32 -04:00
1243c57dcc Remove solar_time_face from watch_faces array 2026-03-14 09:58:25 -04:00
9822502e1d Merge pull request #186 from tahnok/tomato_face_upgrade
port tomato face to second_movement
2026-03-14 08:58:15 -04:00
67f63872f8 don't resign from tomato time if timer is running 2026-03-07 16:53:48 -05:00
0247ef43a9 fix timezone / unix time conversion bug 2026-03-07 16:53:35 -05:00
14d0ba73e0 Better support for custom display 2026-03-04 14:55:32 +01:00
eba8b7953e Revert more config 2026-03-04 14:24:27 +01:00
c2cead4e3b Support custom display 2026-03-04 13:33:43 +01:00
0d6be495ef Rollback config 2026-03-04 13:33:26 +01:00
1a33ae88f7 Move complications/local_solar_time_face -> clock/solar_time_face 2026-03-04 12:34:23 +01:00
7d3a217d91 port tomato face to second_movement 2026-02-27 20:36:32 -05:00
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
aba0aa97ec don't jump missed ticks, forgot callbacks 2026-01-22 23:55:55 -03:00
22293ed693 jump counter forward when tab resumes from background 2026-01-22 17:39:33 -03:00
d653cf6921 renamed counter_interval to rtc_enabled 2026-01-22 13:18:18 -03:00
a3664b0789 update simulator rtc counter improvements to match real hardware 2026-01-22 12:33:34 -03:00
7d4a80a29d fixed simulator watch rtc counter 2026-01-21 14:32:16 -03:00
84c119559d Merge pull request #65 from alesgenova/rtc-counter32
Make movement use the hardware RTC in COUNTER32 mode and other improvements
2026-01-03 09:37:59 +08:00
f6fad64eeb don't force-reset the state of the RTC when rebooting 2026-01-02 20:07:56 -05:00
e353d4760f disable REALLY_LONG_UP event for now 2026-01-02 20:07:56 -05:00
51ca839f3b Removed all of the compiler warnings 2026-01-02 20:07:56 -05:00
994c12cc30 add REALLY_LONG_PRESS event after a button is held down for 1.5s 2026-01-02 20:07:56 -05:00
e8750713f8 Renamed LIS2DW_FIFO_TIMEOUT_SECOND to LIS2DW_FIFO_TIMEOUT 2026-01-02 20:07:56 -05:00
757f1a1de7 defined LIS2DW_FIFO_TIMEOUT_SECOND 2026-01-02 20:07:56 -05:00
625e920970 lis2dw_read_fifo(&fifo, 100 / DISPLAY_FREQUENCY)) 2026-01-02 20:07:56 -05:00
19f789e428 Made the timeout for lis2dw_read_fifo a variable 2026-01-02 20:07:56 -05:00
c6c97556ac Added FIFO timeout to LIS2DW 2026-01-02 20:07:56 -05:00
c45fed8ea9 Got rid of fallthrough warnings 2026-01-02 20:07:56 -05:00
c6270444f0 Typo fix 2026-01-02 20:07:56 -05:00
fe4541d4ee fix compilation warnings in rtccount_face 2026-01-02 20:07:56 -05:00
b3c8f0f87a add missing copyright headers 2026-01-02 20:07:56 -05:00
8d551d26af Revert "Added print for LIS2DW interrupt"
This reverts commit 0105fee2f176b38e51cd1da8118481b82bdb35ed.
2026-01-02 20:07:56 -05:00
372992e259 Added print for LIS2DW interrupt 2026-01-02 20:07:56 -05:00
359bf0df69 Saw double-taps getting missed with latched LIR so moving back to pulsed 2026-01-02 20:07:56 -05:00
dd054efe8d Added LIR latching on LIS2DW 2026-01-02 20:07:56 -05:00
c5fe350fa1 Explicitly set interrupt type to latched 2026-01-02 20:07:56 -05:00
7526b30b3d talk to accelerometer in the app loop rather than interrupt routine 2026-01-02 20:07:56 -05:00