Commit graph

2 commits

Author SHA1 Message Date
Adriano Caloiaro
1c8ab19426
feat: log GPS fixes every poll, geocode only on significant movement
Remove the in-memory cache from geocode/nominatim.go (cacheTTL, cacheMu,
cachedLoc, cacheExpiry) so CityCenter always makes a live request when called.
Call frequency is now controlled by the caller rather than a time-based TTL.

In the poll goroutine, log the raw GPS coordinates on every cycle. Track the
last geocoded position and only call CityCenter on the first fix or when the
device has moved more than 5 miles (haversine). WebDAV snapshots are written
every poll cycle using the cached city centroid with fresh weather data.
2026-04-25 11:19:06 -06:00
Adriano Caloiaro
2aa59c57b0
feat: append location snapshots to WebDAV JSON log on each poll 2026-04-10 08:45:50 -06:00