{
  "spec_version": 1,
  "slug": "midnite-classic-150-200-250",
  "manufacturer": "MidNite Solar",
  "model": "Classic 150 / Classic 200 / Classic 250 / Classic 250KS MPPT charge controllers",
  "category": "Charge controller",
  "supplier_url": "https://www.midnitesolar.com/",
  "default_configuration": {
    "protocol": "modbus_tcp",
    "port": 502,
    "unit_id": 10,
    "addressing": "one_based",
    "byte_order": "BigEndian",
    "word_order": "LowFirst"
  },
  "coils": [],
  "discrete_inputs": [],
  "input_registers": [],
  "holding_registers": [
    {
      "address": 4101,
      "count": 1,
      "name": "Unit ID",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "PCB revision in the high byte, unit type in the low byte. Unit type values printed by the document: 150 Classic 150, 200 Classic 200, 250 Classic 250, 251 Classic 250KS."
    },
    {
      "address": 4102,
      "count": 1,
      "name": "Software build year",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R"
    },
    {
      "address": 4103,
      "count": 1,
      "name": "Software build month and day",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Month in the high byte, day in the low byte."
    },
    {
      "address": 4104,
      "count": 1,
      "name": "Information flags word 3",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Bit field; bit 0x0001 is WhizBangJrCrcGood."
    },
    {
      "address": 4109,
      "count": 2,
      "name": "WhizBang Jr. net amp hours",
      "data_type": "Int32",
      "units": "Ah",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Signed, as the document prints it; low word at 4109, high word at 4110."
    },
    {
      "address": 4111,
      "count": 2,
      "name": "Unit device ID",
      "data_type": "UInt32",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Low word at 4111, high word at 4112."
    },
    {
      "address": 4113,
      "count": 1,
      "name": "Status roll",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "A 12-bit value that changes once per second in the low 12 bits, with a 4-bit counter in the top 4 bits."
    },
    {
      "address": 4114,
      "count": 1,
      "name": "Restart timer",
      "data_type": "UInt16",
      "units": "ms",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Countdown until the Classic can wake up."
    },
    {
      "address": 4115,
      "count": 1,
      "name": "Average battery voltage",
      "data_type": "UInt16",
      "units": "V",
      "scale_factor": 0.1,
      "offset": 0,
      "access": "R",
      "description": "One-second average."
    },
    {
      "address": 4116,
      "count": 1,
      "name": "Average PV voltage",
      "data_type": "UInt16",
      "units": "V",
      "scale_factor": 0.1,
      "offset": 0,
      "access": "R",
      "description": "One-second average."
    },
    {
      "address": 4117,
      "count": 1,
      "name": "Displayed battery current",
      "data_type": "UInt16",
      "units": "A",
      "scale_factor": 0.1,
      "offset": 0,
      "access": "R",
      "description": "One-second average."
    },
    {
      "address": 4118,
      "count": 1,
      "name": "Average energy to the battery",
      "data_type": "UInt16",
      "units": "kWh",
      "scale_factor": 0.1,
      "offset": 0,
      "access": "R",
      "description": "Reset once per day."
    },
    {
      "address": 4119,
      "count": 1,
      "name": "Average power to the battery",
      "data_type": "UInt16",
      "units": "W",
      "scale_factor": 1,
      "offset": 0,
      "access": "R"
    },
    {
      "address": 4120,
      "count": 1,
      "name": "Charge stage and state",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Charge stage in the high byte, state in the low byte. Document stage values: 0 Resting, 3 Absorb, 4 BulkMppt, 5 Float, 6 FloatMppt, 7 Equalize, 10 HyperVoc, 18 EqMppt."
    },
    {
      "address": 4121,
      "count": 1,
      "name": "PV input current",
      "data_type": "UInt16",
      "units": "A",
      "scale_factor": 0.1,
      "offset": 0,
      "access": "R",
      "description": "One-second average."
    },
    {
      "address": 4122,
      "count": 1,
      "name": "Last measured open-circuit PV voltage",
      "data_type": "UInt16",
      "units": "V",
      "scale_factor": 0.1,
      "offset": 0,
      "access": "R"
    },
    {
      "address": 4123,
      "count": 1,
      "name": "Highest input voltage seen",
      "data_type": "UInt16",
      "units": "V",
      "scale_factor": 0.1,
      "offset": 0,
      "access": "R"
    },
    {
      "address": 4124,
      "count": 1,
      "name": "Match point shadow index",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Present wind power curve step being indexed, 1-16."
    },
    {
      "address": 4125,
      "count": 1,
      "name": "Daily amp hours",
      "data_type": "UInt16",
      "units": "Ah",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Reset at 23:59."
    },
    {
      "address": 4126,
      "count": 2,
      "name": "Lifetime energy generation",
      "data_type": "UInt32",
      "units": "kWh",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Low word at 4126, high word at 4127, as the document's formula shows."
    },
    {
      "address": 4128,
      "count": 2,
      "name": "Lifetime amp-hour generation",
      "data_type": "UInt32",
      "units": "Ah",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Low word at 4128, high word at 4129."
    },
    {
      "address": 4130,
      "count": 2,
      "name": "Information flags words 1 and 2",
      "data_type": "UInt32",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Low word (InfoFlagsBits) at 4130, InfoFlagsBits2 at 4131; the document's bit table 4130-1 decodes them."
    },
    {
      "address": 4132,
      "count": 1,
      "name": "Battery temperature",
      "data_type": "Int16",
      "units": "°C",
      "scale_factor": 0.1,
      "offset": 0,
      "access": "R",
      "description": "From the external battery temperature sensor; the document notes 25 °C is reported when none is fitted."
    },
    {
      "address": 4133,
      "count": 1,
      "name": "FET temperature",
      "data_type": "Int16",
      "units": "°C",
      "scale_factor": 0.1,
      "offset": 0,
      "access": "R"
    },
    {
      "address": 4134,
      "count": 1,
      "name": "Control PCB temperature",
      "data_type": "Int16",
      "units": "°C",
      "scale_factor": 0.1,
      "offset": 0,
      "access": "R"
    },
    {
      "address": 4135,
      "count": 1,
      "name": "Minutes without power",
      "data_type": "UInt16",
      "units": "min",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Counts up while there is no power, resets to 0 when there is power."
    },
    {
      "address": 4136,
      "count": 1,
      "name": "Recent-history log interval",
      "data_type": "UInt16",
      "units": "s",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "Minimum 60 seconds, as the document prints."
    },
    {
      "address": 4137,
      "count": 1,
      "name": "Modbus port number",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "Valid range 0-65535, default 502, as the document prints."
    },
    {
      "address": 4138,
      "count": 1,
      "name": "Float time today",
      "data_type": "UInt16",
      "units": "s",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Reset at 23:59."
    },
    {
      "address": 4139,
      "count": 1,
      "name": "Absorb time remaining",
      "data_type": "UInt16",
      "units": "s",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Readable, seeded read-only: writing it changes how the battery is charged, and the document's disclaimer says a wrong charge setting can damage a battery bank."
    },
    {
      "address": 4141,
      "count": 1,
      "name": "PWM duty command",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Read-only duty cycle, 0-1023 counts, not percent."
    },
    {
      "address": 4142,
      "count": 1,
      "name": "Reason for the last reset",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Enum decoded by the document's table 4142-1."
    },
    {
      "address": 4143,
      "count": 1,
      "name": "Equalize time remaining",
      "data_type": "UInt16",
      "units": "s",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Readable, seeded read-only: writing it changes how the battery is charged, and the document's disclaimer says a wrong charge setting can damage a battery bank."
    },
    {
      "address": 4148,
      "count": 1,
      "name": "Battery output current limit",
      "data_type": "UInt16",
      "units": "A",
      "scale_factor": 0.1,
      "offset": 0,
      "access": "R",
      "description": "Readable, and seeded read-only: writing it changes how the battery is charged, and the document's own disclaimer says a wrong charge voltage can damage a battery bank."
    },
    {
      "address": 4149,
      "count": 1,
      "name": "Absorb set point voltage",
      "data_type": "UInt16",
      "units": "V",
      "scale_factor": 0.1,
      "offset": 0,
      "access": "R",
      "description": "Readable, and seeded read-only: writing it changes how the battery is charged, and the document's own disclaimer says a wrong charge voltage can damage a battery bank."
    },
    {
      "address": 4150,
      "count": 1,
      "name": "Float voltage set point",
      "data_type": "UInt16",
      "units": "V",
      "scale_factor": 0.1,
      "offset": 0,
      "access": "R",
      "description": "Readable, and seeded read-only: writing it changes how the battery is charged, and the document's own disclaimer says a wrong charge voltage can damage a battery bank."
    },
    {
      "address": 4151,
      "count": 1,
      "name": "Equalize voltage set point",
      "data_type": "UInt16",
      "units": "V",
      "scale_factor": 0.1,
      "offset": 0,
      "access": "R",
      "description": "Readable, and seeded read-only: writing it changes how the battery is charged, and the document's own disclaimer says a wrong charge voltage can damage a battery bank."
    },
    {
      "address": 4152,
      "count": 1,
      "name": "Sliding current limit",
      "data_type": "UInt16",
      "units": "A",
      "scale_factor": 1,
      "offset": 0,
      "access": "R"
    },
    {
      "address": 4157,
      "count": 1,
      "name": "Battery temperature compensation per cell",
      "data_type": "Int16",
      "units": "mV/°C",
      "scale_factor": -0.1,
      "offset": 0,
      "access": "R",
      "description": "The document's conversion is -([4157] / 10) mV per degree C per 2 V cell, in 0.5 mV steps, so the row carries that negative scale: the compensation lowers the charge voltage as the pack warms."
    },
    {
      "address": 4162,
      "count": 1,
      "name": "Equalize time",
      "data_type": "UInt16",
      "units": "s",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Readable, and seeded read-only: writing it changes how the battery is charged, and the document's own disclaimer says a wrong charge voltage can damage a battery bank."
    },
    {
      "address": 4163,
      "count": 1,
      "name": "Equalize interval",
      "data_type": "UInt16",
      "units": "days",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Readable, and seeded read-only: writing it changes how the battery is charged, and the document's own disclaimer says a wrong charge voltage can damage a battery bank."
    },
    {
      "address": 4166,
      "count": 1,
      "name": "Aux 1 low absolute voltage",
      "data_type": "UInt16",
      "units": "V",
      "scale_factor": 0.1,
      "offset": 0,
      "access": "R",
      "description": "Readable, seeded read-only with the other MidNite settings: a wrong threshold switches a load at the wrong time."
    },
    {
      "address": 4204,
      "count": 1,
      "name": "MPP percent of Voc",
      "data_type": "UInt16",
      "units": "%",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Readable, seeded read-only: writing it changes how the battery is charged, and the document's disclaimer says a wrong charge setting can damage a battery bank."
    },
    {
      "address": 4240,
      "count": 2,
      "name": "Read-only flags",
      "data_type": "UInt32",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Low word at 4240, high word at 4241."
    },
    {
      "address": 4244,
      "count": 1,
      "name": "Battery voltage regulation set point, temperature compensated",
      "data_type": "UInt16",
      "units": "V",
      "scale_factor": 0.1,
      "offset": 0,
      "access": "R"
    },
    {
      "address": 4245,
      "count": 1,
      "name": "Nominal battery voltage",
      "data_type": "UInt16",
      "units": "V",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "The document prints the valid values as 12 x 1 through 10 (120 V maximum, 250 V for the 250KS). Readable, seeded read-only: it changes the charging regime."
    },
    {
      "address": 4246,
      "count": 1,
      "name": "Absorb ending amps",
      "data_type": "UInt16",
      "units": "A",
      "scale_factor": 0.1,
      "offset": 0,
      "access": "R",
      "description": "Readable, and seeded read-only: writing it changes how the battery is charged, and the document's own disclaimer says a wrong charge voltage can damage a battery bank."
    },
    {
      "address": 4247,
      "count": 1,
      "name": "Absorb ending state of charge",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Readable, and seeded read-only: writing it changes how the battery is charged, and the document's own disclaimer says a wrong charge voltage can damage a battery bank."
    },
    {
      "address": 4249,
      "count": 1,
      "name": "Rebulk voltage",
      "data_type": "UInt16",
      "units": "V",
      "scale_factor": 0.1,
      "offset": 0,
      "access": "R",
      "description": "Readable, and seeded read-only: writing it changes how the battery is charged, and the document's disclaimer says a wrong charge voltage can damage a battery bank."
    },
    {
      "address": 4250,
      "count": 1,
      "name": "Battery monitor voltage",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "The document prints no conversion or unit for this battery-monitor value (it is marked 'future SOC use'), so no scale is seeded."
    },
    {
      "address": 4251,
      "count": 1,
      "name": "Battery monitor state of charge",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "The document prints no conversion or unit for this battery-monitor value (it is marked 'future SOC use'), so no unit is seeded."
    },
    {
      "address": 4266,
      "count": 1,
      "name": "Raw PV negative current",
      "data_type": "UInt16",
      "units": "A",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Peak amps read from the A/D converter. The document's conversion cell prints [4266] amps while its note column prints '1 count = 0.1 amp'; the two disagree, so the conversion cell is followed here and the conflict recorded."
    },
    {
      "address": 4271,
      "count": 1,
      "name": "Restart timer (latest)",
      "data_type": "UInt16",
      "units": "ms",
      "scale_factor": 1,
      "offset": 0,
      "access": "R"
    },
    {
      "address": 4272,
      "count": 1,
      "name": "Battery current",
      "data_type": "UInt16",
      "units": "A",
      "scale_factor": 0.1,
      "offset": 0,
      "access": "R",
      "description": "Peak amps."
    },
    {
      "address": 4275,
      "count": 1,
      "name": "Reason for resting",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Reason number, as printed."
    },
    {
      "address": 4276,
      "count": 1,
      "name": "Output battery voltage",
      "data_type": "UInt16",
      "units": "V",
      "scale_factor": 0.1,
      "offset": 0,
      "access": "R",
      "description": "Peak volts. The document's conversion cell cites register 4376 here while the register column prints 4276; the seed keeps 4276 and the 0.1 V scale, which is what the neighbouring battery-voltage rows use."
    },
    {
      "address": 4277,
      "count": 1,
      "name": "Input PV voltage",
      "data_type": "UInt16",
      "units": "V",
      "scale_factor": 0.1,
      "offset": 0,
      "access": "R",
      "description": "Peak volts. The document's conversion cell cites register 4377 while the register column prints 4277; the seed keeps 4277 and the 0.1 V scale, as for 4276."
    },
    {
      "address": 4283,
      "count": 1,
      "name": "MPP voltage target",
      "data_type": "UInt16",
      "units": "V",
      "scale_factor": 0.1,
      "offset": 0,
      "access": "R"
    },
    {
      "address": 4286,
      "count": 1,
      "name": "Low watts threshold",
      "data_type": "UInt16",
      "units": "W",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Readable, seeded read-only: writing it changes how the battery is charged, and the document's disclaimer says a wrong charge setting can damage a battery bank. The document's conversion cell cites register 4284 for this row while the register column prints 4286; the seed keeps 4286."
    },
    {
      "address": 4326,
      "count": 1,
      "name": "Modbus address",
      "data_type": "UInt16",
      "units": "",
      "scale_factor": 1,
      "offset": 0,
      "access": "RW",
      "description": "Valid range 0-255; the document prints the default as 10."
    },
    {
      "address": 4365,
      "count": 2,
      "name": "WhizBang Jr. positive amp hours",
      "data_type": "UInt32",
      "units": "Ah",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Low word at 4365, high word at 4366."
    },
    {
      "address": 4367,
      "count": 2,
      "name": "WhizBang Jr. negative amp hours",
      "data_type": "Int32",
      "units": "Ah",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Signed, as the document prints it; low word at 4367, high word at 4368."
    },
    {
      "address": 4369,
      "count": 2,
      "name": "WhizBang Jr. net amp hours",
      "data_type": "Int32",
      "units": "Ah",
      "scale_factor": 1,
      "offset": 0,
      "access": "R",
      "description": "Signed, as the document prints it; low word at 4369, high word at 4370."
    },
    {
      "address": 4371,
      "count": 1,
      "name": "WhizBang Jr. current",
      "data_type": "Int16",
      "units": "A",
      "scale_factor": 0.1,
      "offset": 0,
      "access": "R",
      "description": "The document lists 4371 as one register, scaled and rounded, signed to +-3276.7 A, so the row is a signed 16-bit value in 0.1 A units; 4372 is a different register (WhizBang CRC and temperature)."
    }
  ],
  "combined_registers": [],
  "notes": "Source: MidNite Solar \"MODBUS Network Spec.\", vendor map at midnitesolar.com/firmware/classic_register_map_Rev-C5-December-8-2013.pdf (read 2026-11-23, SHA-256 08d2ca806bc95e982320648a1a0d721f8a2911e29f9223b894b4253a95f159c6); the file says Rev C5, the page headers say Rev C.4, Dec 9, 2013. Covers Classic 150/200/250/250KS per its unit-type table (150, 200, 250, 251 = 250KS); it prints no Lite code, so none is claimed. Addressing: the document says the map starts at register 4101 while the packet sends 4100, so the seed is one_based. Unit 10 is cited: register 4326 prints \"Default address = 10\". Transport: the Ethernet port carries Modbus over TCP/IP (MAC and Ethernet config registers, a TCP/IP advertise flag) and register 4137 prints the port, range 0-65535, default 502; RS-232 is 19.2K 8N1. Word order is LowFirst: every 32-bit row prints its low word first, (([4110] << 16) + [4109]) and likewise 4111/4112, 4126/4127, 4128/4129, 4130/4131, 4240/4241 and 4365-4370. The map has no signedness column: temperatures 4132-4134 are Int16 (a battery sensor reads below zero) and the WhizBang amp-hour rows are Int32 where the notes say (signed). Seeded: telemetry 4101-4135 and 4138-4152, battery-monitor and MPPT rows 4244-4251, 4266, 4271-4277, 4283 and 4286, and WhizBang 4365-4371. WRITES: only 4136 (log interval), 4137 (Modbus port) and 4326 (Modbus address). Every row that changes charging is present but READ-ONLY (4139, 4143, 4148-4151, 4157, 4162, 4163, 4166, 4204, 4245-4247, 4249, 4286), because the disclaimer says no write protection is enforced and a wrong charge voltage can damage a battery bank. Not seeded: calibration, reserved and internal blocks (including the resting references 4294/4295, printed with no conversion), wind and hydro tables, aux-relay blocks, log-selection rows, TCP counters and MAC words. Three conversion cells cite the wrong register (4276/4277 print 4376/4377, 4286 prints 4284); the register column is kept and the typo recorded on those rows."
}
