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>
18 lines
424 B
YAML
18 lines
424 B
YAML
# 天普大兴园区 - 客户配置
|
|
customer_name: "天普新能源"
|
|
platform_name: "天普零碳园区智慧能源管理平台"
|
|
platform_name_en: "Tianpu Zero-Carbon Park Smart EMS"
|
|
logo_url: "/static/logo-tianpu.png"
|
|
theme_color: "#1890ff"
|
|
cors_origins:
|
|
- "http://localhost:3000"
|
|
- "http://localhost:5173"
|
|
collectors:
|
|
- modbus_tcp
|
|
- mqtt
|
|
- http_api
|
|
features:
|
|
charging: true
|
|
carbon: true
|
|
bigscreen_3d: true
|