Skip to content

Commit

Permalink
SofarSolar: remove battery control (#11341)
Browse files Browse the repository at this point in the history
  • Loading branch information
andig authored Jan 4, 2024
1 parent 5beb644 commit d1006a2
Showing 1 changed file with 18 additions and 19 deletions.
37 changes: 18 additions & 19 deletions templates/definition/meter/sofarsolar-g3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ products:
- brand: SofarSolar
description:
generic: SOFAR 5…24KTL-G3
capabilities: ["battery-control"]
# capabilities: ["battery-control"]
requirements:
description:
de: Es wird dringend empfohlen die Verbindung über einen LSE-3 Logger Stick herzustellen. Andere Verbindungswege (z.B. LSW-3 oder via RS485) sind u.U. instabil und benötigen Verzögerungen (delay) > 0s.
Expand Down Expand Up @@ -155,23 +155,22 @@ render: |
address: 0x0608 # SOC_Bat1
type: holding
decode: uint16
limitsoc:
source: go
script:
int(100-limitSoc)
out:
- name: dod
type: int
config:
source: modbus
{{- include "modbus" . | indent 6 }}
delay: {{ .delay }}
register:
address: 0x104D # BatConfig_Depth_of_Discharge
type: writemultiple
decode: uint16
scale: 100
# limitsoc:
# source: go
# script:
# int(100-limitSoc)
# out:
# - name: dod
# type: int
# config:
# source: modbus
# {- include "modbus" . | indent 6 }
# delay: { .delay }
# register:
# address: 0x104D # BatConfig_Depth_of_Discharge
# type: writemultiple
# decode: uint16
capacity: {{ .capacity }} # kWh
minsoc: {{ .minsoc }} # %
maxsoc: {{ .maxsoc }} # %
# minsoc: {{ .minsoc }} # %
# maxsoc: {{ .maxsoc }} # %
{{- end }}

0 comments on commit d1006a2

Please sign in to comment.