New endpoints:
- GET /api/v1/version — returns VERSIONS.json (no auth required)
For field engineers to check platform version from login page
- GET /api/v1/kpi/solar — returns PR, self-consumption rate,
equivalent utilization hours, and daily revenue
Handles station-level vs device-level data deduplication
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Replace all hardcoded Tianpu/天普 defaults with generic "EMS Platform"
- Add energy_today fallback: query raw energy_data when daily summary empty
- Fix PV device filter to include sungrow_inverter device type
- Update APP_NAME, CUSTOMER default, SECRET_KEY, SMTP, Celery, email templates
BREAKING: CUSTOMER default changed from "tianpu" to "default"
Existing deployments with CUSTOMER=tianpu in .env are unaffected.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>