# my-PV AC•THOR 9s

Source: https://docs.evcc.io/en/heating/my-pv-ac-thor-9s

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

Supported features: meter

Sponsor token required: this device is available to sponsors of the project, see https://docs.evcc.io/en/sponsorship.

## Parameters

| Name | Description | Default / example | |
| --- | --- | --- | --- |
| modbus | Modbus Type (tcpip) |  |  |
| tempsource | Temperature source (1, 2, 3) | 1 |  |
| scale | Scale factor for power target value | 1 |  |

## Configuration example for 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
```
