]> git.earman.xyz Git - sensor-watch.git/log
sensor-watch.git
4 months agoMerge pull request #107 from mkende/safe_totp
voloved [Wed, 1 Apr 2026 20:42:04 +0000 (16:42 -0400)]
Merge pull request #107 from mkende/safe_totp

Allow to pass secrets to totp_face through a separate (ignored) header.

4 months agoMerge pull request #108 from mkende/tide_face
voloved [Wed, 1 Apr 2026 20:41:37 +0000 (16:41 -0400)]
Merge pull request #108 from mkende/tide_face

Add a tide computation watch face.

4 months agoMerge pull request #109 from mkende/otp_label
voloved [Wed, 1 Apr 2026 20:41:24 +0000 (16:41 -0400)]
Merge pull request #109 from mkende/otp_label

Allow to use 3 character long labels in the totp face.

4 months agoMerge branch 'main' into tide_face
voloved [Wed, 1 Apr 2026 20:40:57 +0000 (16:40 -0400)]
Merge branch 'main' into tide_face

4 months agoMerge pull request #178 from redraw/fix/simulator-watch-rtc-counter
atax1a [Thu, 19 Mar 2026 21:59:24 +0000 (21:59 +0000)]
Merge pull request #178 from redraw/fix/simulator-watch-rtc-counter

Improved simulator watch RTC counter precision

5 months agoMerge pull request #187 from sepi/local-solar-time
voloved [Sat, 14 Mar 2026 14:03:57 +0000 (10:03 -0400)]
Merge pull request #187 from sepi/local-solar-time

Add Local solar time watch face

5 months agoMerge branch 'main' into local-solar-time
voloved [Sat, 14 Mar 2026 13:59:32 +0000 (09:59 -0400)]
Merge branch 'main' into local-solar-time

5 months agoRemove solar_time_face from watch_faces array
voloved [Sat, 14 Mar 2026 13:58:25 +0000 (09:58 -0400)]
Remove solar_time_face from watch_faces array

5 months agoMerge pull request #186 from tahnok/tomato_face_upgrade
voloved [Sat, 14 Mar 2026 12:58:15 +0000 (08:58 -0400)]
Merge pull request #186 from tahnok/tomato_face_upgrade

port tomato face to second_movement

5 months agodon't resign from tomato time if timer is running
Wesley Ellis [Sat, 7 Mar 2026 21:53:48 +0000 (16:53 -0500)]
don't resign from tomato time if timer is running

5 months agofix timezone / unix time conversion bug
Wesley Ellis [Sat, 7 Mar 2026 21:53:35 +0000 (16:53 -0500)]
fix timezone / unix time conversion bug

5 months agoBetter support for custom display
Raffael Mancini [Wed, 4 Mar 2026 13:55:32 +0000 (14:55 +0100)]
Better support for custom display

5 months agoRevert more config
Raffael Mancini [Wed, 4 Mar 2026 13:24:27 +0000 (14:24 +0100)]
Revert more config

5 months agoSupport custom display
Raffael Mancini [Wed, 4 Mar 2026 12:33:43 +0000 (13:33 +0100)]
Support custom display

5 months agoRollback config
Raffael Mancini [Wed, 4 Mar 2026 12:33:26 +0000 (13:33 +0100)]
Rollback config

5 months agoMove complications/local_solar_time_face -> clock/solar_time_face
Raffael Mancini [Wed, 4 Mar 2026 11:34:23 +0000 (12:34 +0100)]
Move complications/local_solar_time_face -> clock/solar_time_face

5 months agoport tomato face to second_movement
Wesley Ellis [Sat, 28 Feb 2026 01:36:32 +0000 (20:36 -0500)]
port tomato face to second_movement

5 months agoImplement local solar time face
Raffael Mancini [Sat, 21 Feb 2026 17:06:19 +0000 (18:06 +0100)]
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.

6 months agodon't jump missed ticks, forgot callbacks
redraw [Fri, 23 Jan 2026 02:55:55 +0000 (23:55 -0300)]
don't jump missed ticks, forgot callbacks

6 months agojump counter forward when tab resumes from background
redraw [Thu, 22 Jan 2026 20:31:01 +0000 (17:31 -0300)]
jump counter forward when tab resumes from background

6 months agorenamed counter_interval to rtc_enabled
redraw [Thu, 22 Jan 2026 16:18:18 +0000 (13:18 -0300)]
renamed counter_interval to rtc_enabled

