Du Wenbo
1be9a2e6c5
docs: rewrite README with correct structure, Docker deploy, v1.2.0
...
- Add frontend/ directory (was missing from structure)
- Fix frontend path from core/frontend to ./frontend
- Fix .env copy path from core/backend/.env to root .env
- Add Docker deployment as primary method
- Add hooks/ to customer config listing
- Add version info referencing VERSIONS.json
- Update subtree pull command with correct Gitea URL
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-04-06 08:55:37 +08:00
Du Wenbo
f97be2f3ff
fix: update VERSIONS.json to match v1.2.0 tag
...
VERSIONS.json was still showing 1.1.0 while the git tag and commit
message already referenced v1.2.0. Sync version metadata.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-04-06 08:22:10 +08:00
Du Wenbo
d3f47d664c
feat: customer frontend, Sungrow collector fixes, real data (v1.2.0)
...
- Add frontend/ at root (no Three.js, no Charging, green #52c41a theme)
- Fix Sungrow collector: add curPage/size params, unit conversion
- Fix station-level dedup to prevent double-counting
- Add shared token cache for API rate limit protection
- Add .githooks/pre-commit, CLAUDE.md, .gitignore
- Update docker-compose.override.yml frontend -> ./frontend
- Pin bcrypt in requirements.txt
- Add BUYOFF_RESULTS_2026-04-05.md (39/43 pass)
- Data accuracy: 0.0% diff vs iSolarCloud
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-04-05 23:43:24 +08:00
Du Wenbo
ed30ac31e4
feat: add Z-Park customer hooks + update core to v1.1.0
...
- core/ updated to ems-core v1.1.0 (hooks plugin system)
- customers/zpark/hooks/zpark_hooks.py: Z-Park custom logic
- on_alarm_created: 逆变器严重告警 → 自动创建维修工单
- on_alarm_resolved: 告警恢复日志
- on_device_status_changed: 逆变器离线告警
- calculate_custom_kpis: 光伏发电效率、自发自用率
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
v1.0.0
2026-04-04 18:32:33 +08:00
Du Wenbo
67cf2b13da
chore: update core to v1.1.0 (hooks plugin system)
2026-04-04 18:32:11 +08:00
Du Wenbo
e306b705bc
Squashed 'core/' changes from 92ec910..2b9797d
...
2b9797d feat: add customer hooks plugin system (v1.1.0)
26d2731 chore: add VERSION file (1.0.0)
git-subtree-dir: core
git-subtree-split: 2b9797d61b501ecbaa73253f6f4001769917a24f
2026-04-04 18:32:11 +08:00
Du Wenbo
d153f8e430
zpark-ems v1.0.0: 中关村医疗器械园EMS客户项目
...
基于 ems-core v1.0.0,包含:
- customers/zpark/config.yaml — Z-Park品牌配置(阳光电源采集器)
- customers/zpark/devices.json — 10台逆变器 + 8台汇流箱设备清单
- customers/zpark/pricing.json — 北京2026年分时电价
- scripts/seed_zpark.py — Z-Park设备和告警种子数据
- docker-compose.override.yml — Z-Park部署配置
- core/ — ems-core v1.0.0 (git subtree)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-04-04 18:19:31 +08:00
Du Wenbo
026c837b91
Squashed 'core/' content from commit 92ec910
...
git-subtree-dir: core
git-subtree-split: 92ec910a132e379a3a6e442a75bcb07cac0f0010
2026-04-04 18:17:10 +08:00
Du Wenbo
1256992c85
Merge commit '026c837b919ab4380e8a6e6c052364bbf9bbe8a3' as 'core'
2026-04-04 18:17:10 +08:00
Du Wenbo
d8ed16ad24
initial commit
2026-04-04 18:17:07 +08:00