-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Sigenergy: add per-string meter #33114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -23,6 +23,21 @@ params: | |
| - name: id | ||
| default: 1 | ||
| - name: maxacpower | ||
| - name: string | ||
| type: choice | ||
| choice: ["0", "1", "2", "3", "4"] | ||
|
computeralex92 marked this conversation as resolved.
Outdated
|
||
| usages: ["pv"] | ||
| advanced: true | ||
| description: | ||
| de: PV String | ||
| en: PV String | ||
| help: | ||
| de: | | ||
| Nicht gesetzt oder 0 = Gesamtleistung aller Strings, 1-4 = ein einzelner String. | ||
| String-Zähler messen DC-Leistung (Spannung × Strom) und dienen nur der Überwachung. Als PV-Zähler der Site den Gesamtleistungs-Zähler (0) verwenden. | ||
| en: | | ||
| Unset or 0 = total power of all strings, 1-4 = one individual string. | ||
| String meters measure DC power (voltage × current) and are for monitoring only. Keep the total-power meter (0) as the site's PV meter. | ||
|
computeralex92 marked this conversation as resolved.
Outdated
|
||
| - preset: battery-params | ||
| render: | | ||
| type: custom | ||
|
|
@@ -71,6 +86,27 @@ render: | | |
| scale: 0.01 | ||
| {{- end }} | ||
| {{- if eq .usage "pv" }} | ||
| {{- if and .string (ne .string "0") }} | ||
| power: | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thanks for the review, but are you able to descibe what is missing here? The power each MPPT is producing is getting calculated because there is no register produced by Sigenergy to getting the exact power number. Or did I miss here something? |
||
| source: calc | ||
| mul: | ||
| - source: modbus | ||
| uri: {{ joinHostPort .host .port }} | ||
| id: {{ .id }} | ||
| register: | ||
| address: {{ add 31027 (mul 2 (sub (int .string) 1)) }} # PV{{ .string }} voltage | ||
| type: holding | ||
| decode: int16 | ||
| scale: 0.1 | ||
| - source: modbus | ||
| uri: {{ joinHostPort .host .port }} | ||
| id: {{ .id }} | ||
| register: | ||
| address: {{ add 31028 (mul 2 (sub (int .string) 1)) }} # PV{{ .string }} current | ||
| type: holding | ||
| decode: int16 | ||
| scale: 0.01 | ||
| {{- else }} | ||
| power: | ||
| source: modbus | ||
| uri: {{ joinHostPort .host .port }} | ||
|
|
@@ -81,6 +117,7 @@ render: | | |
| decode: int32 | ||
| maxacpower: {{ .maxacpower }} # W | ||
| {{- end }} | ||
| {{- end }} | ||
| {{- if eq .usage "battery" }} | ||
| power: | ||
| source: modbus | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.