6 months agoupdate simulator rtc counter improvements to match real hardware
redraw [Thu, 22 Jan 2026 13:29:52 +0000 (10:29 -0300)]
update simulator rtc counter improvements to match real hardware

6 months agofixed simulator watch rtc counter
redraw [Wed, 21 Jan 2026 16:52:15 +0000 (13:52 -0300)]
fixed simulator watch rtc counter

7 months agoMerge pull request #65 from alesgenova/rtc-counter32
Joey Castillo [Sat, 3 Jan 2026 01:37:59 +0000 (09:37 +0800)]
Merge pull request #65 from alesgenova/rtc-counter32

Make movement use the hardware RTC in COUNTER32 mode and other improvements

7 months agodon't force-reset the state of the RTC when rebooting
Alessandro Genova [Mon, 8 Dec 2025 02:09:39 +0000 (21:09 -0500)]
don't force-reset the state of the RTC when rebooting

7 months agodisable REALLY_LONG_UP event for now
Alessandro Genova [Wed, 26 Nov 2025 18:23:42 +0000 (13:23 -0500)]
disable REALLY_LONG_UP event for now

7 months agoRemoved all of the compiler warnings
David Volovskiy [Sun, 23 Nov 2025 17:27:00 +0000 (12:27 -0500)]
Removed all of the compiler warnings

7 months agoadd REALLY_LONG_PRESS event after a button is held down for 1.5s
Alessandro Genova [Wed, 8 Oct 2025 02:26:24 +0000 (22:26 -0400)]
add REALLY_LONG_PRESS event after a button is held down for 1.5s

7 months agoRenamed LIS2DW_FIFO_TIMEOUT_SECOND to LIS2DW_FIFO_TIMEOUT
David Volovskiy [Thu, 13 Nov 2025 13:19:22 +0000 (08:19 -0500)]
Renamed LIS2DW_FIFO_TIMEOUT_SECOND to LIS2DW_FIFO_TIMEOUT

7 months agodefined LIS2DW_FIFO_TIMEOUT_SECOND
David Volovskiy [Wed, 8 Oct 2025 21:48:34 +0000 (17:48 -0400)]
defined LIS2DW_FIFO_TIMEOUT_SECOND

7 months agolis2dw_read_fifo(&fifo, 100 / DISPLAY_FREQUENCY))
David Volovskiy [Wed, 8 Oct 2025 00:39:58 +0000 (20:39 -0400)]
lis2dw_read_fifo(&fifo, 100 / DISPLAY_FREQUENCY))

7 months agoMade the timeout for lis2dw_read_fifo a variable
David Volovskiy [Tue, 7 Oct 2025 12:07:02 +0000 (08:07 -0400)]
Made the timeout for lis2dw_read_fifo a variable

7 months agoAdded FIFO timeout to LIS2DW
David Volovskiy [Tue, 7 Oct 2025 11:23:26 +0000 (07:23 -0400)]
Added FIFO timeout to LIS2DW

7 months agoGot rid of fallthrough warnings
David Volovskiy [Sat, 6 Sep 2025 15:49:00 +0000 (11:49 -0400)]
Got rid of fallthrough warnings

7 months agoTypo fix
David Volovskiy [Sat, 6 Sep 2025 15:45:46 +0000 (11:45 -0400)]
Typo fix

7 months agofix compilation warnings in rtccount_face
Alessandro Genova [Sat, 22 Nov 2025 02:02:07 +0000 (21:02 -0500)]
fix compilation warnings in rtccount_face

7 months agoadd missing copyright headers
Alessandro Genova [Sat, 22 Nov 2025 01:55:11 +0000 (20:55 -0500)]
add missing copyright headers

7 months agoRevert "Added print for LIS2DW interrupt"
David Volovskiy [Wed, 19 Nov 2025 13:08:01 +0000 (08:08 -0500)]
Revert "Added print for LIS2DW interrupt"

This reverts commit 0105fee2f176b38e51cd1da8118481b82bdb35ed.

7 months agoAdded print for LIS2DW interrupt
David Volovskiy [Wed, 19 Nov 2025 13:06:59 +0000 (08:06 -0500)]
Added print for LIS2DW interrupt

7 months agoSaw double-taps getting missed with latched LIR so moving back to pulsed
David Volovskiy [Sun, 16 Nov 2025 21:06:08 +0000 (16:06 -0500)]
Saw double-taps getting missed with latched LIR so moving back to pulsed

