# RCT Power

Source: https://docs.evcc.io/en/meters/rct-power

Supported features: battery-control, curtail

## Parameters

| Name | Description | Default / example | |
| --- | --- | --- | --- |
| host | IP address or hostname | 192.0.2.2 |  |
| port | Port | 8899 |  |
| capacity | Battery capacity | 50 kWh |  |
| minsoc | Minimum charge Lower limit as configured on the battery system. Used by optimizer. | 7 % |  |
| maxsoc | Maximum charge Upper limit as configured on the battery system. Used by optimizer and for grid charging. | 97 % |  |
| capacity2 | Battery capacity of the second battery | 50 kWh |  |
| maxacpower | Maximum AC power of the hybrid inverter | 0 W | advanced |
| externalpower | External power Query external power of all devices connected to S0 |  | advanced |
| maxchargepower | Maximum charge power For forced charging of the battery. |  W | advanced |
| maxdischargepower | Maximum discharge power Maximum discharge power of the storage. |  W | advanced |
| cache | Cache Time interval for data refresh | 30s | advanced |

## Configuration example for evcc.yaml

```yaml
meters:
    - name: my_grid
      type: template
      template: rct-power
      usage: grid
      host: 192.0.2.2 # IP address or hostname
      port: 8899 # Port
      cache: 30s # Cache, Time interval for data refresh (optional)
```

```yaml
meters:
    - name: my_pv
      type: template
      template: rct-power
      usage: pv
      host: 192.0.2.2 # IP address or hostname
      port: 8899 # Port
      maxacpower: 0 # Maximum AC power of the hybrid inverter (W), optional
      externalpower: # External power, Query external power of all devices connected to S0 (optional)
      cache: 30s # Cache, Time interval for data refresh (optional)
```

```yaml
meters:
    - name: my_battery
      type: template
      template: rct-power
      usage: battery
      host: 192.0.2.2 # IP address or hostname
      port: 8899 # Port
      capacity: 50 # Battery capacity (kWh), optional
      minsoc: 7 # Minimum charge (%), Lower limit as configured on the battery system. Used by optimizer. (optional)
      maxsoc: 97 # Maximum charge (%), Upper limit as configured on the battery system. Used by optimizer and for grid charging. (optional)
      capacity2: 50 # Battery capacity of the second battery (kWh), optional
      maxchargepower: # Maximum charge power (W), For forced charging of the battery. (optional)
      maxdischargepower: # Maximum discharge power (W), Maximum discharge power of the storage. (optional)
      cache: 30s # Cache, Time interval for data refresh (optional)
```
