Tracksolid deployment with timescale & grafana with backup
Reflects accurate field names, behaviours, and status from production: Polling endpoints: - 5.1 location.list: add full response schema (direction, gpsSignal, gpsNum, powerValue, elecQuantity, posType, locDesc); add implementation note (311 calls, ~19 devices/sweep, ~200ms, missing devices silently omitted) - 5.4 track.mileage: add maxSpeed field (BUG-03); add distance unit note (BUG-02 — values are km from API, corrected via migration 04) - 5.5 track.list: add altitude/satellite fields; add POLL-01 implementation note (30-min schedule, 35-min lookback, source='track_list', ~137s/call) - 5.7 parking: clarify acc_type=0 required; note durSecond vs stopSecond; add POLL-02 production status (60 calls, 0 rows, overnight expected) - Rate limits: document track.list latency (~137s per call) Alarms: - 6.1: replace vague note with explicit poll-vs-push field name table (alertTypeId/alarmTypeName vs alarmType/alarmName); confirm BUG-01 fix verified in production (type 3 / "Vibration alert" now stored correctly) Webhooks: - 10.1 /pushevent: mark implemented (PUSH-01), db table - 10.2 /pushhb: mark as not yet wired, table ready - 10.4 /pushalarm: mark implemented, cross-ref field name table - 10.7 /pushoil: mark implemented (PUSH-02), unit int→text note - 10.9 /pushtem: mark implemented (PUSH-03) - 10.10 /pushlbs: mark implemented (PUSH-04) - 10.20 /pushobd: mark implemented, document OBD scalar extraction - 10.21 /pushfaultinfo: mark not yet wired, table ready - 10.22 /pushtripreport: mark implemented Appendix B: full rewrite — split into polling and push tables with accurate status (✅/⚠️/not used), call counts, and DB table references Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| administration | ||
| grafana/provisioning | ||
| n8n-workflows | ||
| .env | ||
| .gitignore | ||
| .python-version | ||
| 01_BusinessAnalytics.md | ||
| 02_tracksolid_full_schema_rev.sql | ||
| 03_webhook_schema_migration.sql | ||
| 04_bug_fix_migration.sql | ||
| 05_enhancement_migration.sql | ||
| 260410_baseline_report.md | ||
| docker-compose.yaml | ||
| Dockerfile | ||
| grafanaDeployment.md | ||
| grafanaOperationalManual.md | ||
| ingest_events_rev.py | ||
| ingest_movement_rev.py | ||
| OPERATIONS_MANUAL.md | ||
| pyproject.toml | ||
| README.md | ||
| run_migrations.py | ||
| run_migrations.sh | ||
| tracksolid_DB_manual.md | ||
| tracksolidApiDocumentation.md | ||
| ts_shared_rev.py | ||
| webhook_receiver_rev.py | ||