Multi-customer config system: - CUSTOMER env var selects customer (tianpu/zpark) - customers/tianpu/config.yaml — Tianpu branding, collectors, features - customers/zpark/config.yaml — Z-Park branding, Sungrow collector - GET /api/v1/branding endpoint for customer-specific branding - main.py loads customer config for app title, CORS, logging - Collector manager filters by customer's enabled collectors Z-Park (中关村医疗器械园) support: - Sungrow iSolarCloud API collector (sungrow_collector.py) - Z-Park device definitions (10 inverters, 8 combiner boxes, 22+ buildings) - Z-Park TOU pricing config (Beijing 2026 rates) - Z-Park seed script (seed_zpark.py) Gitea migration scripts (Mac Studio → labmac3): - 5 migration scripts + README in scripts/gitea-migration/ - Creates 3-repo structure: ems-core, tp-ems, zpark-ems Version: v1.0.0 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
16 lines
423 B
YAML
16 lines
423 B
YAML
# 中关村医疗器械园 - 客户配置
|
|
customer_name: "中关村医疗器械园"
|
|
platform_name: "中关村医疗器械园智慧能源管理平台"
|
|
platform_name_en: "Z-Park Medical Device Smart EMS"
|
|
logo_url: "/static/logo-zpark.png"
|
|
theme_color: "#52c41a"
|
|
cors_origins:
|
|
- "http://localhost:3000"
|
|
- "http://localhost:5173"
|
|
collectors:
|
|
- sungrow_api
|
|
features:
|
|
charging: false
|
|
carbon: true
|
|
bigscreen_3d: false
|