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:
@@ -60,7 +60,7 @@
|
||||
"rated_power": 40,
|
||||
"model": "SG40KTL-M",
|
||||
"manufacturer": "阳光电源",
|
||||
"protocol": "http_api",
|
||||
"protocol": "sungrow_api",
|
||||
"collect_interval": 900,
|
||||
"connection_params": {
|
||||
"api_base": "https://gateway.isolarcloud.com",
|
||||
@@ -81,7 +81,7 @@
|
||||
"rated_power": 50,
|
||||
"model": "SG50KTL-M",
|
||||
"manufacturer": "阳光电源",
|
||||
"protocol": "http_api",
|
||||
"protocol": "sungrow_api",
|
||||
"collect_interval": 900,
|
||||
"connection_params": {
|
||||
"api_base": "https://gateway.isolarcloud.com",
|
||||
@@ -102,7 +102,7 @@
|
||||
"rated_power": 130,
|
||||
"model": "SG125HV",
|
||||
"manufacturer": "阳光电源",
|
||||
"protocol": "http_api",
|
||||
"protocol": "sungrow_api",
|
||||
"collect_interval": 900,
|
||||
"connection_params": {
|
||||
"api_base": "https://gateway.isolarcloud.com",
|
||||
@@ -123,7 +123,7 @@
|
||||
"rated_power": 260,
|
||||
"model": "SG250HX",
|
||||
"manufacturer": "阳光电源",
|
||||
"protocol": "http_api",
|
||||
"protocol": "sungrow_api",
|
||||
"collect_interval": 900,
|
||||
"connection_params": {
|
||||
"api_base": "https://gateway.isolarcloud.com",
|
||||
@@ -144,7 +144,7 @@
|
||||
"rated_power": 160,
|
||||
"model": "SG160HX",
|
||||
"manufacturer": "阳光电源",
|
||||
"protocol": "http_api",
|
||||
"protocol": "sungrow_api",
|
||||
"collect_interval": 900,
|
||||
"connection_params": {
|
||||
"api_base": "https://gateway.isolarcloud.com",
|
||||
@@ -165,7 +165,7 @@
|
||||
"rated_power": 400,
|
||||
"model": "SG350HX",
|
||||
"manufacturer": "阳光电源",
|
||||
"protocol": "http_api",
|
||||
"protocol": "sungrow_api",
|
||||
"collect_interval": 900,
|
||||
"connection_params": {
|
||||
"api_base": "https://gateway.isolarcloud.com",
|
||||
@@ -186,7 +186,7 @@
|
||||
"rated_power": 290,
|
||||
"model": "SG250HX",
|
||||
"manufacturer": "阳光电源",
|
||||
"protocol": "http_api",
|
||||
"protocol": "sungrow_api",
|
||||
"collect_interval": 900,
|
||||
"connection_params": {
|
||||
"api_base": "https://gateway.isolarcloud.com",
|
||||
@@ -207,7 +207,7 @@
|
||||
"rated_power": 300,
|
||||
"model": "SG300HX",
|
||||
"manufacturer": "阳光电源",
|
||||
"protocol": "http_api",
|
||||
"protocol": "sungrow_api",
|
||||
"collect_interval": 900,
|
||||
"connection_params": {
|
||||
"api_base": "https://gateway.isolarcloud.com",
|
||||
@@ -228,7 +228,7 @@
|
||||
"rated_power": 280,
|
||||
"model": "SG250HX",
|
||||
"manufacturer": "阳光电源",
|
||||
"protocol": "http_api",
|
||||
"protocol": "sungrow_api",
|
||||
"collect_interval": 900,
|
||||
"connection_params": {
|
||||
"api_base": "https://gateway.isolarcloud.com",
|
||||
@@ -249,7 +249,7 @@
|
||||
"rated_power": 290,
|
||||
"model": "SG250HX",
|
||||
"manufacturer": "阳光电源",
|
||||
"protocol": "http_api",
|
||||
"protocol": "sungrow_api",
|
||||
"collect_interval": 900,
|
||||
"connection_params": {
|
||||
"api_base": "https://gateway.isolarcloud.com",
|
||||
|
||||
Reference in New Issue
Block a user