fix: devices.json protocol http_api -> sungrow_api (v1.6.1)

All 10 Sungrow inverters had protocol="http_api" in devices.json,
but config.yaml only enables the "sungrow_api" collector type.
Result: 0 collectors started on fresh deploy, no data collection.

Fix: use sungrow_api for all inverter devices.

Discovered during Z-Park demo deployment on xie_openclaw1 —
after seeding, collectors refused to start until protocol was
updated in the DB. This fix prevents the regression on reseed.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Du Wenbo
2026-04-10 09:40:46 +08:00
parent 189bba7e03
commit cbdf8f21c5
2 changed files with 12 additions and 12 deletions

View File

@@ -1,9 +1,9 @@
{
"project": "zpark-ems",
"project_version": "1.6.0",
"project_version": "1.6.1",
"customer": "Z-Park 中关村医疗器械园",
"core_version": "1.4.0",
"frontend_template_version": "1.4.0",
"last_updated": "2026-04-06",
"notes": "String monitoring, I-V diagnosis stub, ROI simulator, knowledge base, remote config stub, mobile responsive"
"notes": "Fix devices.json protocol (http_api→sungrow_api) to enable Sungrow collectors"
}