Commit Graph

33 Commits

Author SHA1 Message Date
f7ac77273e Gracefully shut down each component before exiting 2023-03-26 14:34:29 -07:00
77680704e1 Added FUSE support (#55)
This exposes the watches' file system over FUSE. This way, we can access files on the watch without having to go through `itctl` or developing 3rd party tools.

**Features**

- [x] read/write access to the file system
- [x] read access to momentary sensor data
- [x] live access to sensor data (i.e. WatchMotion rather than Motion)
- [x] configuration of mount point

Co-authored-by: Yannick Ulrich <yannick.ulrich@durham.ac.uk>
Reviewed-on: https://gitea.arsenm.dev/Arsen6331/itd/pulls/55
Co-authored-by: yannickulrich <yannick.ulrich@protonmail.com>
Co-committed-by: yannickulrich <yannick.ulrich@protonmail.com>
2023-03-25 22:23:51 +00:00
e858c43b5e Switch from zerolog to go.arsenm.dev/logger 2023-01-04 15:06:05 -08:00
razorkitty
5699375b2a copy mpris implementation from infinitime library to itd, where it really belongs
moved dbus.go to an internal utils package
added context function parameter to initMusicCtrl and updated main.go to pass it
updated calls.go, maps.go, music.go, and notifs.go to use utils package for getting a dus connection
2022-11-21 19:59:54 +00:00
16adc3d4c7 Add go generate script for calculating version number 2022-11-17 21:27:36 -08:00
87bca3270a Add navigation support via PureMaps 2022-11-07 12:22:14 -08:00
bcf0d33531 Propagate context to lrpc 2022-05-12 17:14:34 -07:00
f5092cd2e1 Create and propagate contexts wherever possible 2022-05-11 13:24:12 -07:00
5043bb8cfe Add metrics collection via sqlite 2022-05-10 18:03:37 -07:00
711df70edc Allow changing bluetooth adapter ID 2022-05-02 20:17:38 -07:00
a1ee021675 Switch to lrpc and use context to handle signals 2022-05-01 11:36:28 -07:00
c929635029 Use rpcxlite 2022-04-30 03:25:27 -07:00
44c89408d2 Add debug logs 2022-04-23 20:20:13 -07:00
7309674dcf Use new changes in infinitime library to stop removing InfiniTime devices (Fixes #10) 2022-04-16 04:28:53 -07:00
08dce2a110 Add version flag 2022-02-22 08:43:29 -08:00
d83923a917 Add error logging for weather 2022-02-21 16:27:04 -08:00
032f735526 Implement weather via MET Norway 2022-02-21 16:18:52 -08:00
57768acb94 Switch from viper to koanf 2022-02-21 11:20:02 -08:00
953db860c2 Update version of infinitime library for rewritten connection code 2022-02-21 02:47:48 -08:00
78098b3833 Reorganize and clean code 2021-12-17 00:31:05 -08:00
3d89a03ca7 Update Infinitime library to use custom agent 2021-12-16 21:32:06 -08:00
d8f4fd8aa5 Ensure that the FS works after a reconnect 2021-11-25 20:35:03 -08:00
5cb6cfa5fb Upgrade infinitime library version 2021-11-01 11:21:37 -07:00
1c8fa559e4 Remove config version field 2021-10-27 08:34:10 -07:00
a3e9f1f4c4 Add whitelist support 2021-10-27 07:27:12 -07:00
a5f552fe8f Add call notifications for ModemManager 2021-10-15 00:25:34 -07:00
ef6c37c20b Add config defaults and run go fmt 2021-08-24 08:54:08 -07:00
59ecd11340 Create new config format 2021-08-24 08:33:41 -07:00
c1134926aa Update infinitime library to fix connection bug 2021-08-22 13:13:37 -07:00
c0bbfff872 Use new pair timeout option 2021-08-21 20:35:21 -07:00
43ea68e62f Prioritize config in home directory over /etc 2021-08-21 10:26:12 -07:00
031295ad9a Watch config for changes and apply automatically 2021-08-21 03:07:48 -07:00
203224ed4a Initial Commit 2021-08-21 01:19:49 -07:00