# FoxESS AC EV Charger (Modbus)

Source: https://docs.evcc.io/en/chargers/foxess-ac-ev-charger-modbus

The work mode must be set to "Modbus TCP" in the Fox Switch app. How a session starts depends on the charger's own operating mode - start either via app or RFID card, or automatically on plug-in.

Supported features: mA, rfid, meter, 1p3p

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) |  |  |

## Configuration example for evcc.yaml

```yaml
chargers:
    - name: my_charger
      type: template
      template: foxess-evc
      
      # Modbus TCP
      modbus: tcpip
      id: 1
      host:  # Hostname
      port: 502 # Port
```
