diff --git a/templates/definition/meter/huawei-sun2000.yaml b/templates/definition/meter/huawei-sun2000.yaml index bbca24414..f89f5d50f 100644 --- a/templates/definition/meter/huawei-sun2000.yaml +++ b/templates/definition/meter/huawei-sun2000.yaml @@ -23,6 +23,7 @@ params: - name: timeout default: 15s - name: maxacpower + service: modbus/read?address=30073&type=holding&encoding=uint32&{modbus} - name: storageunit - name: forceaccharging default: false @@ -36,8 +37,17 @@ params: en: Keep AC charging active to charge the storage from other inverters via AC. Prevents stand-by. de: AC-Laden bleibt aktiv zum Laden des Speichers aus anderen AC Quellen für Wechselrichterkaskaden. Verhindert Stand-by. - preset: battery-params + - name: capacity + service: modbus/read?address=37758&type=holding&encoding=uint32&scale=0.001&{modbus} - name: maxchargepower - default: 10000 + service: modbus/read?address=37046&type=holding&encoding=uint32&{modbus} + required: true + - name: maxdischargepower + service: modbus/read?address=37048&type=holding&encoding=uint32&{modbus} + - name: minsoc + service: modbus/read?address=47082&type=holding&encoding=uint16&scale=0.1&{modbus} + - name: maxsoc + service: modbus/read?address=47081&type=holding&encoding=uint16&scale=0.1&{modbus} render: | type: custom {{- if eq .usage "grid" }}