3 Commits

Author SHA1 Message Date
Tanishq Dubey
f126202410 feat: add activity history, insights, and cat usage events
- Add activity history collection for cat usage events
- Add insight metrics (total cycles, average cycles, cycles today)
- Add cat usage events with weight for LR4
- Add intermediate state events (cycle started, cycle complete, etc.)
- Add pet visits_24h metric from weight history
- Add new LR4 metrics: lifetime_cycles, dfi_trigger_count, cat_detected
- Add configurable activity lookback window to prevent duplicate events
- Add API call delays to avoid rate limiting
- Update default poll interval to 5 minutes
- Update documentation with new metrics and events
2025-12-16 15:37:34 -05:00
Tanishq Dubey
bbce85fa31 feat: add Dockerfile, dry-run mode, and documentation
- Add Dockerfile with multi-stage build using UV
- Add --dry-run CLI flag to log metrics instead of submitting
- Add comprehensive README with usage and metrics documentation
- Fix ruff linter warnings
- Add uv.lock for reproducible builds
2025-12-16 11:53:16 -05:00
Tanishq Dubey
3b3f3df53c feat: initial implementation of Datacat
- Add project structure with UV/hatch build system
- Implement config module (env vars + YAML file support)
- Implement collector module for pylitterbot integration
- Implement metrics module for Datadog submission
- Support LR3, LR4, and Feeder Robot metrics
- Add event emission for state changes
- Add CLI with --once mode for single collection
2025-12-16 11:49:43 -05:00