DEFA Power

Wallbox with load control over Modbus TCP.

The DEFA Power is a wallbox that charges electric vehicles at home and at work and can be controlled by an energy management system. This Modbus TCP template reads charging power, the current per phase and the charging state and lets you set the maximum charging current and the fallback current from ModbusCloud.

Protocol
Modbus TCP
Connection
Ethernet, Modbus TCP
Registers
10, read and write
Brand
DEFA
Key readings
Charging power · Current per phase · Charging state · Installation max current
Available commands
Max charging current · Fallback current · Alive timeout
Compatible models
DEFA Power
Last updated

Registers (10)

9 read, 4 write

NameUnitAccessAddress (Hidden until you enter your email)Function (hidden)Type (hidden)
Charging PowerWRead305FC04uint32
Current L1ARead293FC04uint32
Current L2ARead296FC04uint32
Current L3ARead299FC04uint32
Charging Station StatusRead302FC04uint32
Installation Max CurrentARead
EMS Max CurrentmARead and write
Timeout Max Charge CurrentmARead and write
AliveWrite
Alive TimeoutmsRead and write

Loading registers…

The ModbusCloud Gateway, front at an angle, with the RS485 terminal and the antenna connectors

Send your device list

If a device is not in the library yet, we build the template for free as soon as we have the register data.

Use cases

  • Show charging power and the current per phase of each charger on a dashboard next to the building load.
  • Get an email alert when the charging state reports an error state E or F.
  • Track the charging power in the history to see when cars charge and how long sessions last.
  • Lower the maximum charging current remotely during a peak in the building load or a high dynamic tariff.

Installation

  1. Connect the charger to the network the ModbusCloud Gateway is on and give it a fixed IP address in the router.

  2. Enable the Modbus service on the charger, for example with the DEFA Power Setup app, and read its IP address in the DEFA Power app.

  3. In ModbusCloud, add a Modbus device with the IP address of the charger, port 502 and unit ID 255, then import this template.

  4. Check that the charging state and the installation max current show plausible values before you write a current.

Things to watch for

Why does the charger not answer on port 502?

The Modbus service is off by default. Enable it with the DEFA Power Setup app. Use unit ID 255. The charger accepts only one Modbus master at a time, so close other connections first.

Why does the charger stop charging after a while?

When nothing writes the alive register within the alive timeout, the charger falls back to the timeout max charge current. That value is 0 by default, which stops charging. Set a fallback current that suits the installation, or make sure a system writes the alive register regularly.

Is the max current per phase or in total?

Per phase. The charger uses the current you write to limit each phase, not the sum of all phases. The value is in milliamperes, so 16000 means 16 A.

What should I watch out for when writing settings?

Write one setting at a time and read it back. Each setting covers two registers and must be written in one request. Writing registers in ModbusCloud is off per gateway until you request it.

Want to see how it works?

Electrician working in an open distribution board