Skip to main content

IP20 3K6/5K

Protocol: proprietary ASCII command protocol over the DTU (not Modbus)
Model shown to clients: Yorker (public_model), like the 2–12 kW Yorkers
Profile key (Profile.Model, devices.profile, NATS messages): IP20 3K6/5K
Hardware: Yorker 3.6 kW, CSE-Y3.6K24VP1 (24 V battery). The 5 kVA unit of the same family is covered by the same protocol but has not been seen on hardware yet.
Source: IP20 3K6 5K Modbus communication protocol-V21-english.docx, plus the Yorker 3.6 kW user manual (setting ranges, LCD codes)
Spec: server/internal/modbus/specs/ip20-3k6-5k.json ("transport": "ascii"): 119 registers (58 readable values, 61 settings and commands), 53 alerts

This model is fully served since 2026-11-23: detected on connect, polled for telemetry and alerts, readable with read_registers, writable with write, and part of Analytics and Historical Data.

Shown as "Yorker"​

The unit is sold as a Yorker, and clients see it as one (owner decision, 2026-11-23). Its register map is its own, so inside the server it keeps its own profile key, IP20 3K6/5K. That key is what devices.profile stores, what telemetry and alert messages on NATS carry, and what the server looks the profile up by. The matured Modbus Yorker profile (key Yorker) is untouched.

Every model the server sends out is mapped to the public name (modbus.PublicModel):

  • WebSocket: telemetry records, watch_ack, all_registers, the device list, alerts and alerts_changed, the alert catalog, combined-watch members, activity, Historical Data and plant-admission refusals. All show "model": "Yorker". Replies that describe one device also carry "profile": "IP20 3K6/5K", which is absent for every other model. A client that caches a register catalog must key it by profile when present, else by model. Otherwise the 2–12 kW and 3.6 kW catalogs, both "Yorker", would be mixed up.
  • get_alert_catalog with model: "Yorker" returns both Yorker profiles' entries (codes never collide: ip20.* and y3k6.*). With model: "IP20 3K6/5K" it returns only this one's.
  • get_modbus_specs keeps model as the profile key, since a spec document is per profile and have is keyed by it, and adds "publicModel": "Yorker".
  • Web console: device rows, device details, the op log (CSV too), alerts and commands show "Yorker" with profile. The device and alert filters on "Yorker" also match this profile. The engineering catalogue and the command catalogue stay per profile and add publicModel.
  • HTTP server: device.binding.changed.v1 carries "model": "Yorker".

In the database (since 2026-11-24, migration 0149)​

The devices table stores the two names in two columns (owner decision, 2026-11-24):

ColumnHoldsFor this unit
devices.modelthe public name (modbus.PublicModel)Yorker
devices.profilethe register-map keyIP20 3K6/5K

Every query that picks a register map reads COALESCE(profile, model). profile is NULL on rows written before 0149, where model is still the key (identical for every other family), so the migration touched only the rows stored as IP20 3K6/5K and did not rewrite the whole table. Every later write of a model (first connection, verified serial, logger swap, protocol correction) sets both columns, and only when the key changes. A change of profile alone bumps inventory_version, like a model change.

model alone can no longer tell the two Yorker families apart: a report or a manual query that needs the register map must read COALESCE(profile, model). The HTTP server's binding events copy devices.model, so they say Yorker too.

Rolling back past 0149 (its down migration) writes the key back into model and drops profile. A build older than 0149 running against a migrated database reads Yorker for a 3.6 kW and judges it by the 2–12 kW map. Deploy order (deploy.sh: tcp-ingest, which migrates, before ws-gateway) keeps that window to the rollout itself.

The protocol​

Despite the vendor file name, the inverter speaks no Modbus. The host sends a text command ended by a carriage return, and the inverter answers one line:

