249 Commits

Author SHA1 Message Date
TheOnePerson
3c5ac1ee16 alarm-face: fix occasional crash on checking for active alarms, fix 0 vs. 12 h in am/pm mode 2022-11-03 22:32:20 +01:00
Jeremy O'Brien
9d3602220a Add hours support to the countdown face 2022-11-02 12:22:34 -04:00
James Haggerty
b7a461d280
Make the TOTP face use the filesystem for secret storage (#95)
* TOTP using filesystem

* Filesystem: ability to read files line by line
2022-11-01 01:08:05 -05:00
joeycastillo
54495d2d29
Merge pull request #114 from TheOnePerson/alarm-face-indicator-24h
Alarm face: make active alarm indicator show up only when there is an alarm set within the next 24 h
2022-10-31 01:09:13 -05:00
Jeremy O'Brien
0cef0b0ce2 Make countdown face use movement_play_alarm() instead of movement_play_signal() 2022-10-30 20:35:43 -04:00
TheOnePerson
27111c2d51 alarm-face: make indicator show active alarms in 24h time range and implement UI tweak
- switch indicators: use signal indicator instead of bell indicator
- make indicator show up only when there is an active alarm in the next 24 h
- Implement "hidden" UI tweak: extra long press of the alarm button in normal mode jumps back to alarm no. 1
- update comments to reflect latest changes
2022-10-30 09:32:20 +01:00
joeycastillo
09f1d02330
Merge pull request #109 from TheOnePerson/auto-fire-long-press
Make movement auto fire long press event
2022-10-29 18:16:29 -05:00
joeycastillo
501d3f8447 make pulsometer face use new EVENT_ALARM_LONG_UP 2022-10-29 18:09:16 -05:00
James Haggerty
d994ce8b48
Make countdown face reset to 0 (#90)
* Make countdown face reset to 0

It was annoying to have countdowns less than DEFAULT_MINUTES.
Admittedly, this does make DEFAULT_MINUTES fairly useless, since
we only ever see it the first time...

* Undo accidental change to movement_config.h
2022-10-29 17:01:05 -05:00
TheOnePerson
cb678d735a
Merge branch 'main' into auto-fire-long-press 2022-10-26 06:43:47 +02:00
TheOnePerson
cb69a2c181
Add an Alarm face to movement (#96)
* Add movement_play_alarm_beeps() to movement.c and make alarm sounds customizable. Add alarm indicator to simple watch face.

* Add alarm face

* alarm_face: fix problem with disabling alarms for 00:00.

* Fix typos in comments and get rid of of unused variable warning

* remove unnecessary constant

* simple_clock_face: fix disappearing chime indicator after face switch, enable alarm indicator updates in app loop (for one-time alarms).
movement: handle situations where watch is in sleep mode and chimes fire off at the same time as alarms properly.

* alarm_face: tweak process of displaying things on the lcd. Add extra long and extra short alarms. Increase number of alarm slots to 16.

* alarm face: fix alarms playing one beeping round more than set.

* alarm face: add proper quick cycling of hour and minute setting

* alarm-face: correct am/pm indication and some minor tweaks. Reset movement_config.h to current main branch. simple-watch-face: Remove unnecessary check and swap indicators (alarm / hourly chime)

* alarm-face: reverse commit parts from another branch (accidentially commited logic depending on movement firmware auto firing the long press event)

Co-authored-by: joeycastillo <joeycastillo@utexas.edu>
2022-10-25 21:57:53 -05:00
TheOnePerson
6a8269629d alarm-face: correct am/pm indication and implement some minor tweaks. 2022-10-25 21:28:06 +02:00
TheOnePerson
cdd9f737e6 alarm face: adjust quick cycling logic to new movement behavior regarding long press event 2022-10-23 13:08:22 +02:00
Niclas Hoyer
732a1caffe add sailing watch face 2022-10-23 00:27:32 +02:00
David Singleton
dfb928b9d6
Adds a rate meter watchface (#101) 2022-10-18 23:30:05 -05:00
Joey Castillo
95f2f25ee6 implement stubs to make simulator build happy 2022-10-09 22:58:42 -05:00
Joey Castillo
5bb058f585 add watch face for frequency correction and measurement 2022-10-09 22:50:31 -05:00
Jack Bond-Preston
8b3c02ace5
add support for multiple TOTP keys 2022-08-29 01:28:19 +01:00
Joey Castillo
bcd3b66684 Merge branch 'main' of github.com:joeycastillo/Sensor-Watch into lfs 2022-08-02 08:17:26 -06:00
joshber
f120d66a98
Wake Face (#77)
Co-authored-by: Josh Berson <low.note0488@fastmail.com>
2022-07-25 11:57:12 -04:00
Spencer Bywater
6ed757af2b
Adjust probability watch face timeout/LE behavior (#72)
Display SLEEP instead of timing out
2022-05-22 19:42:37 -04:00
Spencer Bywater
96aaa47c8e
Probability watch face (#69)
* Initial work on probability watch face

* Complete probability watch face

* Restore default movement_config

* PR feedback: PR watch face title, use arc4random, clean up warnings

* Use rand instead of arc4random when building on emulator

* Accidentally overwrote movement_config
2022-05-18 11:11:34 -04:00
Joey Castillo
91b436237a fix warning re: buffer overrun 2022-05-09 12:03:24 -04:00
Joey Castillo
cd40573535 Merge branch 'main' of github.com:joeycastillo/Sensor-Watch into motion-express 2022-05-02 18:39:45 -05:00
Joey Castillo
4bc4198cc6 Merge branch 'mars-clock' 2022-04-20 08:25:45 -04:00
Joey Castillo
6e9e264c65 rewrite lis2dh logger for lis2dw 2022-04-10 18:13:22 -04:00
Joey Castillo
35172ce11a world clock: fix glitch when exiting settings mode 2022-04-10 15:18:36 -04:00
Joey Castillo
5cb68923b9 static analysis: use parentheses around binary operators 2022-04-10 14:45:21 -04:00
Joey Castillo
c4de155083 mars clock: formatting 2022-04-06 15:55:06 -04:00
Joey Castillo
cb609389eb mars clock: use S without cross-stroke for clarity 2022-04-06 15:54:31 -04:00
Joey Castillo
8bcd5dfef6 Merge branch 'main' of github.com:joeycastillo/Sensor-Watch into mars-clock 2022-04-06 15:53:32 -04:00
Joey Castillo
5f0ebd8c66 character map tweaks: add some ligatures and symbols 2022-04-06 15:51:06 -04:00
Joey Castillo
81de97d346 Merge branch 'main' into mars-clock 2022-04-06 15:12:03 -04:00
Joey Castillo
4e89d70f99 Merge branch 'main' of github.com:joeycastillo/Sensor-Watch into mars-clock 2022-04-06 14:56:18 -04:00
Joey Castillo
aff07ef9b3 Merge branch 'main' of github.com:joeycastillo/Sensor-Watch into main 2022-04-06 14:33:29 -04:00
Wesley Ellis
1ec1f2e420
Add tomato face: a pomodoro style timer (#61) 2022-04-06 14:33:24 -04:00
Joey Castillo
f7ab99bb69 moon phase: light LED on press like other faces 2022-04-03 15:47:26 -04:00
Joey Castillo
dd3e6c5fc3 time set: fix PM not appearing at noon in 12h mode 2022-04-02 10:12:26 -04:00
Joey Castillo
fa0a424857 thermistor readout: fix change in units when waking from sleep 2022-04-02 10:07:18 -04:00
Joey Castillo
4ebc4e97ce movement: add thermistor testing watch face 2022-04-02 10:07:18 -04:00
Shogo Okamoto
f7e6266872
append counter_face to complication directory. (#58)
* append counter_face to complication directory.

* Remove invalid configurations for faces

* remove faces from main firmware.

Co-authored-by: Shogo Okamoto <shogo.okamoto@gmail.com>
Co-authored-by: joeycastillo <joeycastillo@utexas.edu>
2022-03-20 14:04:30 -04:00
Joey Castillo
3ad093715d mars clock: add support for sols 2022-03-05 09:59:32 -05:00
Joey Castillo
08af2ed398 mars clock: adding additional sites 2022-03-04 16:30:18 -06:00
Joey Castillo
3025984eb5 movement: first pass at mars clock 2022-03-04 16:29:21 -06:00
joeycastillo
ccdf08da87
Movement: Astronomy and Orrery watch faces (#55) 2022-03-04 14:52:49 -06:00
Joey Castillo
ea988208e1 battery monitor: hide signal indicator in sleep 2022-03-03 11:41:48 -06:00
Joey Castillo
f5b6800582 movement: fix hang when using voltage face with temperature log 2022-03-03 10:20:33 -06:00
Joey Castillo
0004c30f42 documentation fix 2022-02-20 15:49:21 -05:00
Joey Castillo
002140e634 documentation fix 2022-02-20 15:29:50 -05:00
Joey Castillo
f5be9755b6 respect countdown length when repeating 2022-02-19 21:19:15 -05:00