# my-PV AC•THOR

Bron: https://docs.evcc.io/nl/heating/my-pv-ac-thor

Use the local web interface of AC•THOR to set the value "Power timeout" to a value slightly higher (e.g. + 5s) than the interval time of evcc.
Use control type "Modbus TCP" and set loadpoint minimal current to 0.125A.
If the heating element at the controlled output has < 9 kW, the scaling factor has to be calculated as follows: `scale = 9000 / nominal power` of the connected heater.

Operation mode M3: 9 + 9 kW with an additional heater connected to the relay output is supported. Without load measurement using my-PV meter, the "Load at relay" setting in the local web interface of the AC•THOR must be set to match the nominal power of the heating element at the relay.
If the heater at the controlled output has < 9 kW, AC•THOR firmware a0022401 or higher is required and the value for "Load at relay" must be converted using the scaling factor as follows:
Load at relay = nominal power of the heater at the relay * scale factor

Ondersteunde functies: meter

Sponsortoken vereist: dit apparaat is beschikbaar voor sponsors van het project, zie https://docs.evcc.io/nl/sponsorship.

## Parameters

| Naam | Omschrijving | Standaard / voorbeeld | |
| --- | --- | --- | --- |
| modbus | Modbus Type (tcpip) |  |  |
| tempsource | Temperature source (1, 2, 3) | 1 |  |
| scale | Scale factor for power target value | 1 |  |

## Configuratievoorbeeld voor evcc.yaml

```yaml
chargers:
    - name: my_heating
      type: template
      template: ac-thor
      
      # Modbus TCP
      modbus: tcpip
      id: 1
      host:  # Hostname
      port: 502 # Port
      tempsource: 1 # Temperature source, [1, 2, 3] (optional)
      scale: 1 # Scale factor for power target value, optional
```
