1. Interactive Map View System (BIG thanks to suka97 for the inspiration!)
- Interactive Leaflet.js maps for device location history
- Token-based authentication for secure external access
- Time period filtering with calendar/datetime picker controls
- HTTP endpoint: /api/googlefindmy/map/{device_id}
- Real-time filtering by accuracy and time period
- Automatic URL detection for local vs cloud access
To access the new interactive map, go to the device info page and click the "Visit" link
2. Statistics and Monitoring Platform
- Statistics sensors tracking:
- Background Updates count
- Skipped Duplicates count
- Crowd-sourced Updates count
- Last Seen timestamps
- Binary sensor for polling status monitoring
- Configurable statistics entities (can be disabled)
3. Enhanced Data Quality Control
- Accuracy Filtering: Configurable threshold (default 50m) to reject poor accuracy location data
- Historical Data Fallback: Uses Home Assistant entity registry and recorder for unavailable devices
- Duplicate Detection: Advanced filtering based on last_seen timestamps
- Data Preservation: Rejects new poor accuracy data while keeping existing good locations
4. Enhanced Configuration Options
- Statistics Toggle: Option to enable/disable statistics entities
- Accuracy Thresholds: Configurable minimum accuracy filtering
5. Memory and Performance Optimization
- Memory Caching: API layer avoids file I/O in event loop
- Statistics Persistence: Polling statistics survive Home Assistant restarts
Many more random changes!