]> git.earman.xyz Git - sensor-watch.git/log
sensor-watch.git
6 weeks agoSet some defaults
rush [Fri, 26 Jun 2026 19:57:02 +0000 (15:57 -0400)]
Set some defaults

2 months agoMerge pull request #217 from voloved/fix/moon-is_southern_hemisphere
voloved [Sat, 6 Jun 2026 21:44:46 +0000 (17:44 -0400)]
Merge pull request #217 from voloved/fix/moon-is_southern_hemisphere

location.bit.latitude  needs to be recast as an int16_t

2 months agolocation.bit.latitude needs to be recast as an int16_t
David Volovskiy [Sat, 6 Jun 2026 21:39:16 +0000 (17:39 -0400)]
location.bit.latitude  needs to be recast as an int16_t

2 months agoMerge pull request #201 from sarasopodo/fix/moon-phase-southern-hemisphere
voloved [Sat, 6 Jun 2026 20:29:26 +0000 (16:29 -0400)]
Merge pull request #201 from sarasopodo/fix/moon-phase-southern-hemisphere

fix: moon-phase display and quarter labels for southern hemisphere

2 months agoOnly update the hemisphere if the load didn't fail
David Volovskiy [Sat, 6 Jun 2026 20:23:21 +0000 (16:23 -0400)]
Only update the hemisphere if the load didn't fail

2 months agoAdded southern_hemisphere to moon_phase_state_t
David Volovskiy [Sat, 6 Jun 2026 20:19:54 +0000 (16:19 -0400)]
Added southern_hemisphere to moon_phase_state_t

2 months agoHemisphere uses filesystem
voloved [Sat, 6 Jun 2026 18:01:12 +0000 (14:01 -0400)]
Hemisphere uses filesystem

2 months agoMerge pull request #209 from paul-ri/countdown-disable_double_tap
voloved [Fri, 5 Jun 2026 11:51:21 +0000 (07:51 -0400)]
Merge pull request #209 from paul-ri/countdown-disable_double_tap

Countdown: Disable double tap

2 months agoMerge pull request #210 from chadnorvell/flake-python3
voloved [Fri, 5 Jun 2026 11:44:38 +0000 (07:44 -0400)]
Merge pull request #210 from chadnorvell/flake-python3

flake.nix: Add python313

2 months agoMerge pull request #214 from timdoug/fix-finetune-ppm-display
voloved [Fri, 5 Jun 2026 11:44:29 +0000 (07:44 -0400)]
Merge pull request #214 from timdoug/fix-finetune-ppm-display

Fix ppm fractional display on finetune Frq page

2 months agoMerge pull request #211 from Niehztog/fix_days_since_timezone_offset
voloved [Fri, 5 Jun 2026 11:42:52 +0000 (07:42 -0400)]
Merge pull request #211 from Niehztog/fix_days_since_timezone_offset

days_since_face: Replace calls to watch_rtc_get_date_time() with movement_get_local_date_time() to make the face "timezone aware"

2 months agoMerge pull request #216 from voloved/settings-less-blinking
voloved [Fri, 5 Jun 2026 11:40:27 +0000 (07:40 -0400)]
Merge pull request #216 from voloved/settings-less-blinking

Settings display no longer clears every second as it shows a flicker on some watches

2 months agoSettings display no longer clears every second as it shows a flicker on some watches
David Volovskiy [Sun, 31 May 2026 11:56:42 +0000 (07:56 -0400)]
Settings display no longer clears every second as it shows a flicker on some watches

2 months agoFix ppm fractional display on finetune Frq page
Tim Douglas [Wed, 27 May 2026 03:05:58 +0000 (23:05 -0400)]
Fix ppm fractional display on finetune Frq page

The Frq page used remainderf to extract the fractional part of the
correction value, but remainderf rounds to the nearest integer and
returns negative results when the fraction exceeds 0.5. This caused
values like 0.965 ppm to render as " 0-350" instead of " 09650".
Switch to fmodf, matching the DELtA page above.

3 months agodays_since_face: Replace all three calls to watch_rtc_get_date_time() with movement_g...
Niehztog [Thu, 14 May 2026 11:05:45 +0000 (13:05 +0200)]
days_since_face: Replace all three calls to watch_rtc_get_date_time() with movement_get_local_date_time() to make the face "timezone aware"

3 months agoflake.nix: Add python313
Chad Norvell [Tue, 28 Apr 2026 23:35:18 +0000 (16:35 -0700)]
flake.nix: Add python313

Python is needed to run uf2conv, so the final build step will fail
without it. Most folks will have a global Python to fall back to, but
this change fixes the build for those who don't, and makes the Nix
environment more complete.

3 months agocountdown:Disable double tap detection
Paul Riou [Sun, 26 Apr 2026 12:13:28 +0000 (13:13 +0100)]
countdown:Disable double tap detection