7 months agoAdded LIR latching on LIS2DW
David Volovskiy [Sun, 16 Nov 2025 21:05:22 +0000 (16:05 -0500)]
Added LIR latching on LIS2DW

7 months agoExplicitly set interrupt type to latched
David Volovskiy [Sun, 16 Nov 2025 15:15:46 +0000 (10:15 -0500)]
Explicitly set interrupt type to latched

7 months agotalk to accelerometer in the app loop rather than interrupt routine
Alessandro Genova [Mon, 27 Oct 2025 04:22:14 +0000 (00:22 -0400)]
talk to accelerometer in the app loop rather than interrupt routine

7 months agofix slow default alarm tune
Alessandro Genova [Mon, 20 Oct 2025 01:11:33 +0000 (21:11 -0400)]
fix slow default alarm tune

7 months agoensure a button up event is always emitted
Alessandro Genova [Sun, 19 Oct 2025 03:23:43 +0000 (23:23 -0400)]
ensure a button up event is always emitted

7 months agoadd fast_stopwatch_face to default, and remove rtccount_face
Alessandro Genova [Sun, 19 Oct 2025 02:53:12 +0000 (22:53 -0400)]
add fast_stopwatch_face to default, and remove rtccount_face

7 months agoEvents that follow a down event on the previous face should not be forwarded to the...
Alessandro Genova [Tue, 16 Sep 2025 03:42:31 +0000 (23:42 -0400)]
Events that follow a down event on the previous face should not be forwarded to the new face

7 months agouse __builtin_ctz when processing pending events
Alessandro Genova [Sat, 13 Sep 2025 01:41:59 +0000 (21:41 -0400)]
use __builtin_ctz when processing pending events

7 months agoimmediately process events when coming out of deep sleep
Alessandro Genova [Sat, 13 Sep 2025 01:26:02 +0000 (21:26 -0400)]
immediately process events when coming out of deep sleep

7 months agofix instant light not turning off after a long press
Alessandro Genova [Sat, 13 Sep 2025 01:20:05 +0000 (21:20 -0400)]
fix instant light not turning off after a long press

7 months agoAllow users to set independent buzzer volume for signal/alarm
Alessandro Genova [Sun, 31 Aug 2025 03:46:34 +0000 (23:46 -0400)]
Allow users to set independent buzzer volume for signal/alarm

7 months agoAdd a slow display refresh mode to fast_stopwatch
Alessandro Genova [Wed, 27 Aug 2025 03:56:50 +0000 (23:56 -0400)]
Add a slow display refresh mode to fast_stopwatch

7 months agoMore efficient display draw for fast_stopwatch_face
Alessandro Genova [Wed, 27 Aug 2025 03:37:53 +0000 (23:37 -0400)]
More efficient display draw for fast_stopwatch_face

7 months agoRemove a few unnecessary date_time to timestamp conversions
Alessandro Genova [Wed, 27 Aug 2025 02:23:14 +0000 (22:23 -0400)]
Remove a few unnecessary date_time to timestamp conversions

7 months agomake movement_set_local_date_time slightly more efficient
Alessandro Genova [Wed, 27 Aug 2025 02:15:01 +0000 (22:15 -0400)]
make movement_set_local_date_time slightly more efficient

7 months agoConvert from timestamp to date_time once per second at most
Alessandro Genova [Wed, 27 Aug 2025 01:44:00 +0000 (21:44 -0400)]
Convert from timestamp to date_time once per second at most

7 months agoFix bug that was causing notes in a sequence to play too long
Alessandro Genova [Tue, 19 Aug 2025 04:00:51 +0000 (00:00 -0400)]
Fix bug that was causing notes in a sequence to play too long

7 months agoFix faces that relied on watch_buzzer_play_note being blocking
Alessandro Genova [Mon, 18 Aug 2025 03:35:15 +0000 (23:35 -0400)]
Fix faces that relied on watch_buzzer_play_note being blocking

7 months agoImprove watch_tcc to decouple leds and buzzer as much as allowed
Alessandro Genova [Mon, 18 Aug 2025 03:14:25 +0000 (23:14 -0400)]
Improve watch_tcc to decouple leds and buzzer as much as allowed

As a positive side effect, the led will stop emitting the faintiest
of blinks when the buzzer starts playing.

7 months agoMake fast_stopwatch power efficiend by using the new counter32
Alessandro Genova [Sun, 27 Jul 2025 02:31:53 +0000 (22:31 -0400)]
Make fast_stopwatch power efficiend by using the new counter32

