Přeskočit na obsah
chytré nabíjení

SofarSolar HYD 5…20K-3PH

For more details on how to establish a connection to the inverter see the Sofar Solar installation doc at homeassistant-solax-modbus.readthedocs.io.

Podporované funkce

  • Řízení baterie: Externí řízení nabíjení a vybíjení domácí baterie pomocí evcc.

Oblasti využití

  • Měřič sítě
  • Solární výroba
  • Baterie

Parametry

Modbus
NázevPopisHodnotaÚroveň
idModbus ID
Výchozí: 1
intpovinné
deviceNázev zařízení

Adaptér USB-RS485

Příklad: /dev/ttyUSB0
povinné
baudratePřenosová rychlost
Výchozí: 9600
povinné
comsetComSet

Komunikační parametr adaptéru

Výchozí: 8N1
povinné
hostIP adresa nebo název hostitele
Příklad: 192.0.2.2
povinné
portPort
Výchozí: 502
intpovinné
capacity [kWh]Battery capacity
Příklad: 50
volitelné
minsoc [%]Minimum charge

Lower limit as configured on the battery system. Used by optimizer.

Výchozí: 0
Příklad: 25
volitelné
maxsoc [%]Maximum charge

Upper limit as configured on the battery system. Used by optimizer and for grid charging.

Výchozí: 100
Příklad: 95
volitelné
maxacpower [W]Maximum AC power of the hybrid inverter
Výchozí: 0
Příklad: 5000
pokročilé
storageunitBattery storage unit index

In case of a BTS storage not the address of a BTS 5K battery module, but the storage tower (BTS 5K-BDU control unit with 1-4 BTS 5K modules).

Výchozí: 1
pokročilé
defaultmodeDefault mode for battery control

Valid values are 0 (self use), 1 (time of use), 2 (timing mode), 4 (peak-shaving mode)

Výchozí: 0
pokročilé
externalpowerInclude external power

Includes all connected external sources, like the power generation of cascaded inverters, into the PV power calculation.

pokročilé
maxchargepower [W]Maximum charge power

For forced charging of the battery.

pokročilé
maxdischargepower [W]Maximum discharge power

Maximum discharge power of the storage.

pokročilé
Příklad konfigurace pro evcc.yaml

Pokud nechcete konfigurovat přes uživatelské rozhraní, můžete místo toho použít tento blok YAML.

meters:
- name: my_grid
type: template
template: sofarsolar-g3
usage: grid
# RS485 via adapter (Modbus RTU)
modbus: rs485serial
id: 1
device: /dev/ttyUSB0 # USB-RS485 Adapter Adresse
baudrate: 9600 # Prüfe die Geräteeinstellungen, typische Werte sind 9600, 19200, 38400, 57600, 115200
comset: "8N1" # Kommunikationsparameter für den Adapter
# RS485 via TCP/IP (Modbus RTU)
modbus: rs485tcpip
id: 1
host: # Hostname
port: 8899 # Port
# Modbus TCP
modbus: tcpip
id: 1
host: # Hostname
port: 8899 # Port
meters:
- name: my_pv
type: template
template: sofarsolar-g3
usage: pv
# RS485 via adapter (Modbus RTU)
modbus: rs485serial
id: 1
device: /dev/ttyUSB0 # USB-RS485 Adapter Adresse
baudrate: 9600 # Prüfe die Geräteeinstellungen, typische Werte sind 9600, 19200, 38400, 57600, 115200
comset: "8N1" # Kommunikationsparameter für den Adapter
# RS485 via TCP/IP (Modbus RTU)
modbus: rs485tcpip
id: 1
host: # Hostname
port: 8899 # Port
# Modbus TCP
modbus: tcpip
id: 1
host: # Hostname
port: 8899 # Port
maxacpower: 0 # Maximum AC power of the hybrid inverter (W), optional
externalpower: # Include external power, Includes all connected external sources, like the power generation of cascaded inverters, into the PV power calculation. (optional)
meters:
- name: my_battery
type: template
template: sofarsolar-g3
usage: battery
# RS485 via adapter (Modbus RTU)
modbus: rs485serial
id: 1
device: /dev/ttyUSB0 # USB-RS485 Adapter Adresse
baudrate: 9600 # Prüfe die Geräteeinstellungen, typische Werte sind 9600, 19200, 38400, 57600, 115200
comset: "8N1" # Kommunikationsparameter für den Adapter
# RS485 via TCP/IP (Modbus RTU)
modbus: rs485tcpip
id: 1
host: # Hostname
port: 8899 # Port
# Modbus TCP
modbus: tcpip
id: 1
host: # Hostname
port: 8899 # Port
capacity: 50 # Battery capacity (kWh), optional
minsoc: 0 # Minimum charge (%), Lower limit as configured on the battery system. Used by optimizer. (optional)
maxsoc: 100 # Maximum charge (%), Upper limit as configured on the battery system. Used by optimizer and for grid charging. (optional)
storageunit: 1 # Battery storage unit index, In case of a BTS storage not the address of a BTS 5K battery module, but the storage tower (BTS 5K-BDU control unit with 1-4 BTS 5K modules). (optional)
defaultmode: 0 # Default mode for battery control, Valid values are 0 (self use), 1 (time of use), 2 (timing mode), 4 (peak-shaving mode) (optional)
maxchargepower: # Maximum charge power (W), For forced charging of the battery. (optional)
maxdischargepower: # Maximum discharge power (W), Maximum discharge power of the storage. (optional)