{
  "spec_version": 1,
  "slug": "pace-bms-rs485-modbus",
  "manufacturer": "PACE",
  "model": "PACE BMS rack battery management system, Modbus protocol for RS485 (the document references the BMS-4820 pack)",
  "category": "Home battery",
  "supplier_url": "https://www.pacebms.com/",
  "default_configuration": {
    "protocol": "modbus_rtu",
    "unit_id": 1,
    "addressing": "zero_based",
    "byte_order": "BigEndian",
    "word_order": "HighFirst",
    "native_interface": "rs485",
    "serial": {
      "baud_rate": 9600,
      "parity": "None",
      "data_bits": 8,
      "stop_bits": 1
    }
  },
  "coils": [],
  "discrete_inputs": [],
  "input_registers": [],
  "holding_registers": [
    {
      "address": 0,
      "count": 1,
      "name": "Pack current",
      "data_type": "Int16",
      "units": "A",
      "scale_factor": 0.01,
      "offset": 0,
      "access": "R",
      "description": "Positive while charging, negative while discharging, as the document prints."
    },
    {
      "address": 1,
      "count": 1,
      "name": "Pack voltage",
      "data_type": "UInt16",
      "units": "V",
      "scale_factor": 0.01,
      "offset": 0,
      "access": "R"
    },
    {
      "address": 2,
      "count": 1,
      "name": "State of charge (SOC)",
      "data_type": "UInt16",
      "units": "%",
      "scale_factor": 1,
      "offset": 0,
      "access": "R"
    },
    {
      "address": 3,
      "count": 1,
      "name": "State of health (SOH)",
      "data_type": "UInt16",
      "units": "%",
      "scale_factor": 1,
      "offset": 0,
      "access": "R"
    },
    {
      "address": 4,
      "count": 1,
      "name": "Remaining capacity",
      "data_type": "UInt16",
      "units": "Ah",
      "scale_factor": 0.01,
      "offset": 0,
      "access": "R"
    },
    {
      "address": 5,
      "count": 1,
      "name": "Full charge capacity",
      "data_type": "UInt16",
      "units": "Ah",
      "scale_factor": 0.01,
      "offset": 0,
      "access": "R"
    },
    {
      "address": 6,
      "count": 1,
      "name": "Design capacity",
      "data_type": "UInt16",
      "units": "Ah",
      "scale_factor": 0.01,
      "offset": 0,
      "access": "R"
    },
    {
      "address": 7,
      "count": 1,
      "name": "Battery cycle count",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R"
    },
    {
      "address": 9,
      "count": 1,
      "name": "Warning flag",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Bit field, 1 = occurring, 0 = not occurring: 0 cell over-voltage alarm, 1 cell low-voltage alarm, 2 pack over-voltage alarm, 3 pack low-voltage alarm, 4 charging over-current alarm, 5 discharging over-current alarm, 6-7 reserved, 8 charging high-temperature alarm (cell temperature), 9 discharging high-temperature alarm (cell temperature), 10 charging low-temperature alarm (cell temperature), 11 discharging low-temperature alarm (cell temperature), 12 environment high-temperature alarm, 13 environment low-temperature alarm, 14 MOSFET high-temperature alarm, 15 SOC low alarm."
    },
    {
      "address": 10,
      "count": 1,
      "name": "Protection flag",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Bit field, 1 = occurring, 0 = not occurring: 0 cell over-voltage protection, 1 cell low-voltage protection, 2 pack over-voltage protection, 3 pack low-voltage protection, 4 charging over-current protection, 5 discharging over-current protection, 6 short-circuit protection, 7 charger over-voltage protection, 8 charging high-temperature protection (cell temperature), 9 discharging high-temperature protection (cell temperature), 10 charging low-temperature protection (cell temperature), 11 discharging low-temperature protection (cell temperature), 12 MOSFET high-temperature protection, 13 environment high-temperature protection, 14 environment low-temperature protection, 15 reserved."
    },
    {
      "address": 11,
      "count": 1,
      "name": "Status and fault flag",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Bit field. Faults: 0 charging MOSFET fault, 1 discharging MOSFET fault, 2 temperature sensor fault, 3 reserved, 4 cell fault, 5 front-end sampling communication fault, 6-7 reserved. Status: 8 state of charge, 9 state of discharge, 10 charging MOSFET on, 11 discharging MOSFET on, 12 charging limiter on, 13 reserved, 14 charger reversed, 15 heater on."
    },
    {
      "address": 12,
      "count": 1,
      "name": "Balance status",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Hex value as printed; the document gives it no unit and no bit table, and no per-cell decode is seeded."
    },
    {
      "address": 15,
      "count": 1,
      "name": "Cell 1 voltage",
      "data_type": "UInt16",
      "units": "mV",
      "scale_factor": 1,
      "offset": 0,
      "access": "R"
    },
    {
      "address": 16,
      "count": 1,
      "name": "Cell 2 voltage",
      "data_type": "UInt16",
      "units": "mV",
      "scale_factor": 1,
      "offset": 0,
      "access": "R"
    },
    {
      "address": 17,
      "count": 1,
      "name": "Cell 3 voltage",
      "data_type": "UInt16",
      "units": "mV",
      "scale_factor": 1,
      "offset": 0,
      "access": "R"
    },
    {
      "address": 18,
      "count": 1,
      "name": "Cell 4 voltage",
      "data_type": "UInt16",
      "units": "mV",
      "scale_factor": 1,
      "offset": 0,
      "access": "R"
    },
    {
      "address": 19,
      "count": 1,
      "name": "Cell 5 voltage",
      "data_type": "UInt16",
      "units": "mV",
      "scale_factor": 1,
      "offset": 0,
      "access": "R"
    },
    {
      "address": 20,
      "count": 1,
      "name": "Cell 6 voltage",
      "data_type": "UInt16",
      "units": "mV",
      "scale_factor": 1,
      "offset": 0,
      "access": "R"
    },
    {
      "address": 21,
      "count": 1,
      "name": "Cell 7 voltage",
      "data_type": "UInt16",
      "units": "mV",
      "scale_factor": 1,
      "offset": 0,
      "access": "R"
    },
    {
      "address": 22,
      "count": 1,
      "name": "Cell 8 voltage",
      "data_type": "UInt16",
      "units": "mV",
      "scale_factor": 1,
      "offset": 0,
      "access": "R"
    },
    {
      "address": 23,
      "count": 1,
      "name": "Cell 9 voltage",
      "data_type": "UInt16",
      "units": "mV",
      "scale_factor": 1,
      "offset": 0,
      "access": "R"
    },
    {
      "address": 24,
      "count": 1,
      "name": "Cell 10 voltage",
      "data_type": "UInt16",
      "units": "mV",
      "scale_factor": 1,
      "offset": 0,
      "access": "R"
    },
    {
      "address": 25,
      "count": 1,
      "name": "Cell 11 voltage",
      "data_type": "UInt16",
      "units": "mV",
      "scale_factor": 1,
      "offset": 0,
      "access": "R"
    },
    {
      "address": 26,
      "count": 1,
      "name": "Cell 12 voltage",
      "data_type": "UInt16",
      "units": "mV",
      "scale_factor": 1,
      "offset": 0,
      "access": "R"
    },
    {
      "address": 27,
      "count": 1,
      "name": "Cell 13 voltage",
      "data_type": "UInt16",
      "units": "mV",
      "scale_factor": 1,
      "offset": 0,
      "access": "R"
    },
    {
      "address": 28,
      "count": 1,
      "name": "Cell 14 voltage",
      "data_type": "UInt16",
      "units": "mV",
      "scale_factor": 1,
      "offset": 0,
      "access": "R"
    },
    {
      "address": 29,
      "count": 1,
      "name": "Cell 15 voltage",
      "data_type": "UInt16",
      "units": "mV",
      "scale_factor": 1,
      "offset": 0,
      "access": "R"
    },
    {
      "address": 30,
      "count": 1,
      "name": "Cell 16 voltage",
      "data_type": "UInt16",
      "units": "mV",
      "scale_factor": 1,
      "offset": 0,
      "access": "R"
    },
    {
      "address": 31,
      "count": 1,
      "name": "Cell temperature 1",
      "data_type": "Int16",
      "units": "°C",
      "scale_factor": 0.1,
      "offset": 0,
      "access": "R"
    },
    {
      "address": 32,
      "count": 1,
      "name": "Cell temperature 2",
      "data_type": "Int16",
      "units": "°C",
      "scale_factor": 0.1,
      "offset": 0,
      "access": "R"
    },
    {
      "address": 33,
      "count": 1,
      "name": "Cell temperature 3",
      "data_type": "Int16",
      "units": "°C",
      "scale_factor": 0.1,
      "offset": 0,
      "access": "R"
    },
    {
      "address": 34,
      "count": 1,
      "name": "Cell temperature 4",
      "data_type": "Int16",
      "units": "°C",
      "scale_factor": 0.1,
      "offset": 0,
      "access": "R"
    },
    {
      "address": 35,
      "count": 1,
      "name": "MOSFET temperature",
      "data_type": "Int16",
      "units": "°C",
      "scale_factor": 0.1,
      "offset": 0,
      "access": "R",
      "description": "The document notes the value may be invalid on some models (BMS-4820)."
    },
    {
      "address": 36,
      "count": 1,
      "name": "Environment temperature",
      "data_type": "Int16",
      "units": "°C",
      "scale_factor": 0.1,
      "offset": 0,
      "access": "R",
      "description": "The document notes the value may be invalid on some models (BMS-4820)."
    }
  ],
  "combined_registers": [],
  "notes": "Source: PACE \"PACE BMS Modbus Protocol for RS485\", V1.3, 2017-06-27, prepared by YX.WANG, read from the vendor-document mirror github.com/syssi/esphome-pace-bms docs/PACE-BMS-Modbus-Protocol-for-RS485-V1.3-20170627.pdf (2026-11-23, SHA-256 2aee34db485aad190f039bc314ff82896692c739513263d9f2a1a5c9bf34dc16). MIRROR-SOURCED: PACE serves no download, so this copy is cited. The document names no product code beyond the protocol title; its revision history mentions the BMS-4820 pack. Framing (section 2): 9600 bps (\"Default, subject to the BMS specification\"), no parity, 8 data bits, 1 stop bit, 200 ms timeout, frames >100 ms apart. Functions 0x03 read and 0x10 write, so every row is a holding register. Addresses: the \"Register Address\" column carries in decimal (0079, 0080, 0081 and 0099, 0100) and prints no A-F digits, so it is decimal and the seed stores it as printed (zero_based). The cell block proves it: 0015-0030 holds 16 cells of 32 bytes, which is 16 values only in decimal, and the mirror's own table numbers them 15 to 30. The DIP-switch table gives module addresses 0x01-0x10 with no factory default and the example frames use 0x01, so unit 1 is a placeholder. Seeded: current, pack voltage, SOC, SOH, remaining/full/design capacity, cycle count, the warning, protection and status/fault words decoded from the document's bit tables, the balance word, 16 cell voltages, four cell temperatures, MOSFET and environment temperature. SOC and SOH are UINT8 in a two-byte field, seeded as UInt16 because the format has no 8-bit type. READ-ONLY: the ten protection-delay and SOC-alarm settings (0x3F, 0x43, 0x47, 0x4B, 0x4E, 0x51, 0x53, 0x6F, 0x72, 0x70) are left out: a range is printed, but a longer delay weakens protection. Not seeded: the rest of 0060-0114 (units and types printed, no min/max), the reserved ranges, and the ASCII blocks 0150-0159 and 0160-0179 (ranges and byte counts only, no content). No hardware validation is claimed by the source."
}