7 months agoMinor improvement to movement_force_led_on logic
Alessandro Genova [Sat, 16 Aug 2025 02:50:10 +0000 (22:50 -0400)]
Minor improvement to movement_force_led_on logic

7 months agoAdd an optional implementation of button debounce
Alessandro Genova [Thu, 7 Aug 2025 01:29:44 +0000 (21:29 -0400)]
Add an optional implementation of button debounce

7 months agoFix LED flickering while the buzzer is playing
Alessandro Genova [Sat, 16 Aug 2025 01:34:29 +0000 (21:34 -0400)]
Fix LED flickering while the buzzer is playing

7 months agoFix chirpy to work with rtc-counter32
Alessandro Genova [Fri, 15 Aug 2025 04:54:48 +0000 (00:54 -0400)]
Fix chirpy to work with rtc-counter32

7 months agoPlay an arbitrary stream on the buzzer without blocking
Alessandro Genova [Fri, 15 Aug 2025 04:53:23 +0000 (00:53 -0400)]
Play an arbitrary stream on the buzzer without blocking

7 months agoMake the simulator play beeps a lot more reliably.
Alessandro Genova [Fri, 15 Aug 2025 01:40:02 +0000 (21:40 -0400)]
Make the simulator play beeps a lot more reliably.

7 months agoAdd a face to debug some counter32 metrics
Alessandro Genova [Wed, 13 Aug 2025 02:25:47 +0000 (22:25 -0400)]
Add a face to debug some counter32 metrics

7 months agoAdd more theoretical checks to ensure we don't miss out on any comp timers
Alessandro Genova [Wed, 13 Aug 2025 02:28:17 +0000 (22:28 -0400)]
Add more theoretical checks to ensure we don't miss out on any comp timers

Even without this "fix" the watch seems to be extremely stable and haven't seen
any missed timers over several days test. So this might not actually be needed,
but it should make things even safer.

7 months agoUndo some workarounds implemented to fix race conditions that are no longer needed
Alessandro Genova [Sun, 10 Aug 2025 00:21:10 +0000 (20:21 -0400)]
Undo some workarounds implemented to fix race conditions that are no longer needed

7 months agoPerform as little work as possible in the interrupt callbacks
Alessandro Genova [Sat, 9 Aug 2025 15:47:57 +0000 (11:47 -0400)]
Perform as little work as possible in the interrupt callbacks

7 months agoFix more corner case that could cause the top of minute alarm to stop firing
Alessandro Genova [Fri, 8 Aug 2025 13:19:14 +0000 (09:19 -0400)]
Fix more corner case that could cause the top of minute alarm to stop firing

7 months agoFix corner case that could cause the top of minute alarm to stop firing
Alessandro Genova [Fri, 8 Aug 2025 03:34:13 +0000 (23:34 -0400)]
Fix corner case that could cause the top of minute alarm to stop firing

7 months agoAlign the top of the second with the 1Hz periodic interrupt
Alessandro Genova [Sun, 3 Aug 2025 05:13:19 +0000 (01:13 -0400)]
Align the top of the second with the 1Hz periodic interrupt

7 months agoOptimize finetune and nanosec faces to work with rtc-counter32
Alessandro Genova [Sun, 3 Aug 2025 03:06:45 +0000 (23:06 -0400)]
Optimize finetune and nanosec faces to work with rtc-counter32

7 months agoFix a bug that was causing 10x power usage from boot until the first sound played
Alessandro Genova [Wed, 6 Aug 2025 03:39:47 +0000 (23:39 -0400)]
Fix a bug that was causing 10x power usage from boot until the first sound played

7 months agoMinor fixes to settings faces to work with the new rtc mode
Alessandro Genova [Sun, 27 Jul 2025 01:42:31 +0000 (21:42 -0400)]
Minor fixes to settings faces to work with the new rtc mode

7 months agoInitial seemingly stable version of movement using the RTC COUNTER32 mode
Alessandro Genova [Sun, 27 Jul 2025 01:40:22 +0000 (21:40 -0400)]
Initial seemingly stable version of movement using the RTC COUNTER32 mode

7 months agoMerge pull request #172 from voloved/ping-face
voloved [Sun, 28 Dec 2025 00:24:04 +0000 (19:24 -0500)]
Merge pull request #172 from voloved/ping-face

Ping face

7 months agoFixed clearing paddle on fast press
David Volovskiy [Thu, 25 Dec 2025 14:25:47 +0000 (09:25 -0500)]
Fixed clearing paddle on fast press

