# Huawei SUN2000 Inverter (without battery)

Source: https://docs.evcc.io/en/meters/huawei-sun2000-inverter-without-battery

If you have a battery storage system, please be sure to use "Huawei SUN2000 Hybrid-Inverter".
Needs "Modbus/TCP". Activation using "maintenance access" within the communication settings of the inverter.
See https://forum.huawei.com/enterprise/en/modbus-tcp-guide/thread/667250677153415168-667213868771979264

## Parameters

| Name | Description | Default / example | |
| --- | --- | --- | --- |
| modbus | Modbus Type (rs485, tcpip) |  |  |

## Configuration example for evcc.yaml

```yaml
meters:
    - name: my_pv
      type: template
      template: huawei-sun2000-inverter
      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
      timeout: 15s # optional
      
      # RS485 via TCP/IP (Modbus RTU)
      modbus: rs485tcpip
      id: 1
      host:  # Hostname
      port: 502 # Port
      timeout: 15s # optional
      
      # Modbus TCP
      modbus: tcpip
      id: 1
      host:  # Hostname
      port: 502 # Port
      timeout: 15s # optional
```
