From 828f4ab2f2b14600d46fa68eea1ac11f35908137 Mon Sep 17 00:00:00 2001 From: TS-2002 <96687785+TS-2002@users.noreply.github.com> Date: Fri, 31 Jul 2026 11:43:18 +0200 Subject: [PATCH] Fronius: add Argeno and Smart Meter IP meter templates (#32329) --- .../definition/meter/fronius-argeno.yaml | 41 +++++++ .../meter/fronius-smart-meter-ip.yaml | 105 ++++++++++++++++++ 2 files changed, 146 insertions(+) create mode 100644 templates/definition/meter/fronius-argeno.yaml create mode 100644 templates/definition/meter/fronius-smart-meter-ip.yaml diff --git a/templates/definition/meter/fronius-argeno.yaml b/templates/definition/meter/fronius-argeno.yaml new file mode 100644 index 000000000..6b36bb851 --- /dev/null +++ b/templates/definition/meter/fronius-argeno.yaml @@ -0,0 +1,41 @@ +template: fronius-argeno +products: + - brand: Fronius + description: + generic: Argeno +requirements: + description: + de: | + Modbus TCP muss am Wechselrichter aktiviert sein (Konfiguration → Kommunikation → Ethernet → Modbus TCP/UDP). Für den Netzzähler siehe Template „Fronius Smart Meter IP" — der Argeno nutzt den Smart Meter IP als eigenständiges Netzwerkgerät. + en: | + Modbus TCP must be enabled on the inverter (Configuration → Communication → Ethernet → Modbus TCP/UDP). For the grid meter see the "Fronius Smart Meter IP" template — the Argeno uses the Smart Meter IP as a standalone network device. +params: + - name: usage + choice: ["pv"] + - name: host + - name: port + default: 502 + - name: maxacpower +render: | + type: custom + # Fronius Argeno: AC output via SunSpec inverter model 113 (float, primary) + # on unit 1; 103 (int+sf) as fallback for potential firmware variants. Unlike GEN24, PV must NOT be + # read from model 160 DC channels: the Argeno's modular power stages report + # only a fraction of plant output there (verified on-site: 160-based read + # showed 6.5 kW while actual AC output was 31.7 kW). + power: + source: sunspec + uri: {{ joinHostPort .host .port }} + id: 1 + value: + - 113:W + - 103:W + energy: + source: sunspec + uri: {{ joinHostPort .host .port }} + id: 1 + value: + - 113:WH + - 103:WH + scale: 0.001 + maxacpower: {{ .maxacpower }} # W diff --git a/templates/definition/meter/fronius-smart-meter-ip.yaml b/templates/definition/meter/fronius-smart-meter-ip.yaml new file mode 100644 index 000000000..754e7a241 --- /dev/null +++ b/templates/definition/meter/fronius-smart-meter-ip.yaml @@ -0,0 +1,105 @@ +template: fronius-smart-meter-ip +products: + - brand: Fronius + description: + generic: Smart Meter IP +requirements: + description: + de: | + Modbus TCP muss in der Weboberfläche des Zählers aktiviert sein (Einstellungen → Datenschnittstellen → Modbus (TCP und RTU)). Der Zähler wird direkt über seine eigene IP-Adresse ausgelesen, nicht über den Wechselrichter. + en: | + Modbus TCP must be enabled in the meter's web interface (Settings → Data interfaces → Modbus (TCP and RTU)). The meter is read directly via its own IP address, not through the inverter. +params: + - name: usage + choice: ["grid"] + - name: host + - name: port + default: 502 + - name: id + default: 1 + advanced: true +render: | + type: custom + # Fronius Smart Meter IP (63A-1, 63A-3, 5kA-3): standalone LAN/WLAN meter. + # SunSpec model 213 (float, primary) on unit 1; 203 (int+sf) as fallback + # for potential firmware variants. + power: + source: sunspec + uri: {{ joinHostPort .host .port }} + id: {{ .id }} + value: + - 213:W + - 203:W + energy: + source: sunspec + uri: {{ joinHostPort .host .port }} + id: {{ .id }} + value: + - 213:TotWhImp + - 203:TotWhImp + scale: 0.001 + returnenergy: + source: sunspec + uri: {{ joinHostPort .host .port }} + id: {{ .id }} + value: + - 213:TotWhExp + - 203:TotWhExp + scale: 0.001 + currents: + - source: sunspec + uri: {{ joinHostPort .host .port }} + id: {{ .id }} + value: + - 213:AphA + - 203:AphA + - source: sunspec + uri: {{ joinHostPort .host .port }} + id: {{ .id }} + value: + - 213:AphB + - 203:AphB + - source: sunspec + uri: {{ joinHostPort .host .port }} + id: {{ .id }} + value: + - 213:AphC + - 203:AphC + voltages: + - source: sunspec + uri: {{ joinHostPort .host .port }} + id: {{ .id }} + value: + - 213:PhVphA + - 203:PhVphA + - source: sunspec + uri: {{ joinHostPort .host .port }} + id: {{ .id }} + value: + - 213:PhVphB + - 203:PhVphB + - source: sunspec + uri: {{ joinHostPort .host .port }} + id: {{ .id }} + value: + - 213:PhVphC + - 203:PhVphC + powers: + - source: sunspec + uri: {{ joinHostPort .host .port }} + id: {{ .id }} + value: + - 213:WphA + - 203:WphA + - source: sunspec + uri: {{ joinHostPort .host .port }} + id: {{ .id }} + value: + - 213:WphB + - 203:WphB + - source: sunspec + uri: {{ joinHostPort .host .port }} + id: {{ .id }} + value: + - 213:WphC + - 203:WphC