# Sunsynk 3p hybrid inverter

Source: https://docs.evcc.io/en/meters/sunsynk-3p-hybrid-inverter

Supported features: battery-control, curtail

## Parameters

| Name | Description | Default / example | |
| --- | --- | --- | --- |
| modbus | Modbus Type (rs485, tcpip) |  |  |
| maxacpower | Maximum AC power of the hybrid inverter | 0 W |  |
| batterytype | Inverter for LV or HV batteries Choose "hv" if you are using a high voltage battery with a nominal voltage over 60V (lv, hv) | lv |  |
| maxdischargecurrent | Max Discharge Current Maximum battery discharge current in Amperes (A) for normal mode. Typical range 50-350A depending on battery capacity. Power calculation: P(W) = Current(A) x Voltage(V). Example with 48V battery: 100A x 48V = 4800W (4.8kW). | 100 |  |
| gridchargecurrent | Grid Charge Current Maximum battery charging current in Amperes (A) from grid for charge mode. Typical range 30-350A depending on battery and inverter capacity. Power calculation: P(W) = Current(A) x Voltage(V). Example with 48V battery: 60A x 48V = 2880W (2.9kW). | 60 |  |
| capacity | Battery capacity | 50 kWh |  |
| minsoc | Minimum charge Lower limit as configured on the battery system. Used by optimizer. | 0 % |  |
| maxsoc | Maximum charge Upper limit as configured on the battery system. Used by optimizer and for grid charging. | 100 % |  |
| storageunit | Battery storage unit index (1, 2) | 1 | advanced |
| maxchargepower | Maximum charge power For forced charging of the battery. |  W | advanced |
| maxdischargepower | Maximum discharge power Maximum discharge power of the storage. |  W | advanced |
| includegenport | Treat GEN port as solar input When enabled, the GEN port of the inverter will be treated as an additional solar input. This will add the power and energy fed in through the GEN port to the total solar yield. |  | advanced |
| firmware1098 | Firmware 1098 or newer (only for HV versions) After a firmware update of the high voltage inverter, some register values have changed their scaling factor. If your inverter has firmware version 1098 or newer, you need to enable this option to get correct values. |  | advanced |

## Configuration example for evcc.yaml

```yaml
meters:
    - name: my_grid
      type: template
      template: deye-hybrid-3p
      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: 502 # Port
      
      # Modbus TCP
      modbus: tcpip
      id: 1
      host:  # Hostname
      port: 502 # Port
      batterytype: lv # Inverter for LV or HV batteries, Choose "hv" if you are using a high voltage battery with a nominal voltage over 60V [lv, hv]
      maxdischargecurrent: 100 # Max Discharge Current, Maximum battery discharge current in Amperes (A) for normal mode. Typical range 50-350A depending on battery capacity. Power calculation: P(W) = Current(A) x Voltage(V). Example with 48V battery: 100A x 48V = 4800W (4.8kW).
      gridchargecurrent: 60 # Grid Charge Current, Maximum battery charging current in Amperes (A) from grid for charge mode. Typical range 30-350A depending on battery and inverter capacity. Power calculation: P(W) = Current(A) x Voltage(V). Example with 48V battery: 60A x 48V = 2880W (2.9kW).
      includegenport: # Treat GEN port as solar input, When enabled, the GEN port of the inverter will be treated as an additional solar input. This will add the power and energy fed in through the GEN port to the total solar yield. (optional)
      firmware1098: # Firmware 1098 or newer (only for HV versions), After a firmware update of the high voltage inverter, some register values have changed their scaling factor. If your inverter has firmware version 1098 or newer, you need to enable this option to get correct values. (optional)
```

```yaml
meters:
    - name: my_pv
      type: template
      template: deye-hybrid-3p
      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: 502 # Port
      
      # Modbus TCP
      modbus: tcpip
      id: 1
      host:  # Hostname
      port: 502 # Port
      maxacpower: 0 # Maximum AC power of the hybrid inverter (W)
      batterytype: lv # Inverter for LV or HV batteries, Choose "hv" if you are using a high voltage battery with a nominal voltage over 60V [lv, hv]
      maxdischargecurrent: 100 # Max Discharge Current, Maximum battery discharge current in Amperes (A) for normal mode. Typical range 50-350A depending on battery capacity. Power calculation: P(W) = Current(A) x Voltage(V). Example with 48V battery: 100A x 48V = 4800W (4.8kW).
      gridchargecurrent: 60 # Grid Charge Current, Maximum battery charging current in Amperes (A) from grid for charge mode. Typical range 30-350A depending on battery and inverter capacity. Power calculation: P(W) = Current(A) x Voltage(V). Example with 48V battery: 60A x 48V = 2880W (2.9kW).
      includegenport: # Treat GEN port as solar input, When enabled, the GEN port of the inverter will be treated as an additional solar input. This will add the power and energy fed in through the GEN port to the total solar yield. (optional)
      firmware1098: # Firmware 1098 or newer (only for HV versions), After a firmware update of the high voltage inverter, some register values have changed their scaling factor. If your inverter has firmware version 1098 or newer, you need to enable this option to get correct values. (optional)
```

```yaml
meters:
    - name: my_battery
      type: template
      template: deye-hybrid-3p
      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: 502 # Port
      
      # Modbus TCP
      modbus: tcpip
      id: 1
      host:  # Hostname
      port: 502 # Port
      batterytype: lv # Inverter for LV or HV batteries, Choose "hv" if you are using a high voltage battery with a nominal voltage over 60V [lv, hv]
      maxdischargecurrent: 100 # Max Discharge Current, Maximum battery discharge current in Amperes (A) for normal mode. Typical range 50-350A depending on battery capacity. Power calculation: P(W) = Current(A) x Voltage(V). Example with 48V battery: 100A x 48V = 4800W (4.8kW).
      gridchargecurrent: 60 # Grid Charge Current, Maximum battery charging current in Amperes (A) from grid for charge mode. Typical range 30-350A depending on battery and inverter capacity. Power calculation: P(W) = Current(A) x Voltage(V). Example with 48V battery: 60A x 48V = 2880W (2.9kW).
      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, [1, 2] (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)
      includegenport: # Treat GEN port as solar input, When enabled, the GEN port of the inverter will be treated as an additional solar input. This will add the power and energy fed in through the GEN port to the total solar yield. (optional)
      firmware1098: # Firmware 1098 or newer (only for HV versions), After a firmware update of the high voltage inverter, some register values have changed their scaling factor. If your inverter has firmware version 1098 or newer, you need to enable this option to get correct values. (optional)
```
