# Kostal Smart Energy Meter (via inverter)

Fonte: https://docs.evcc.io/it/meters/kostal-smart-energy-meter-via-inverter

The energy meter must be installed in sensor position 2 (grid connection). Sensor position 1 (House consumption) is not supported.

## Parametri

| Nome | Descrizione | Predefinito / esempio | |
| --- | --- | --- | --- |
| modbus | Modbus Type (tcpip) |  |  |

## Esempio di configurazione per evcc.yaml

```yaml
meters:
    - name: my_grid
      type: template
      template: kostal-ksem-inverter
      usage: grid
      
      # Modbus TCP
      modbus: tcpip
      id: 71
      host:  # Hostname
      port: 1502 # Port
```
