- src/ecowitt.py: Ecowitt Cloud API v3 client (info, real_time, history)
with typed errors and a history → DataFrame helper.
- src/storage.py: SQLite schema and idempotent upsert keyed on
(cycle_type, channel, metric, ts_unix); handles deeply nested payloads.
- src/sync.py: incremental sync that resumes from MAX(ts_unix) per
cycle_type, chunks long ranges, and backs off on rate-limit.
- docs/plan.md: high-level project plan.
- docs/ecowitt-notes.md: API findings (valid cycle_types, call_back
rejecting 'all' for history, rate-limit code -1) and run-it-yourself docs.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>