# Hoymiles HM & HMS Series (via AhoyDTU)

Source: https://docs.evcc.io/en/meters/hoymiles-hm-and-hms-series-via-ahoydtu

## Parameters

| Name | Description | Default / example | |
| --- | --- | --- | --- |
| host | IP address or hostname | 192.0.2.2 |  |
| id | Inverter ID If multiple exist. The numbering starts at 0. See AhoyDTU webinterface -> Inverter #[ID] | 0 |  |
| cache | Cache Time interval for data refresh | 1s | advanced |

## Configuration example for evcc.yaml

```yaml
meters:
    - name: my_pv
      type: template
      template: hoymiles-ahoydtu
      usage: pv
      host: 192.0.2.2 # IP address or hostname
      id: 0 # Inverter ID, If multiple exist. The numbering starts at 0. See AhoyDTU webinterface -> Inverter #[ID] (optional)
      cache: 1s # Cache, Time interval for data refresh (optional)
```
