# Solarlog

Kilde: https://docs.evcc.io/da/meters/solarlog

We recommend to use this device for grid power values only, if no other device is available providing this data.
If you have a home battery installed, please do not use this device at all for grid power values.

## Parametre

| Navn | Beskrivelse | Standard / eksempel | |
| --- | --- | --- | --- |
| modbus | Modbus Type (tcpip) |  |  |

## Konfigurationseksempel til evcc.yaml

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

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