# Zendure Solarflow AC / Pro

Source: https://docs.evcc.io/en/meters/zendure-solarflow-ac-pro

For active battery control, the local API must be enabled via the Zendure App (add HEMS and then exit to apply).
The device serial number can be found in the Zendure App in the device settings.
For forced discharge to grid, Energy Export must also be enabled in the Zendure App.

Supported features: battery-control

## Parameters

| Name | Description | Default / example | |
| --- | --- | --- | --- |
| host | IP address or hostname | 192.0.2.2 |  |
| serial | Serial Required only for active battery control. Device serial number (can be found in the Zendure App) | WOB1NHMAMXXXXX3 |  |
| capacity | Battery capacity | 50 kWh |  |
| cache | Cache Time interval for data refresh | 1s | advanced |

## Configuration example for evcc.yaml

```yaml
meters:
    - name: my_battery
      type: template
      template: zendure-solarflow-battery
      usage: battery
      host: 192.0.2.2 # IP address or hostname
      serial: WOB1NHMAMXXXXX3 # Serial, Required only for active battery control. Device serial number (can be found in the Zendure App) (optional)
      capacity: 50 # Battery capacity (kWh), optional
      cache: 1s # Cache, Time interval for data refresh (optional)
```
