Replace Apple Health ingest with iPhone location geofences

POST /api/v1/location/{arrive,leave} records place intervals (home or a
named place, and away in between) from Shortcuts automations. A stale
"leave" for a place the device has already left is ignored. The Health
Auto Export endpoint and its normalizer are removed.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
2026-10-14 22:06:25 +01:00
co-authored by Claude Opus 5.5
parent 230840cabd
commit 67638cdef0
10 changed files with 269 additions and 238 deletions
+1 -1
View File
@@ -165,7 +165,7 @@ func apikeyCmd(ctx context.Context, st *store.Store, args []string) error {
}
fs := flag.NewFlagSet("apikey "+args[0], flag.ContinueOnError)
name := fs.String("name", "", "device name, e.g. laptop-hypr")
kind := fs.String("kind", "", "collector kind, e.g. hyprland, browser, health, presence")
kind := fs.String("kind", "", "collector kind, e.g. hyprland, browser, location, presence")
if err := fs.Parse(args[1:]); err != nil {
return err
}