{
  "spec_version": 1,
  "slug": "defa-power",
  "manufacturer": "DEFA",
  "model": "DEFA Power",
  "category": "EV charger",
  "supplier_url": "https://www.defa.com/support/defa-power/guides/enable-modbus/",
  "default_configuration": {
    "protocol": "modbus_tcp",
    "port": 502,
    "unit_id": 255,
    "addressing": "zero_based",
    "byte_order": "BigEndian",
    "word_order": "HighFirst"
  },
  "coils": [],
  "discrete_inputs": [],
  "input_registers": [],
  "holding_registers": [
    {
      "address": 290,
      "count": 2,
      "name": "Installation max current",
      "data_type": "UInt32",
      "units": "A",
      "scale_factor": 0.001,
      "offset": 0,
      "access": "R",
      "description": "Max current supported by the charging station, raw value in mA."
    },
    {
      "address": 293,
      "count": 2,
      "name": "Actual current L1",
      "data_type": "UInt32",
      "units": "A",
      "scale_factor": 0.001,
      "offset": 0,
      "access": "R",
      "description": "Current consumed by the EV on phase L1, raw value in mA."
    },
    {
      "address": 296,
      "count": 2,
      "name": "Actual current L2",
      "data_type": "UInt32",
      "units": "A",
      "scale_factor": 0.001,
      "offset": 0,
      "access": "R",
      "description": "Current consumed by the EV on phase L2, raw value in mA."
    },
    {
      "address": 299,
      "count": 2,
      "name": "Actual current L3",
      "data_type": "UInt32",
      "units": "A",
      "scale_factor": 0.001,
      "offset": 0,
      "access": "R",
      "description": "Current consumed by the EV on phase L3, raw value in mA."
    },
    {
      "address": 302,
      "count": 2,
      "name": "Charging station status",
      "data_type": "UInt32",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "ASCII-encoded state: bits 8-15 hold the letter A-F, bits 0-7 hold 1 or 2 depending on the PWM duty cycle (state C2 = 0x4332)."
    },
    {
      "address": 305,
      "count": 2,
      "name": "Charging station power",
      "data_type": "UInt32",
      "units": "W",
      "scale_factor": 0.001,
      "offset": 0,
      "access": "R",
      "description": "Combined power consumed by the EV, raw value in mW."
    },
    {
      "address": 2000,
      "count": 2,
      "name": "eMS max current",
      "data_type": "UInt32",
      "units": "A",
      "scale_factor": 0.001,
      "offset": 0,
      "access": "RW",
      "description": "Max current set by the Modbus master, raw value in mA."
    },
    {
      "address": 2004,
      "count": 2,
      "name": "Timeout max charge current",
      "data_type": "UInt32",
      "units": "A",
      "scale_factor": 0.001,
      "offset": 0,
      "access": "RW",
      "description": "Current applied when the master has not written the alive register within the timeout, raw value in mA. Initial value 0, so charging stays blocked until it is written."
    },
    {
      "address": 2008,
      "count": 2,
      "name": "Alive",
      "data_type": "UInt32",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "W",
      "description": "Alive bit that the Modbus master sets to 1."
    },
    {
      "address": 2012,
      "count": 2,
      "name": "Alive timeout",
      "data_type": "UInt32",
      "units": "ms",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "Time after which the station falls back to the timeout max charge current."
    }
  ],
  "combined_registers": [],
  "notes": "Source: DEFA \"Modbus TCP/IP Protocol Parameters\" for DEFA Power, the vendor PDF in DEFA's support documentation tree (https://www.defa.com/content/uploads/Documentation/EV-Charging/DEFA-Power/Support/modbus_documentation.pdf). The document states slave address 255, port 502, big-endian values and uint32 across two registers. It publishes exactly these ten values; the address gaps between them are not documented and are left out. Modbus is disabled by default and must be enabled in the DEFA Power Setup app. All current and power values are documented in mA and mW, converted here to A and W with 0.001; the alive timeout stays in ms. No document date is printed on the PDF. File identity: SHA-256 da6db678ca73eb19a84db8e8c9436c8f82ef8cea56d825a394698e71583061b1 (PDF, downloaded 2026-11-07 from the vendor URL above)."
}
