# SunSpec Meter

Zdroj: https://docs.evcc.io/cs/meters/sunspec-meter

## Parametry

| Název | Popis | Výchozí / příklad | |
| --- | --- | --- | --- |
| modbus | Modbus Type (tcpip) |  |  |

## Příklad konfigurace pro evcc.yaml

```yaml
meters:
    - name: my_grid
      type: template
      template: sunspec-meter
      usage: grid
      
      # Modbus TCP
      modbus: tcpip
      id: 1
      host:  # Hostname
      port: 502 # Port
```

```yaml
meters:
    - name: my_pv
      type: template
      template: sunspec-meter
      usage: pv
      
      # Modbus TCP
      modbus: tcpip
      id: 1
      host:  # Hostname
      port: 502 # Port
```

```yaml
meters:
    - name: my_charger
      type: template
      template: sunspec-meter
      usage: charge
      
      # Modbus TCP
      modbus: tcpip
      id: 1
      host:  # Hostname
      port: 502 # Port
```