With double tap enabled, one had to tap not too fast on
the watch to increment the minutes regularly. Otherwise,
some taps would be discarded.
This made using the countdown face without looking at the
screen for acknowledgement of taps impossible.
It was also impossible to increment minutes quickly, every second tap
would be discarded.

3 months agomovement:Allow disabling double tap detection in movement_enable_tap_detection_if_ava...
Paul Riou [Sun, 26 Apr 2026 12:12:42 +0000 (13:12 +0100)]
movement:Allow disabling double tap detection in movement_enable_tap_detection_if_available

We will want to disable it in the countdown face.

3 months agomoon-phase: fix display and quarter labels for southern hemisphere
sarasopodo [Wed, 22 Apr 2026 05:41:04 +0000 (02:41 -0300)]
moon-phase: fix display and quarter labels for southern hemisphere

3 months agoMerge pull request #194 from davidegirardi/fix-signal-advanced-timer
voloved [Thu, 16 Apr 2026 16:23:06 +0000 (12:23 -0400)]
Merge pull request #194 from davidegirardi/fix-signal-advanced-timer

Fix timer setting bell indicator on other faces on loop

3 months agoMerge pull request #207 from voloved/tide-cleanup
voloved [Thu, 16 Apr 2026 15:19:41 +0000 (11:19 -0400)]
Merge pull request #207 from voloved/tide-cleanup

Warning Cleanups After Recent Merges

3 months agoMade enums on tide face follow other faces
David Volovskiy [Thu, 16 Apr 2026 15:06:05 +0000 (11:06 -0400)]
Made enums on tide face follow other faces

3 months agoFixed build warnings
David Volovskiy [Thu, 16 Apr 2026 15:01:48 +0000 (11:01 -0400)]
Fixed build warnings

4 months agoMerge pull request #198 from stephan242/timezone-fully-automatic
atax1a [Wed, 8 Apr 2026 04:59:06 +0000 (04:59 +0000)]
Merge pull request #198 from stephan242/timezone-fully-automatic

fix(documentation): Time Zones now DST aware

4 months agoMerge pull request #113 from mkende/countdown_indicator
atax1a [Wed, 8 Apr 2026 04:50:29 +0000 (04:50 +0000)]
Merge pull request #113 from mkende/countdown_indicator

Repeating countdown: use the looped arrows indicator instead of the bell one on the custom LCD

4 months agoMerge pull request #176 from eiriksm/patch-3
atax1a [Wed, 8 Apr 2026 04:44:02 +0000 (04:44 +0000)]
Merge pull request #176 from eiriksm/patch-3

Indicate more stability in readme

4 months agoMerge branches 'stephan242-inactivity-countdown-when-le-never' and 'stephan242-off...
Alex Maestas [Wed, 8 Apr 2026 04:42:48 +0000 (04:42 +0000)]
Merge branches 'stephan242-inactivity-countdown-when-le-never' and 'stephan242-off-by-one'

4 months agofix: Handle inactivity timeout better in case LE is Never
Stephan [Sat, 4 Apr 2026 22:38:44 +0000 (23:38 +0100)]
fix: Handle inactivity timeout better in case LE is Never

4 months agofix(documentation): Time Zones now DST aware
Stephan [Sat, 4 Apr 2026 21:48:43 +0000 (22:48 +0100)]
fix(documentation): Time Zones now DST aware

4 months agofix(settings_face): Off by one if Low Energy Mode forbidden
Stephan [Sat, 4 Apr 2026 21:29:00 +0000 (22:29 +0100)]
fix(settings_face): Off by one if Low Energy Mode forbidden

4 months agoMerge pull request #196 from stephan242/sun-before-DST-change
atax1a [Sat, 4 Apr 2026 19:22:58 +0000 (19:22 +0000)]
Merge pull request #196 from stephan242/sun-before-DST-change

fix: sunrise/set before DST change

4 months agofix: sunrise/set before DST change
Stephan [Sun, 29 Mar 2026 23:52:55 +0000 (00:52 +0100)]
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.

4 months agoFix setting bell indicator on other faces on loop
davidegirardi [Sat, 4 Apr 2026 17:14:00 +0000 (19:14 +0200)]
Fix setting bell indicator on other faces on loop

4 months agoMerge pull request #193 from davidegirardi/fix-buzzer-cb-start
voloved [Sat, 4 Apr 2026 14:35:48 +0000 (10:35 -0400)]
Merge pull request #193 from davidegirardi/fix-buzzer-cb-start

Fix calling start callback

4 months agoFix calling start callback
davidegirardi [Sat, 4 Apr 2026 14:07:03 +0000 (16:07 +0200)]
Fix calling start callback

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 agoIndicate more stability in readme
Eirik Stanghelle Morland [Sun, 4 Jan 2026 12:16:10 +0000 (13:16 +0100)]
Indicate more stability in readme

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