Skip to content
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

add maxacpower #18168

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions templates/definition/meter/alpha-ess-smile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ params:
default: 95
type: int
advanced: true
- name: maxacpower
render: |
type: custom
{{- if eq .usage "grid" }}
Expand Down Expand Up @@ -123,6 +124,7 @@ render: |
type: holding
decode: uint32
scale: 0.01
maxacpower: {{ .maxacpower }}
{{- end }}
{{- if eq .usage "battery" }}
power:
Expand Down
2 changes: 2 additions & 0 deletions templates/definition/meter/deye-hybrid-3p.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ params:
type: int
default: 95
advanced: true
- name: maxacpower
render: |
type: custom
{{- if eq .usage "grid" }}
Expand Down Expand Up @@ -103,6 +104,7 @@ render: |
type: holding
decode: uint32s
scale: 0.1
maxacpower: {{ .maxacpower }}
{{- end }}
{{- if eq .usage "battery" }}
power:
Expand Down
2 changes: 2 additions & 0 deletions templates/definition/meter/deye-hybrid-hp3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ params:
type: int
default: 95
advanced: true
- name: maxacpower
render: |
type: custom
{{- if eq .usage "grid" }}
Expand Down Expand Up @@ -106,6 +107,7 @@ render: |
type: holding
decode: uint32s
scale: 0.1
maxacpower: {{ .maxacpower }}
{{- end }}
{{- if eq .usage "battery" }}
power:
Expand Down
2 changes: 2 additions & 0 deletions templates/definition/meter/fox-ess-h3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ params:
- name: maxsoc
type: int
advanced: true
- name: maxacpower
render: |
type: custom
{{- if eq .usage "grid" }}
Expand Down Expand Up @@ -71,6 +72,7 @@ render: |
address: 31005 # PV2
type: holding
decode: int16
maxacpower: {{ .maxacpower }}
{{- end }}
{{- if eq .usage "battery" }}
power:
Expand Down
2 changes: 2 additions & 0 deletions templates/definition/meter/huawei-smartlogger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ params:
default: 15s
- name: capacity
advanced: true
- name: maxacpower
render: |
type: custom
{{- if eq .usage "grid" }}
Expand Down Expand Up @@ -84,6 +85,7 @@ render: |
type: holding
decode: uint32
scale: 0.1
maxacpower: {{ .maxacpower }}
{{- end }}
{{- if eq .usage "battery" }}
power:
Expand Down
2 changes: 2 additions & 0 deletions templates/definition/meter/huawei-sun2000.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ params:
advanced: true
- name: capacity
advanced: true
- name: maxacpower
- name: forceaccharging
default: false
advanced: true
Expand Down Expand Up @@ -110,6 +111,7 @@ render: |
type: holding
decode: uint32nan
scale: 0.01
maxacpower: {{ .maxacpower }}
{{- end }}
{{- if eq .usage "battery" }}
power:
Expand Down
2 changes: 2 additions & 0 deletions templates/definition/meter/sofarsolar-g3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ params:
deprecated: true
- name: capacity
advanced: true
- name: maxacpower
- name: defaultmode
help:
de: Standardmodus für die aktive Batteriesteuerung. Gültige Werte sind 0 (Eigenbedarfsmodus), 1 (Nutzungszeitmodus), 2 (Zeitmodus), 4 (Peak-shaving Modus)
Expand Down Expand Up @@ -125,6 +126,7 @@ render: |
type: holding
decode: uint32
scale: 0.1
maxacpower: {{ .maxacpower }}
{{- end }}
{{- if eq .usage "battery" }}
power:
Expand Down
2 changes: 2 additions & 0 deletions templates/definition/meter/solarmax-maxstorage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ params:
id: 1
- name: capacity
advanced: true
- name: maxacpower
# battery control
- name: watchdog
type: duration
Expand All @@ -41,6 +42,7 @@ render: |
address: 110 # PV-Leistung MAX.STORAGE
type: input
decode: int32s
maxacpower: {{ .maxacpower }}
{{- end }}
{{- if eq .usage "battery" }}
source: modbus
Expand Down
2 changes: 2 additions & 0 deletions templates/definition/meter/victron-energy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ params:
default: 502
- name: capacity
advanced: true
- name: maxacpower
- name: meterid # grid meter VRM instance
type: int
usages: ["grid"]
Expand Down Expand Up @@ -138,6 +139,7 @@ render: |
address: 850 # DC pv power
type: input
decode: uint16
maxacpower: {{ .maxacpower }}
{{- end }}
{{- if eq .usage "battery" }}
power:
Expand Down
Loading