Commit Graph

33 Commits

Author SHA1 Message Date
6113ac019e Gracefully shut down each component before exiting 2023-03-26 14:34:29 -07:00
9ecd45dadd 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
520c23b75b Switch from zerolog to go.arsenm.dev/logger 2023-01-04 15:06:05 -08:00
razorkitty
1e8c9484d2 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
4a397d4c1e Add go generate script for calculating version number 2022-11-17 21:27:36 -08:00
992eb2e085 Add navigation support via PureMaps 2022-11-07 12:22:14 -08:00
958f2af516 Propagate context to lrpc 2022-05-12 17:14:34 -07:00
60f1eedc9a Create and propagate contexts wherever possible 2022-05-11 13:24:12 -07:00
66618e5bf0 Add metrics collection via sqlite 2022-05-10 18:03:37 -07:00
52b85ab361 Allow changing bluetooth adapter ID 2022-05-02 20:17:38 -07:00
56dbf0540e Switch to lrpc and use context to handle signals 2022-05-01 11:36:28 -07:00
240e7a5ee4 Use rpcxlite 2022-04-30 03:25:27 -07:00
9034ef7c6b Add debug logs 2022-04-23 20:20:13 -07:00
d318c584da Use new changes in infinitime library to stop removing InfiniTime devices (Fixes #10) 2022-04-16 04:28:53 -07:00
614d14e399 Add version flag 2022-02-22 08:43:29 -08:00
4bdb82b1bc Add error logging for weather 2022-02-21 16:27:04 -08:00
b4d302caf6 Implement weather via MET Norway 2022-02-21 16:18:52 -08:00
4b2694ee0d Switch from viper to koanf 2022-02-21 11:20:02 -08:00
4c36144b0b Update version of infinitime library for rewritten connection code 2022-02-21 02:47:48 -08:00
e88dea40fb Reorganize and clean code 2021-12-17 00:31:05 -08:00
23b9cfe8a3 Update Infinitime library to use custom agent 2021-12-16 21:32:06 -08:00
655af5c446 Ensure that the FS works after a reconnect 2021-11-25 20:35:03 -08:00
763d408405 Upgrade infinitime library version 2021-11-01 11:21:37 -07:00
fbb7cd9bc1 Remove config version field 2021-10-27 08:34:10 -07:00
f1b7f70313 Add whitelist support 2021-10-27 07:27:12 -07:00
604ea57c5f Add call notifications for ModemManager 2021-10-15 00:25:34 -07:00
6e16aa7a7a Add config defaults and run go fmt 2021-08-24 08:54:08 -07:00
91f7132d5e Create new config format 2021-08-24 08:33:41 -07:00
b4992cb393 Update infinitime library to fix connection bug 2021-08-22 13:13:37 -07:00
a5490b8364 Use new pair timeout option 2021-08-21 20:35:21 -07:00
0d70dd9b11 Prioritize config in home directory over /etc 2021-08-21 10:26:12 -07:00
4a195f8311 Watch config for changes and apply automatically 2021-08-21 03:07:48 -07:00
407a6cb3d7 Initial Commit 2021-08-21 01:19:49 -07:00