7 months agoFirst hit not counted; bugfixes on sound
David Volovskiy [Sun, 21 Dec 2025 18:39:16 +0000 (13:39 -0500)]
First hit not counted; bugfixes on sound

7 months agosound effect on hit
David Volovskiy [Sun, 21 Dec 2025 18:22:43 +0000 (13:22 -0500)]
sound effect on hit

7 months agoWatch's refresh can't handle Fast difficulty
David Volovskiy [Sun, 21 Dec 2025 16:28:40 +0000 (11:28 -0500)]
Watch's refresh can't handle Fast difficulty

7 months agoChanged default difficulty
David Volovskiy [Sun, 21 Dec 2025 16:23:29 +0000 (11:23 -0500)]
Changed default difficulty

7 months agoRemoved time display on ping face
David Volovskiy [Sun, 21 Dec 2025 16:04:31 +0000 (11:04 -0500)]
Removed time display on ping face

7 months agoaccelerometer moving paddle fully out
David Volovskiy [Sun, 21 Dec 2025 15:50:59 +0000 (10:50 -0500)]
accelerometer moving paddle fully out

7 months agoAdding description
David Volovskiy [Sun, 21 Dec 2025 15:50:11 +0000 (10:50 -0500)]
Adding description

7 months agobug fixes to ping face
David Volovskiy [Sun, 21 Dec 2025 15:41:16 +0000 (10:41 -0500)]
bug fixes to ping face

7 months agoBegan adding ping face
David Volovskiy [Sun, 21 Dec 2025 14:03:19 +0000 (09:03 -0500)]
Began adding ping face

8 months agoMerge pull request #169 from voloved/sunrise-wrong-date-fix
voloved [Thu, 4 Dec 2025 13:38:31 +0000 (08:38 -0500)]
Merge pull request #169 from voloved/sunrise-wrong-date-fix

Fix for wrong date being shown on sunrise/sunset complication

8 months agoFix for wrong date being shown on sunrise/sunset complication
David Volovskiy [Thu, 4 Dec 2025 13:33:14 +0000 (08:33 -0500)]
Fix for wrong date being shown on sunrise/sunset complication

8 months agoMerge pull request #167 from voloved/blackjack_face
voloved [Wed, 3 Dec 2025 18:36:26 +0000 (13:36 -0500)]
Merge pull request #167 from voloved/blackjack_face

Fix Win-Lose Ratio and Reset it

8 months agoDoc update on the win-rate reset
David Volovskiy [Wed, 3 Dec 2025 12:55:48 +0000 (07:55 -0500)]
Doc update on the win-rate reset

8 months agoAble to reset the win-lose rate
David Volovskiy [Wed, 3 Dec 2025 12:50:38 +0000 (07:50 -0500)]
Able to reset the win-lose rate

8 months agoFix on typecasting win rate
David Volovskiy [Wed, 3 Dec 2025 12:43:47 +0000 (07:43 -0500)]
Fix on typecasting win rate

8 months agoMerge pull request #165 from voloved/double-tap
voloved [Tue, 2 Dec 2025 01:18:49 +0000 (20:18 -0500)]
Merge pull request #165 from voloved/double-tap

Double tap

8 months agoReapply "Added double-tap capabilities to LIS2DW"
David Volovskiy [Tue, 2 Dec 2025 01:14:54 +0000 (20:14 -0500)]
Reapply "Added double-tap capabilities to LIS2DW"

This reverts commit 3bd1254b5fbb53ce84bddd1fb806da3237a8f245.

8 months agoMerge branch 'main' into double-tap
David Volovskiy [Tue, 2 Dec 2025 01:14:02 +0000 (20:14 -0500)]
Merge branch 'main' into double-tap

8 months agoMerge pull request #164 from joeycastillo/revert-149-double-tap
voloved [Tue, 2 Dec 2025 01:11:52 +0000 (20:11 -0500)]
Merge pull request #164 from joeycastillo/revert-149-double-tap

Revert "Added double-tap capabilities to LIS2DW"

8 months agoWe forgot to enable the actual double tap
David Volovskiy [Tue, 2 Dec 2025 01:11:40 +0000 (20:11 -0500)]
We forgot to enable the actual double tap

8 months agoRevert "Added double-tap capabilities to LIS2DW"
voloved [Tue, 2 Dec 2025 01:09:34 +0000 (20:09 -0500)]
Revert "Added double-tap capabilities to LIS2DW"