ReplyMeaning
(<fields>\r or #<fields>\rA query's answer: space-separated fields
ACK\rA command or setting was accepted
NAK\rRefused: an unknown query, a value out of range, or a setting that cannot be changed in the current mode

Real replies from the bench unit (2026-11-23):

F\r → #230.0 015 024.0 50.0\r rated output V, rated output A, battery system V, frequency
GBAT\r → (025.8 000.00 02 24.0 23.8\r battery voltage, discharge current, …
GMOD\r → (B\r work mode letter (B = battery mode)
BL\r → BL021\r battery SOC, %
TE?\r → (ACDEGHKRX\r the letters of every enabled flag

The serial link behind the DTU is 2400 baud, 8N1. One query is one round trip of about half a second through the DTU. The DTU's own AT commands (heartbeat, AT+DTUPN? logger id, logger restart) are unchanged: the DTU answers those itself, whatever the inverter speaks.

Each register in the spec names the query that returns it (command) and its position among the reply's space-separated fields (field, 0-based). Addresses are synthetic: they only key a register inside the server (alerts, the per-cycle values map) and never appear on the wire. Lifetime energy counters carry a 16-bit extension word in a second field (high_field): the value is high × 65536 + low, in 10 Wh units, so they do not wrap at 655 kWh.

Data types (server/internal/modbus/ascii.go):

data_typeDecoded as
ascii_numberA decimal number, times scale
ascii_int16A decimal 0–65535 read as a signed 16-bit value, times scale (BMS current and temperature)
ascii_bitsA 16-character bit string, bit 15 first (the GWS alarm words)
ascii_letterOne letter; the value is its index in letters (work_mode: PSLBFDX → 0 power on, 1 standby, 2 line (AC), 3 battery, 4 fault, 5 shutdown, 6 test)
ascii_flag1 when the register's flag letter is in the TE? reply, else 0
ascii_switchpower_switch: 0 while the work mode is standby (S) or shutdown (D), else 1
ascii_commandA write-only command with no value (ED1)
asciiText (firmware versions, serial)

Field positions are verified on hardware​

Every query's reply was captured from the bench unit on 2026-11-23 (server/internal/modbus/testdata/ascii_capture_y3k6.json), and a test (TestASCII_EveryRegisterDecodesFromCapture) decodes every register from that capture. The capture corrected two errors in the vendor document as first parsed: GPV's energy fields were three positions off (the document draws four fields as one), and GBMS's values are raw 0.1 V / 0.01 A / 0.1 %, not whole units. The spec is generated (scripts/gen-ip20-3k6-5k-spec.py in cse_tcp_be); do not hand-edit it.

Detection and identity​

Detection tries Modbus first. Only when no Modbus profile confirms and at least one got no usable answer (silence, a reset or a desynchronised stream; an ASCII inverter ignores Modbus frames, so silence is exactly what one looks like) does the server send F\r. A well-formed rating reply with a plausible output voltage (90–260 V) identifies the device as this model: a Modbus inverter never answers F with a rating line, so this is not a guess. The same F query is the health check for a remembered IP20 3K6/5K device. A device remembered as a Modbus model that goes silent is switched to this model only if it answers F. A connection that answers neither Modbus nor F is closed. A read-only diagnostic that sends I, GMOD, F and SVFW to such a connection and logs the raw replies as ascii protocol probe (at most once per logger every 10 minutes) is off unless ASCII_PROBE=on: detection already asks F, and the sweep would add up to ~20 s to every Modbus connection that failed detection, which a reconnect storm multiplies. Turn it on to capture what an unrecognised inverter answers.

Keeping replies in step. A reply carries nothing that names its query, so every query must get exactly one line. A reply that arrived after its query timed out would be read as the next query's answer (GOP decoding GCHG's fields would store a 471,859 kWh load total). The server guards against that twice. After any failed query it drains the socket for one second before the next one. Every reply's shape is also checked against its query: the field count from the spec's ascii_reply_fields (one field when a query is not listed), and for a single numeric field the width of the query's ?s (TCCV???? → 28.2). A reply of the wrong shape fails that query's registers with "reply does not match the query", and the drain then puts the stream back in step. Every neighbouring pair of queries in the telemetry cycle differs in shape, which a test checks.

Serial: a placeholder. The serial query I answers #<serial>R1.<dsp version>. The bench unit answers 27 repeated 2s: the factory never programmed a serial. The server treats an empty serial or one character repeated as no serial (modbus.PlaceholderSerial), because every unset unit reports the same value, so it is never stored or matched as an identity. In practice:

  • The device is served on its logger alone. Its pairing is unverified (snVerification is not "verified").
  • A serial supplied at registration (inverterSn in the register message, scanned from the inverter's label) is kept as it is, but the hardware can never confirm it.
  • A logger swap cannot complete for such a unit: update_device with a new loggerId needs a hardware-verified serial and is refused with INVERTER_UNKNOWN. Delete and re-register the device instead. See Known gaps.
  • A logger moved from a Modbus inverter onto this model is refused. A logger bound to a Modbus inverter's verified serial, now plugged into an inverter that answers F and reports no serial, is on a different inverter: the protocol proves it. Without a serial the database would serve it as the old device, mixing another inverter's telemetry into its history. The connection is refused like any moved logger ("register it again from the app"), and the sighting is recorded so registration can see it. A logger moved between two serial-less units of this model cannot be detected and is served as the old device.
  • Its stored profile is corrected by protocol (since 2026-11-24). The server normally replaces a device's stored model only on a connection that read the inverter serial, which this unit never does. So a row stored with another key kept it. The bench unit's row held Yorker as its key (the 2–12 kW profile), and analytics, Historical Data and alerts judged it by that map: battery power came back MODEL_NOT_SUPPORTED and the analytics battery view showed SOC only. Now a connection that answers the ASCII protocol stores profile IP20 3K6/5K (model Yorker) on its device when the row's key is anything else (log: "corrected this device's stored model"). Answering F is proof no Modbus inverter can give; a logger moved off a verified Modbus inverter is still refused first (above). The write happens only when the key differs.
  • The device's Modbus batch limit is not measured or stored: every query is its own reply.
  • A future unit with a real serial programmed is identified and paired exactly like the Modbus models.

Telemetry​

One telemetry cycle sends each distinct query once, however many registers it fills: 14 telemetry queries (F, GMOD, GTMP, GLINE, GBAT, GBUS, GCHG, GOP, GINV, FAN???, BL, GPV, GBMS, PAR?) plus the alarm query GWS, so about 15 round trips, about 9 seconds per cycle on the bench. The alarm-scan registers come from the same cycle and need no round trip of their own. A query that fails or answers NAK fails only its own registers; a dead link, or two queries in a row timing out, stops the rest of the cycle, so an inverter that stops answering costs about 10 s rather than a timeout per query. The record is published exactly like a Modbus model's (same NATS subject, same telemetry shape, readings keyed by register name).

Writes and reads are served between the queries of a cycle. A cycle this long is most of a write's ~10 s budget, so a write (or the battery_system_voltage read the gateway makes first when the setting has per-system limits) that arrived just after a cycle started used to time out behind it (bench, 2026-11-23). Before each query of the telemetry cycle the server now runs one waiting write or read_registers request, then carries on with the cycle, so a command waits for at most one query (about half a second). A read_registers request is served the same way between its own queries (a full settings read is about 35 queries, ~18 s, longer than a write can wait); a read served in between does not serve others. A read_registers request has its own deadline: a query not reached in time fails its registers with not read in time. A Modbus cycle is a few batched reads and does not interleave.

On every model, a write the server reaches only after its deadline (the caller has already been told it timed out) is not sent; its result is "not sent: the device was busy for longer than the write could wait; nothing was changed, try again".

The firmware registers (firmware_version, firmware_version_date, dsp_firmware_version) are text, which no telemetry query carries. They are read once per connection (SVFW and I, two extra round trips) and added to every cycle's reading as text values, so the console's firmware view and the stored readings have them as they do for the Modbus models. They are gated by the firmware permission like every model's version registers. inverter_sn is never polled; read_registers reads it on request.

rated_power is decoded from rated_output_current (F field 1): 15 A is 3.6 kW (the bench unit, nameplate 3600 VA). The 5 kVA unit's current is not known yet, so it publishes no rated_power until one is seen; an owner can set ratedPowerKw (3.6 or 5) with update_device.

parallel_mode (PAR?) is read and published, but parallel operation is supported on the Nexus only: a plant takes one inverter of this model.

Readable registers​

read_registers sends each distinct query once per request.

AddrNameQueryFieldTypeScaleUnitDescription
1rated_output_voltageF0ascii_number1VRated output voltage (F reply)
2rated_output_currentF1ascii_number1ARated output current (F reply)
3battery_system_voltageF2ascii_number1VNominal battery system voltage (F reply field 3, 'cell count x 120': 12, 24 or 48). Selects the per-system setting limits.
5firmware_versionSVFW0ascii1Main firmware version (SVFW)
6firmware_version_dateSVFW1ascii1Main firmware release date, YYYYMMDD (SVFW)
7inverter_snI0ascii1Inverter serial number (I reply, 27 characters). The bench unit's factory left it unset (all '2').
8dsp_firmware_versionI1ascii1DSP firmware version (I reply)
9work_modeGMOD0ascii_letter1Work mode
10temp_pv_sideGTMP0ascii_number1℃PV side temperature
11temp_charging_sideGTMP1ascii_number1℃Charging side temperature
12temp_ambientGTMP2ascii_number1℃Ambient temperature
13grid_voltageGLINE0ascii_number1VMains input voltage
14grid_frequencyGLINE1ascii_number1HzMains frequency
15grid_import_energy_todayGLINE10ascii_number0.01kWhEnergy drawn from the mains today
16grid_import_energy_totalGLINE12 (high word 11)ascii_number0.01kWhEnergy drawn from the mains, lifetime (extension word x 65536 + total, 10 Wh units)
17battery_voltageGBAT0ascii_number1VBattery voltage
18battery_discharge_currentGBAT1ascii_number1ABattery discharge current
19bus_voltageGBUS0ascii_number1VDC bus voltage
20battery_charge_voltageGCHG1ascii_number1VCharger output voltage
21battery_charge_currentGCHG3ascii_number1ABattery charging current
22charging_stageGCHG17ascii_number1Charging stage
23output_voltage_readingGOP0ascii_number1VAC output voltage
24output_frequency_readingGOP1ascii_number1HzAC output frequency
25output_currentGOP2ascii_number1AAC output current
26output_active_powerGOP4ascii_number1WAC output active power (load)
27output_apparent_powerGOP6ascii_number1VAAC output apparent power
28output_load_percentageGOP9ascii_number1%Output load percentage
29load_energy_todayGOP12ascii_number0.01kWhAC output energy today
30load_energy_totalGOP14 (high word 13)ascii_number0.01kWhAC output energy, lifetime (extension word x 65536 + total, 10 Wh units)
31inverter_voltageGINV0ascii_number1VInverter stage voltage
32inverter_frequencyGINV1ascii_number1HzInverter stage frequency
33inverter_currentGINV2ascii_number1AInverter stage current
34fan_speed_percentageFAN???0ascii_number1%Fan speed
35battery_socBL0ascii_number1%Battery state of charge (BMS SOC when a BMS is connected, else the inverter's estimate)
36pv_voltageGPV0ascii_number1VPV input voltage
37pv_charging_currentGPV2ascii_number1APV charging current (battery side)
38pv_currentGPV3ascii_number1APV input current
39pv_powerGPV4ascii_number1WPV input power
40pv_tracking_statusGPV5ascii_number1PV tracking
41pv_energy_todayGPV20ascii_number0.01kWhPV energy today
42pv_energy_totalGPV22 (high word 21)ascii_number0.01kWhPV energy, lifetime (extension word x 65536 + total, 10 Wh units)
43bms_communication_statusGBMS0ascii_number1BMS communication status (0 = no BMS data)
44bms_voltageGBMS2ascii_number0.1VBMS battery voltage
45bms_currentGBMS3ascii_int160.01ABMS battery current (negative while discharging)
46bms_temperatureGBMS4ascii_int160.1℃BMS battery temperature
47bms_socGBMS5ascii_number0.1%BMS state of charge
48bms_remaining_capacityGBMS6ascii_number0.1AhBMS remaining capacity
49bms_rated_capacityGBMS7ascii_number0.1AhBMS rated capacity
50bms_fault_codeGBMS8ascii_number1BMS fault code
51bms_warning_codeGBMS9ascii_number1BMS warning code
52bms_max_charging_currentGBMS10ascii_number0.01ABMS requested maximum charging current
53bms_charge_voltageGBMS11ascii_number0.1VBMS constant-voltage (charge) point
54fault_codeGWS0ascii_number1Fault code (0 = none); non-zero puts the inverter into fault mode. Same number as the LCD fault code.
55alarm_status_1GWS1ascii_bits1Alarm status word 1 (GWS, bit 15 first)
56alarm_status_2GWS2ascii_bits1Alarm status word 2 (GWS, bit 15 first)
57fan1_faultFAN???3ascii_number1Fan 1 stop signal (1 = fault)
58fan2_faultFAN???4ascii_number1Fan 2 stop signal (1 = fault)
92parallel_modePAR?0ascii_number1Parallel mode (program 27). Read-only here: parallel operation is supported on Nexus only.

What it feeds​

Canonical fieldRegister
pv_power_wpv_power
load_power_woutput_active_power (AC output, as on the Yorker)
battery_soc_pctbattery_soc (BL: the BMS SOC when a BMS reports, the inverter's voltage estimate otherwise)
battery_power_wbms_current × bms_voltage (GBMS), only while the BMS reports (bms_communication_status non-zero). + charging, − discharging
pv_energy_today_kwh / _total_kwhpv_energy_today / pv_energy_total
load_energy_today_kwh / _total_kwhload_energy_today / load_energy_total
grid_import_energy_today_kwh / _total_kwhgrid_import_energy_today / grid_import_energy_total (the GLINE mains counter: on this off-grid unit, energy drawn from the mains)
grid_power_wEstimate, see below: load in Line mode + mains share of charging. 0 with no mains voltage

The protocol has no battery power field, so battery_power_w is the BMS's own voltage times its signed current. On the bench (2026-11-23, battery mode, no load, no PV) that read −0.9 A at 25.7 V, so −23 W of standby draw. In the same readings the inverter's own GBAT discharge current read 0.00 A. The inverter's currents are therefore not used as a fallback: GBAT misses that draw, and the document does not say whether GCHG's charging current includes PV charging. With no BMS reporting (for example a lead-acid bank), battery power is absent. Battery charge and discharge energy come from integrating that power, as for any model without battery counters.

Grid power is an estimate​

The protocol has no grid power or grid current field. GLINE reports only the mains voltage, frequency, limits and energy counters (protocol V21 section 6.5), and no other reply carries a grid current. So that the app's grid figure is not empty, grid_power_w is estimated (owner decision, 2026-11-24):

  • With no mains voltage (grid_voltage 0) it is 0.
  • Otherwise it is the AC load (output_active_power) while in Line mode (work_mode 2, the mains feeds the output through the bypass), plus the mains share of battery charging: battery voltage × (battery_charge_current − pv_charging_current). GCHG's charging current covers PV and mains together, so the PV charger's battery-side current is taken off.

It leaves out conversion losses, so it reads somewhat low. It is never negative, because feed-in to the grid cannot be measured. On the bench (2026-11-24, Line mode) it gave 149 W load + 26.4 V × 19.8 A charging = 672 W. It is absent only for a cycle in which one of those readings did not decode. The raw grid_voltage and grid_frequency are in telemetry as well.

The protocol has no grid export or battery energy counter, so those stay unmapped rather than derived. Energy is in 0.01 kWh steps. Historical Data supports 33 of its 140 parameters for this model (one PV input, single phase); the BMS parameters are reported only while the BMS is talking (bms_communication_status non-zero).

Settings (writes)​

A setting is written with the normal write message, by register name and value, as on every model. The server reads the setting's current value (the Activity Trail's previous value), sends one command, which the inverter answers ACK or NAK, then reads the setting back with its query (readBack, applied): three round trips, about 1.5 s, when the read-back matches at once. A write is never retried: a lost ACK cannot be told from a lost command, and the read-back says whether it took.

  • Numeric settings are sent with the register's printf format (TCCV%04.1f → TCCV28.2). The value must fit the format exactly: a value finer than its step (0.1 V for %04.1f, 1 for %03d), negative, or too wide for the field is refused before anything is sent.
  • Flags (ascii_flag) are 0/1 settings, sent as TE<letter> (1) or TD<letter> (0), and read back from TE?.
  • power_switch is the inverter's on/off: 1 sends SON, 0 sends SOFF. It reads 0 while the work mode is standby or shutdown. On the bench (2026-11-23, no load, no mains) SOFF took the unit from battery mode to standby (S) with its output at 0 V, not to shutdown, and SON brought it back to battery mode at 230 V. The mode change can lag the ACK, so the immediate read-back cannot confirm the switch, and applied is left out. Plant block uses it (shutdown = 0, start = 1). Tier critical.
  • restore_factory_defaults sends ED1; the value is not used. Tier engineering. It is marked resets_device: if the inverter's reply is cut off, the write is reported sent but unconfirmed rather than failed.
  • NAK comes back as ok: false with "the inverter refused … (NAK): the value is outside what it accepts, or the setting cannot be changed in its current mode". output_frequency and restore_factory_defaults are accepted only in standby or AC (line) mode.

Custom commands (custom_command) are Modbus frames and are refused for this model. It is not usable over BLE local control either (see Local control over BLE).

Groups. get_registers groups the settings (server/cmd/ws-gateway/registergroups/ip20-3k6-5k.json): Battery Set, Dual output Set, Grid Set, Inverter Set, Load Set, System Set and More. Grid Set includes battery_mode_wait_time (LT, the wait before switching from battery mode to the mains). More holds restore_factory_defaults and every setting no other group lists (18 more, such as cv_charge_time, battery_overvoltage_point, output_voltage_type and the less common flags), 19 in all; its writable entries are for a Crown Super Admin or Admin only, so anyone else sees 42 of the 61 settings.

Limits. Ranges and options come from the vendor text and the manual: 51 of the 61 settings carry a range or options in the model's catalog. The other ten are restore_factory_defaults (a command) and the nine battery voltage points, which depend on the battery system. The F reply reports it (battery_system_voltage: 12, 24 or 48 V), so get_registers for an online device reads it and applies that system's limits (limitsVariant 24V, 12V or 48V; see the Settings reference). The 24 V table is the Yorker 3.6 kW manual's (programs 15–21, 30), per battery type (battery_type: 0 AGM, 1 Flooded, 2 Lithium, 3 User defined), with the rules the bench showed between settings; the 12 V and 48 V tables are it halved and doubled. The SOC points and the mains voltage points are the same for every battery system. They sit in every variant's table, so the gateway refuses a write outside them before sending it. These ranges were confirmed on the bench unit (2026-11-23), every value restored afterwards:

SettingRangeBench
low_soc_state_of_charge_shutdown_soc_state_of_charge_setting0–50 %0 and 50 stored, 51 NAK
switch_to_battery_soc_state_of_charge_setting0–100 %0 and 100 stored
switch_to_grid_soc_state_of_charge_setting0–90 %0 and 90 stored, 91/95/96/99 NAK
grid_low_voltage_pointAPP 90–154 V, UPS 170–200 VAPP: 90 and 154 stored, 89/155/170 NAK; UPS not tested
grid_high_voltage_point264–280 V264 and 280 stored, 281 NAK

Unlike the 2–12 kW Yorkers, no rule links the two SOC points: Switch to Battery SOC 49 was stored with Switch to Grid SOC at 50. The inverter also enforces its own limits, by answering NAK.

Setting24 V systemAlso capped by
battery_to_grid_voltage_pointAGM/Flooded/User 22–26 V, Lithium 20–25 V
return_to_battery_mode_voltage_pointAGM/Flooded/User 24–29 V, Lithium 23–29 V, or 0 (FUL: when fully charged)
battery_low_voltage_pointLithium 20.6–25 V, User 21–27 V; fixed on AGM/Floodedat most return_to_battery_mode_voltage_point
battery_cutoff_voltageLithium/User 20–24 V; fixed on AGM/Flooded
constant_voltage_pointLithium 25–29 V, User 24–29 V; fixed on AGM/Floodedat least float_charge_point
float_charge_pointLithium 24–28 V, User 26.6–27.8 V; fixed on AGM/Floodedat most constant_voltage_point
equalization_voltage_point25–31.5 Vat most battery_overvoltage_point
battery_overvoltage_point28–32 V
dual_output_cutoff_voltage22–32 Vat most battery_overvoltage_point
max_charging_current10–100 A
grid_charging_current2–100 A (the manual says 120; the firmware refuses 101)
bms_communicationfixed: the firmware refuses TES

Bench, 2026-11-24 (CSE-Y3.6K24VP1, battery type Lithium, every value restored): Return to Battery 22.9 NAK, 23 and 0 stored; Battery Low 25 stored and 25.5–26.2 NAK with Return to Battery at 27.2, but 25 NAK with it at 23; Constant Voltage 27.6 stored with Float at 27.6; Equalization 30 stored, 30.5 NAK, and Dual Output Cutoff 30.5 NAK, with the over-voltage point at 30; Grid Charging Current 100 stored, 101 NAK. BMS Communication: TES is NAKed, and S is in neither flag list (TE?/TD?) this firmware returns, so it can't be switched from the app. The gateway refuses these writes up front with the reason, instead of passing back a NAK.

All settings​

AddrNameRead withWriteUnitDescription
4output_frequencyFF%02dHzSystem (output) frequency
59output_voltageV???V%03dVOutput voltage (program 01)
60output_priorityOPR??OPR%02dOutput priority (program 03)
61operating_modeOPM??OPM%02dAC input / output mode (program 04)
62charging_priorityCPR??CPR%02dCharging priority (program 05)
63grid_charging_currentGCC???GCC%03dAMaximum mains charging current (program 06)
64max_charging_currentCHGC???CHGC%03dAMaximum total (PV + mains) charging current (program 07)
65battery_typeTBAT?TBAT%dBattery type (program 17)
66battery_to_grid_voltage_pointBTG????BTG%04.1fVBattery voltage to switch back to the mains (program 15)
67return_to_battery_mode_voltage_pointBTB????BTB%04.1fVBattery voltage to switch back to battery mode; 0 = when fully charged (program 16)
68battery_low_voltage_pointTBLV????TBLV%04.1fVBattery low-voltage alarm point (program 18)
69battery_cutoff_voltageEOD????EOD%04.1fVBattery low-voltage shutdown point (program 19)
70constant_voltage_pointTCCV????TCCV%04.1fVConstant-voltage (bulk) charging voltage (program 20); must be above the float voltage
71float_charge_pointTCFV????TCFV%04.1fVFloat charging voltage (program 21); must be below the constant-voltage point
72grid_low_voltage_pointLVP???LVP%03dVMains low-voltage point (program 22): APP 90-154 V, UPS 170-200 V
73grid_high_voltage_pointOVP???OVP%03dVMains high-voltage protection point (program 23)
74low_power_discharge_timeLWDT????LWDT%04dminLow power discharge time (program 24)
75equalization_voltage_pointTCQV????TCQV%04.1fVEqualization charging voltage (program 30)
76equalization_charge_timeTCQT????TCQT%04dminEqualization charging time (program 31)
77equalization_timeoutTCQO????TCQO%04dminEqualization timeout (program 32)
78equalization_interval_timeTCQI????TCQI%04dhEqualization interval
79low_soc_state_of_charge_shutdown_soc_state_of_charge_settingBSOCU???BSOCU%03d%BMS low-SOC shutdown point; 0 = off (program 39)
80switch_to_battery_soc_state_of_charge_settingBSOCB???BSOCB%03d%BMS high-SOC point to return to battery mode; 0 = off (program 40)
81switch_to_grid_soc_state_of_charge_settingBSOCG???BSOCG%03d%BMS low-SOC point to switch to the mains; 0 = off (program 41)
82charging_methodCST??CST%02dCharging method
83cv_charge_timeTCVT????TCVT%04dminConstant-voltage charging time (3-stage charging only)
84max_cc_charge_timeCI1??CI1%02dhMaximum constant-current charging time
85battery_overvoltage_pointBTO????BTO%04.1fVBattery overvoltage protection point
86battery_mode_wait_timeLT???LT%03dsWait before switching from battery mode to the mains
87dual_output_cutoff_voltageTCDV????TCDV%04.1fVSecond output battery cutoff voltage (dual-output board)
88dual_output_timeTDOT????TDOT%04dminSecond output time in battery mode; 0 = disabled, 895 = unlimited (dual-output board)
89fan_fault_detectionFT?FT%dFan fault detection
90output_voltage_typeHV?HV%dOutput voltage type (step-down transformer)
91lcd_button_layoutSW??SW%02dLCD button layout
93default_return_to_main_screen_settingTE?TEA (1) / TDA (0)Return the LCD to the home page after a timeout (program 08)
94fast_grid_overvoltage_protectionTE?TEB (1) / TDB (0)Fast mains overvoltage protection (one cycle)
95overload_restartTE?TEC (1) / TDC (0)Restart automatically after an overload fault (program 09)
96over_temperature_restartTE?TED (1) / TDD (0)Restart automatically after an over-temperature fault (program 10)
97source_loss_beepTE?TEE (1) / TDE (0)Beep when the PV or mains supply is lost
98bms_interface_disabledTE?TEF (1) / TDF (0)BMS interface prohibited
99overload_switch_to_bypassTE?TEG (1) / TDG (0)Switch to the mains on a battery-mode overload (program 13)
100frequency_adaptiveTE?TEH (1) / TDH (0)Frequency-adaptive function
101battery_power_savingTE?TEI (1) / TDI (0)Battery power-saving mode
102adaptive_startTE?TEJ (1) / TDJ (0)Adaptive start
103charger_allowedTE?TEK (1) / TDK (0)Charger allowed
104battery_open_circuit_warningTE?TEL (1) / TDL (0)Alarm when no battery is connected (program 28)
105zero_crossing_pllTE?TEM (1) / TDM (0)Zero-crossing phase-locked loop
106equalize_nowTE?TEN (1) / TDN (0)Start equalization charging now (program 34)
107buzzer_muteTE?TEO (1) / TDO (0)Buzzer mute (program 14)
108grid_feed_inTE?TEP (1) / TDP (0)Feed to grid (program 35)
109enable_equalization_mode_chargingTE?TEQ (1) / TDQ (0)Equalization mode (program 29)
110reverse_screen_buttonsTE?TER (1) / TDR (0)Reverse the screen buttons
111bms_communicationTE?TES (1) / TDS (0)BMS communication
112three_phase_combined_displayTE?TET (1) / TDT (0)Three-phase combined display
113low_power_dischargeTE?TEU (1) / TDU (0)Low power discharge
114max_current_chargingTE?TEV (1) / TDV (0)Maximum-current charging
115lcd_auto_offTE?TEX (1) / TDX (0)Turn the LCD backlight off automatically
116inverter_soft_startTE?TEY (1) / TDY (0)Inverter soft start relay (program 25)
117n_relay_quick_closeTE?TEZ (1) / TDZ (0)N relay quick close
118power_switchGMODSON (1) / SOFF (0)Inverter on/off
119restore_factory_defaults—ED1Restore every setting to its factory default (ED1). Standby or AC mode only.

Alerts​

Codes y3k6.*, scanned from the GWS, GMOD and FAN??? replies of each telemetry cycle:

  • y3k6.F01–F29 (28 codes, no F27): the GWS fault code (fault_code), one alert per value. displayCode is the LCD fault number ("1" … "29").
  • y3k6.W100–W115, W204–W215 (21 codes): bits of the GWS alarm words alarm_status_1 and alarm_status_2. displayCode is the LCD alarm ("ALA 52"), except W105 (battery cold start failed), which the manual does not list.
  • y3k6.F30 inverter fault mode, from work_mode, and y3k6.I01 inverter shut down, from power_switch reading 0 (standby or shutdown). SOFF leaves the unit in standby, so an alert keyed on shutdown alone never fired; power_switch is an alarm-scan register for this, read from the same GMOD reply with no extra round trip.
  • y3k6.W301 / W302 fan 1 / fan 2 stopped, from FAN???.

See Device alerts.