# Deye SUN-EVSE22K01-EU-AC

Source: https://docs.evcc.io/en/chargers/deye-sun-evse22k01-eu-ac

The connection uses the charger's Solarman WiFi logger (port 8899). The registers are not officially documented but reverse engineered.
The charger's communication mode must be set to "WiFi", in "LoRa" mode the inverter overrides the power setpoint written by evcc.

Supported features: mA, 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 | |
| --- | --- | --- | --- |
| host | IP address or hostname | 192.0.2.2 |  |
| serial | Serial WiFi logger serial number. It is shown under device information on the logger status page. | 1234567890 |  |
| port | Port | 8899 | advanced |
| id | ID | 162 | advanced |

## Configuration example for evcc.yaml

```yaml
chargers:
    - name: my_charger
      type: template
      template: deye-evse
      host: 192.0.2.2 # IP address or hostname
      serial: 1234567890 # Serial, WiFi logger serial number. It is shown under device information on the logger status page.
      port: 8899 # Port, optional
      id: 162 # ID, optional
```
