Skip to content

Änderung des sunspec-inverter.yaml, oder Einführung eines sunspec-smartmeter.yaml #19905

Open
@HanseKa

Description

@HanseKa

Ich betreibe zwei PV-Anlagen, PV neu, und PV alt (bestehend u. a. aus 3 SMA SunnyBoy Wechselrichtern). PV neu ist mit einem Fronius Symo Gen24 6.0 plus und einem Fronius Smartmeter TS65A-3 am Einspeisepunkt ausgestattet. PV alt ist mit einem zweiten TS65A-3 per modbus mit dem Symo Gen24 verbunden. Diese PV alt kann ich aber weder mit dem fronius-gen24.yaml, noch mit dem sunspec-inverter.yaml in EVCC über die UI konfigurieren.

Für die Lösung des Problems habe ich zwei Vorschläge:

  1. ergänzen des templates sunspec-inverter.yaml um folgende zwei Einträge:
    unter {{- if eq .usage "pv" }}
    power
    value
    - 213:W
    und

           energy
               value
                   - 213:TotWhExp
    
  2. Einführung eines neuen sunspec-smartmeter.yaml mit folgendem Inhalt:

template: sunspec-smartmeter
products:

  • description:
    de: SunSpec Smartmeter
    en: SunSpec Smartmeter
    group: generic
    params:
  • name: usage
    choice: ["grid", "pv"]
  • name: modbus
    choice: ["tcpip", "rs485"]
  • name: capacity
    advanced: true
    render: |
    type: custom
    {{- if eq .usage "grid" }}

sunspec model 20x (int+sf)/ 21x (float) meter

power:
source: sunspec
{{- include "modbus" . | indent 2 }}
value:
- 201:W
- 211:W
- 203:W
- 213:W
energy:
source: sunspec
{{- include "modbus" . | indent 2 }}
value:
- 201:TotWhImp
- 211:TotWhImp
- 203:TotWhImp
- 213:TotWhImp
scale: 0.001
currents:
- source: sunspec
{{- include "modbus" . | indent 4 }}
value:
- 201:AphA
- 211:AphA
- 203:AphA
- 213:AphA
- source: sunspec
{{- include "modbus" . | indent 4 }}
value:
- 203:AphB
- 213:AphB
- source: sunspec
{{- include "modbus" . | indent 4 }}
value:
- 203:AphC
- 213:AphC
voltages:
- source: sunspec
{{- include "modbus" . | indent 4 }}
value:
- 201:PhVphA
- 211:PhVphA
- 203:PhVphA
- 213:PhVphA
- source: sunspec
{{- include "modbus" . | indent 4 }}
value:
- 203:PhVphB
- 213:PhVphB
- source: sunspec
{{- include "modbus" . | indent 4 }}
value:
- 203:PhVphC
- 213:PhVphC
powers:
- source: sunspec
{{- include "modbus" . | indent 4 }}
value:
- 201:WphA
- 211:WphA
- 203:WphA
- 213:WphA
- source: sunspec
{{- include "modbus" . | indent 4 }}
value:
- 203:WphB
- 213:WphB
- source: sunspec
{{- include "modbus" . | indent 4 }}
value:
- 203:WphC
- 213:WphC
{{- end }}
{{- if eq .usage "pv" }}
power:
source: sunspec
{{- include "modbus" . | indent 2 }}
value:
- 101:W
- 111:W
- 103:W
- 113:W
- 213:W
energy:
source: sunspec
{{- include "modbus" . | indent 2 }}
value:
- 101:TotWhExp
- 111:TotWhExp
- 103:TotWhExp
- 113:TotWhExp
- 213:TotWhExp
scale: 0.001
{{- end }}

Bisher habe ich das Problem mit Hilfe der evcc.yaml gelöst. PV alt ist mit dem template sunspec-inverter.yaml eingebunden, allerdings mit usage:grid und name:pv1. Diese Möglichkeit gibt es aber, wie ich eingangs schon erwähnt habe, bei der Konfiguration über die UI nicht. Oder hat jemand einen Vorschlag oder Idee, ohne zusätzliche Hardware, die PV alt sauber einzubinden?

benesolar hat dahingehend schon einmal ein issue oder einen pull request gestartet (finde ich gerade nicht). Wurde aber, mangels Notwendigkeit, geclosed.

Es wäre top wenn meine Vorschläge nochmals geprüft werden würden.

Ich habe mir übrigens mit diesem sunspec-smartmeter.yaml ein binary gebuildet. EVCC funktioniert damit wie gewünscht.

Metadata

Metadata

Assignees

Labels

devicesSpecific device support

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions