Commit graph

  • 949917e3cd bma421: Use the INT_STATUS register to distinguish between gestures peter Peter Cai 2022-06-19 14:16:05 -04:00
  • 9848f0afd7 Move software fallback implementation of wake-on-raise to a separate class Peter Cai 2022-06-18 20:54:58 -04:00
  • c816d1db35 Re-introduce software-based gesture fallback Peter Cai 2022-06-18 11:19:15 -04:00
  • a15cc6697d bma421: Flip all axes Peter Cai 2022-06-18 10:41:42 -04:00
  • 6332f11502 Initial implementation of interrupt-based wrist tilt detection on BMA425 Peter Cai 2022-06-18 10:40:42 -04:00
  • c08eb7c350 bma42x: Set hardware-based axes remapping Peter Cai 2022-06-17 16:44:57 -04:00
  • 3cb60d7705 Initialize accelerometer during system init Peter Cai 2022-06-17 16:27:13 -04:00
  • 40c3928ce1 Disable debugging by default Peter Cai 2022-06-15 21:32:12 -04:00
  • d31165106b Nuke steplogger entirely Peter Cai 2022-06-15 21:29:49 -04:00
  • 04380f9362 Add missing conditionals for raise-to-wake Peter Cai 2022-06-15 15:26:27 -04:00
  • d3846be32d Do not enable Faces by default Peter Cai 2022-06-15 10:24:36 -04:00
  • 0162b306be Remove the dual_clock watch face Peter Cai 2022-06-15 09:54:49 -04:00
  • 0fff5cbb35 Add SleepTk into the software menu Peter Cai 2022-06-14 23:05:48 -04:00
  • e7f53f1d25 SleepTk: Adapt for mainline accel_xyz() impl Peter Cai 2022-06-14 22:42:50 -04:00
  • 978b647cea Disable more apps Peter Cai 2022-06-14 22:41:29 -04:00
  • a7a20608b2 Revert "Remove more unused apps" Peter Cai 2022-06-14 22:30:36 -04:00
  • c8c58f80e1 Build SleepTk Peter Cai 2022-06-14 22:30:29 -04:00
  • 3571e14f81 Add 'external/SleepTk/' from commit '7ce31f74f19b943b43d1f65ad778f68b9820ef38' Peter Cai 2022-06-14 22:20:31 -04:00
  • f38a9391c3 Remove more unused apps Peter Cai 2022-06-14 22:19:48 -04:00
  • 402a02e3aa Remove some unused apps Peter Cai 2022-06-14 22:16:57 -04:00
  • f4ad9fb4cd Disable the step counter app Peter Cai 2022-06-14 18:37:23 -04:00
  • bb8f651481 Improve raise-to-wake algorithm Peter Cai 2022-06-14 18:36:07 -04:00
  • 244230bad9 Add a Raise To Wake feature Ashley Eastwood 2022-06-14 20:06:57 +01:00
  • 5a6dd6124b Add env/ to .gitignore Peter Cai 2022-06-14 15:39:40 -04:00
  • 7ce31f74f1 new: ramp up over 60s instead of 10 thiswillbeyourgithub 2022-06-13 21:06:11 +02:00
  • 9ca0760a3b minor: typo thiswillbeyourgithub 2022-06-13 20:53:51 +02:00
  • c2994a5fa1 docs: mention time to fall asleep thiswillbeyourgithub 2022-06-13 20:53:45 +02:00
  • f5bc059cad feat: ramp up vibration to avoid waking up the gf thiswillbeyourgithub 2022-06-13 20:51:27 +02:00
  • 1a5c552df8 feat: automatically updates hours when minutes is updated thiswillbeyourgithub 2022-06-07 12:42:04 +02:00
  • af59556a65
    Merge pull request #277 from fgaz/beacon Daniel Thompson 2022-05-29 18:33:09 +01:00
  • a527624cfa
    Merge branch 'master' into beacon Daniel Thompson 2022-05-29 17:35:05 +01:00
  • c63c29fe76 fix: by fgaz, thanks! thiswillbeyourgithub 2022-04-12 09:53:23 +02:00
  • e5802839ec new: brightness and color change of flashlight thiswillbeyourgithub 2022-04-11 15:23:26 +02:00
  • 9adeea17bb Allow to set accel sensor orientation Francesco Gazzetta 2022-05-27 23:45:23 +02:00
  • e3168b3b12 Add level app Francesco Gazzetta 2021-11-20 14:27:19 +01:00
  • c47c911fe3 Expose acceleration data Francesco Gazzetta 2021-11-20 14:26:47 +01:00
  • 3de209fa04 new: turn off tracking by default thiswillbeyourgithub 2022-05-28 18:07:57 +02:00
  • 4d4c83e851 Docs and constants for hrs3300.set_drive() Francesco Gazzetta 2022-05-28 16:14:36 +02:00
  • 0cca03a94b Use functions from driver in beacon app Francesco Gazzetta 2022-05-28 16:12:40 +02:00
  • a72285eea3 Add beacon app Francesco Gazzetta 2021-11-20 17:41:34 +01:00
  • fd5d6cbbe8 Make Slider.touch return True when the value changed Francesco Gazzetta 2021-11-20 17:40:52 +01:00
  • 9a1964ce41 Add hrs3300 write_reg and read_reg to simulator Francesco Gazzetta 2021-11-20 17:39:46 +01:00
  • f3516cc755 minor: smaller string thiswillbeyourgithub 2022-05-09 21:21:17 +02:00
  • 09af1440ef docs: explain that Manager.run is not usually run thiswillbeyourgithub 2022-04-14 12:40:42 +02:00
  • 0aa11d9a7f fix: disaBLE app out of sync thiswillbeyourgithub 2022-05-05 14:01:08 +02:00
  • 96ab17075d fix: vibration duty cycle from 50 to 25 thiswillbeyourgithub 2022-05-08 13:55:26 +02:00
  • e0dde35c1b minor: renamed time_to_fall_asleep to minute_to_fall_asleep thiswillbeyourgithub 2022-05-08 13:55:10 +02:00
  • c78c0b12d5 new: gradual wake by default over 10m instead of 15 thiswillbeyourgithub 2022-05-08 13:54:16 +02:00
  • db9350dffc fix: wrong string printed at the end of ringing thiswillbeyourgithub 2022-05-06 18:31:37 +02:00
  • 4201f264a9 fix: properly reload screen after stopping alarm thiswillbeyourgithub 2022-05-06 16:59:31 +02:00
  • fc90854e5c new: write to file when screen has been turned on thiswillbeyourgithub 2022-05-06 16:59:13 +02:00
  • 3990431395 fix: don't turn screen of immediately if interacted less than 5s ago thiswillbeyourgithub 2022-05-04 11:00:12 +02:00
  • b1dccb3126 fix: allow floating point gradual wake thiswillbeyourgithub 2022-05-04 10:59:36 +02:00
  • 5e1a7358b4 set default cycle length back to 90 thiswillbeyourgithub 2022-05-04 10:58:35 +02:00
  • f048c7522e fix: reset values after snoozing thiswillbeyourgithub 2022-04-29 09:11:18 +02:00
  • 4a7330aa6f fix: stop snoozing at stop limit thiswillbeyourgithub 2022-04-29 09:11:07 +02:00
  • 061ab1fe4e set default cycle length to 85 minutes for testing thiswillbeyourgithub 2022-04-28 15:52:34 +02:00
  • dd46d36a40 fix: keep awake when ringing thiswillbeyourgithub 2022-04-28 15:51:58 +02:00
  • b9a5ca7382 Merge branch 'main' of https://github.com/thiswillbeyourgithub/sleep_tracker_pinetime_wasp-os into main thiswillbeyourgithub 2022-04-27 22:10:28 +02:00
  • 45d78a48ce track HR by default every 5 minutes thiswillbeyourgithub 2022-04-27 22:08:49 +02:00
  • 9658416e46 track heart rate for only 10s thiswillbeyourgithub 2022-04-27 22:08:38 +02:00
  • 2b1b69f1b4 autoreboot when downloading files + use tqdm thiswillbeyourgithub 2022-04-27 22:06:43 +02:00
  • 025342dd8f add plotting instructions for heart rate thiswillbeyourgithub 2022-04-27 22:05:44 +02:00
  • 82d1e6ae0b disable gradual wake by default thiswillbeyourgithub 2022-04-27 11:12:01 +02:00
  • 8d951d6c39 fix: don't print sleep duration before user fell asleep thiswillbeyourgithub 2022-04-26 12:23:57 +02:00
  • 901de46037 fix: don't print sleep duration before user fell asleep thiswillbeyourgithub 2022-04-26 12:23:57 +02:00
  • dbd72798f2 fix: forgot to take time to fall asleep into account thiswillbeyourgithub 2022-04-26 12:22:44 +02:00
  • b62875eb5e renamed btn_al to btn_snooz thiswillbeyourgithub 2022-04-25 15:31:12 +02:00
  • c72c7aec7b fix: when snoozing, disable HR tracking thiswillbeyourgithub 2022-04-25 15:29:20 +02:00
  • a05739b856 todo thiswillbeyourgithub 2022-04-25 15:24:23 +02:00
  • f2e5914f30 fix: reset last printed HR when starting tracking thiswillbeyourgithub 2022-04-25 15:11:12 +02:00
  • 78d6a6ce04 docs: warn about bluetooth being turned off and the simulator having a hard time thiswillbeyourgithub 2022-04-25 15:06:19 +02:00
  • e297d37c34 docs: update readme thiswillbeyourgithub 2022-04-25 15:05:58 +02:00
  • 206333dc67 update which commit is important thiswillbeyourgithub 2022-04-25 15:02:26 +02:00
  • 911921784b fix: reduce font for smart alarm button because too large for unmodified waspos thiswillbeyourgithub 2022-04-25 14:29:18 +02:00
  • ae474ea1d9 docs: mention to edit settings and implement relevant commits thiswillbeyourgithub 2022-04-25 14:25:57 +02:00
  • 68914d6505 new: number of sleep cycle goal is now modifiable thiswillbeyourgithub 2022-04-25 14:21:44 +02:00
  • 872907a257 better comment thiswillbeyourgithub 2022-04-25 14:18:10 +02:00
  • d3c8f0bc12 new: default suggested wake up time is user modifiable now thiswillbeyourgithub 2022-04-25 14:17:33 +02:00
  • f7dbc28df7 style: clearer comments for user settings thiswillbeyourgithub 2022-04-25 14:17:15 +02:00
  • 8ec294b48d renamed _offset to _track_start_time thiswillbeyourgithub 2022-04-25 13:53:24 +02:00
  • 6fa24dd9a5 minor: better way to reset draw thiswillbeyourgithub 2022-04-23 19:32:16 +02:00
  • 8fefcaa627 fix: tweaking ticks was a bad idea thiswillbeyourgithub 2022-04-23 19:16:20 +02:00
  • 576a0e7509 feat: auto kill bluetooth while tracking thiswillbeyourgithub 2022-04-23 19:14:17 +02:00
  • 5740be7e0c new: request tick on foreground but disable ticks if not needed anymore thiswillbeyourgithub 2022-04-23 19:01:19 +02:00
  • 767c0a9ed9 minor: call collect when sleeping thiswillbeyourgithub 2022-04-23 19:00:59 +02:00
  • e252c660d0 minor: style thiswillbeyourgithub 2022-04-23 18:36:05 +02:00
  • d577393aba new: enable heart rate tracking by default thiswillbeyourgithub 2022-04-23 18:35:40 +02:00
  • ac336f2736 fix: try to make sure app is on when ticking thiswillbeyourgithub 2022-04-23 17:54:12 +02:00
  • ef9cfe664a fix: handle case where heart rate read is None thiswillbeyourgithub 2022-04-23 17:53:46 +02:00
  • 30fe0c1d9f fix: remove wake() as it is not needed I think thiswillbeyourgithub 2022-04-23 17:53:28 +02:00
  • 158b7d95b3 minor thiswillbeyourgithub 2022-04-23 17:28:41 +02:00
  • 6fea95eafb fix: make HR tracking less memory hungry thiswillbeyourgithub 2022-04-23 17:28:34 +02:00
  • 4964197e41 fix: cancelling alarm when stopping snoozing thiswillbeyourgithub 2022-04-23 16:59:35 +02:00
  • 3aa6a22c83 fix: force screen to be on if user is interacting thiswillbeyourgithub 2022-04-23 16:58:48 +02:00
  • 2f97bfbb96 fix: snooze time was not updated to tracking page thiswillbeyourgithub 2022-04-23 16:26:49 +02:00
  • 576198da21 docs: mention snooze feature thiswillbeyourgithub 2022-04-23 16:24:10 +02:00
  • dbda0488fa docs: reorder items thiswillbeyourgithub 2022-04-23 16:23:59 +02:00
  • 9ed2e9ccd0 new: save space by deleting Smart Alarm if it's not started thiswillbeyourgithub 2022-04-23 16:20:08 +02:00
  • a4f2dfba88 docs: better docstring thiswillbeyourgithub 2022-04-23 16:17:50 +02:00