Skip to main content

Historical Data

Everything a web or Flutter client needs to build the per-inverter Historical Data screen: which request each tab sends, how to draw the reply, the picker's buttons, unit conversion, CSV export, errors, and how to try it all from a terminal. Design background, storage and operations: Historical Data design.

:::note Combined (whole-plant) charts This page is the per-inverter screen. A plant's inverters can also be charted together: send scope: "combined" with plantId (and no deviceKey) on get_param_catalog / get_param_history. Only parameters that mean something combined (total power of each kind, energy counters, rated power, SOC) are offered; a combined Day is in 5-minute buckets and each bucket says how many inverters reported. See Parallel inverters. :::

1. The screen at a glance​

One screen per inverter (logger), with a tab bar and a date stepper:

TabWhat it showsRequestFilter list
DayA line per selected parameter, every reading of the local day (~5 min apart)get_param_history with period: "day"Parameter picker from get_param_catalog (140 parameters in 14 groups)
WeekThe same, Monday–Sunday, in 15-minute stepsget_param_history with period: "week"Same picker
MonthOne bar per day, per energy flowget_analytics with period: "month"Six energy flows
YearOne bar per monthget_analytics with period: "year"Six energy flows
TotalOne bar per year since history beganget_analytics with period: "total"Six energy flows

The connection, userId and the origin rules are the same as every other request: Getting connected. Every request below takes:

  • userId: the signed-in user's UUID.
  • deviceKey: the inverter's device id. Its history is kept across a logger swap.
  • timezone: the user's saved IANA zone, such as "Asia/Karachi". Never an offset like "+05:00".
  • requestId: your own id, echoed on the reply. Use it to drop stale replies when the user taps quickly.

2. Opening the screen​

  1. Send get_param_catalog once. It drives the Day/Week picker.
  2. Set the initial selection: every parameter with defaultSelected: true. Only parameters with real values are pre-selected.
  3. Send the first chart request for the default tab, usually Day for today.

Steps 1 and 3 may be sent together: they have separate in-flight slots per connection, so neither is refused as busy.

get_param_catalog​

// → client
{"type": "get_param_catalog", "requestId": "p1",
"userId": "17833b2e-a851-4a17-a764-62524d667959",
"deviceKey": "9b2d7a40-1c3e-4f5a-8b6c-7d8e9f0a1b2c"}
// ← server
{"type": "param_catalog", "ok": true, "requestId": "p1",
"deviceKey": "9b2d7a40-1c3e-4f5a-8b6c-7d8e9f0a1b2c", "model": "Nexus", "variant": "1ph",
"groups": [
{"key": "generation", "label": "Electricity Generation", "params": [
{"key": "pv1_voltage_v", "label": "DC Voltage PV1", "unit": "V", "kind": "instant",
"supported": true, "defaultSelected": true},
{"key": "pv3_voltage_v", "label": "DC Voltage PV3", "unit": "V", "kind": "instant",
"supported": true, "reason": "MODEL_NOT_SUPPORTED", "defaultSelected": false}
]},
{"key": "output", "label": "Output", "params": [
{"key": "output_voltage_a_v", "label": "Output Voltage A", "unit": "V", "kind": "instant",
"supported": true, "defaultSelected": false, "sameAs": "backup_voltage_a_v"}
]}
]}
  • groups is in display order, and each group's params too. Every parameter is always listed.

  • supported is always true (since 2026-10-09). Every parameter can be selected and charted. Where the inverter has no real value, get_param_history sends 0, and the moment real values arrive it sends those instead. The server decides all of this; the app applies no rules of its own.

  • reason: present when the inverter has no real value for the parameter, so its line is filler 0s. It says why. Absent when the values are the inverter's own. The app may show it as a hint, for example "Not available on this inverter: chart shows 0":

    reasonMeaningExample
    MODEL_NOT_SUPPORTEDThe model has no such registerPV3/PV4 on a two-string inverter; cell voltages on either model
    VARIANT_NOT_SUPPORTEDThe model has it, but not this variantPhase B and C on a single-phase Aotai; Gen Phase-A Frequency on single phase
    NOT_REPORTEDThe model and variant have it, but the inverter's last ~day of readings (288) never carried itAn Aotai's BMS values while its BMS link is down; a standalone IP20's parallel-system bank; a BMS value with no BMS fitted

    An inverter with no readings yet is judged by its model alone, so it is never NOT_REPORTED.

  • sameAs: the key of an earlier parameter that is this very reading on this inverter. Examples: the Aotai's Output group is its UPS Load group, a single-phase Aotai's Back-Up Power is its Back-Up Power A, and Generator Active Power is Gen Phase-A Active Power. The app may hide one of the pair or label them as the same. Absent when the reading is unique, or while variant is "".

  • Inverter and Output groups. Inverter is the inverter bridge's own AC side (voltage, current, frequency on IP20, power on Aotai); its current and power are shown as the inverter reports them — neither vendor documents their sign. Output is the AC output that feeds the loads: the IP20's output terminals and the Aotai's back-up (EPS) port, so on an Aotai it is the same reading as the UPS Load group, under the name both models share. No model here has a PV (panel) temperature register.

  • unit: W, var, V, A, Hz, °C, %, kWh, Ah, h (hours), or "" for none, such as a status code.

  • Map by key, never by label. Labels can be reworded; keys never change. The app's 112-name reference list maps to keys in the reference list below.

  • kind: instant (a measurement), counter (an energy counter that rises until its reset), or state (a status code). It only changes how Week buckets are computed (§3). Draw them all as lines.

  • variant: "1ph" / "3ph" for Aotai once known, otherwise "". With "", a parameter that only one variant has gets no reason, and may simply chart as 0.

  • Caching: the catalog only changes when the device's model changes. Caching it per deviceKey for the session is fine.

The picker's buttons​

All client-side; the server isn't involved:

ButtonDoes
Search boxFilters by label, case-insensitively
CheckboxToggles one parameter. Every one is enabled. Cap the selection at 20: the server refuses more
RestoreSelection = every defaultSelected parameter
ClearEmpties the selection. Keep Confirm disabled while it's empty: the server needs at least one
ConfirmCloses the picker and sends get_param_history for the current tab and date
CollapseFolds the picker away; presentation only

3. Day and Week tabs: get_param_history​

// → client
{"type": "get_param_history", "requestId": "h7",
"userId": "17833b2e-a851-4a17-a764-62524d667959",
"deviceKey": "9b2d7a40-1c3e-4f5a-8b6c-7d8e9f0a1b2c",
"timezone": "Asia/Karachi",
"period": "day", "date": "2026-10-07",
"params": ["pv1_voltage_v", "pv_power_w", "battery_soc_pct"]}
FieldMeaning
period"day": the local day of date. "week": the Monday–Sunday week containing date; send any day of it.
dateYYYY-MM-DD, a local date in timezone. Not in the future.
params1–20 keys from the catalog. Duplicates are ignored. An unknown key is invalid_request. A key the inverter can't report comes back as all 0, with its reason.
// ← server
{"type": "param_history", "ok": true, "requestId": "h7",
"deviceKey": "9b2d7a40-1c3e-4f5a-8b6c-7d8e9f0a1b2c", "model": "Nexus",
"period": {"kind": "day", "from": "2026-10-07", "to": "2026-10-07", "timezone": "Asia/Karachi",
"grain": "native", "availableFrom": "2026-07-07", "isCurrent": true},
"params": [
{"key": "pv1_voltage_v", "label": "DC Voltage PV1", "unit": "V", "kind": "instant", "supported": true, "defaultSelected": true},
{"key": "pv_power_w", "label": "Total DC Input Power", "unit": "W", "kind": "instant", "supported": true, "defaultSelected": true},
{"key": "battery_soc_pct", "label": "SoC", "unit": "%", "kind": "instant", "supported": true, "defaultSelected": true}],
"t": ["2026-10-06T19:02:11Z", "2026-10-06T19:07:12Z"],
"values": {"pv1_voltage_v": [0, 0], "pv_power_w": [0, 0], "battery_soc_pct": [64, 64]},
"unavailable": [],
"dataAsOf": "2026-10-07T08:58:40Z",
"dataStartsAt": "2026-05-02T06:11:04Z"}

Drawing it​

  • One line per key in params, labelled label (unit) after unit conversion (§6).
  • The x axis is time. values[key][i] is the value at t[i] (UTC). Show the axis in period.timezone.
  • Plot by timestamp, never by array index. Readings arrive about every 5 minutes but not exactly, and a DST day has 23 or 25 hours.
  • Values are never null. Where a reading didn't carry a value, the server sends 0. Times when the inverter was offline have no points at all, so break the line where consecutive t values are more than about 15 minutes apart on Day, or 30 minutes on Week.
  • Mixed units on one chart (V next to W next to %) need either one y-axis per unit or normalised lines. Group axes by unit.
  • grain: Day is "native" (every stored reading, ~288 per day). Week is "15m" (up to 672 buckets). In a Week bucket, an instant parameter is the mean of its readings; a counter or state parameter is the last value.
  • reason in params: the line is filler 0s. A parameter the inverter no longer sends, but did send during this period, has no reason and keeps its real values.
  • Signs: battery_power_w and battery_current_a are positive while charging and negative while discharging (Aotai: verified against the inverter's own charge/discharge counters); grid_power_w is positive while importing. Generator, back-up and meter power are as the inverter reports them.

The date stepper​

Tab‹ / › movesEarliestLatest
Day±1 dayavailableFromtoday
Week±7 days (any day of the target week)the week containing availableFromthis week
  • availableFrom is the later of today − 3 calendar months and the inverter's first stored reading (dataStartsAt, null when it has none). Disable earlier dates in the stepper and the calendar.
  • If you still request a day before the 3-month edge, you get ok: true, no points, and unavailable: [{"block": "series", "reason": "PERIOD_OUTSIDE_RETENTION"}]. Show "History is kept for 3 months".
  • A day (or week) that ends before the first stored reading returns no points and unavailable: [{"block": "series", "reason": "NO_DATA"}] — the same when nothing is stored at all. Show "No data before" followed by dataStartsAt — this is "nothing stored", not "the inverter reported nothing".
  • A week that starts before the first stored reading but reaches past it is read as usual and carries notices: [{"code": "NO_DATA_BEFORE", "from": "<dataStartsAt>"}]. notices is always an array.
  • Every timestamp (t, dataAsOf, dataStartsAt, notices[].from) is UTC with a Z suffix.
  • A week that straddles availableFrom returns only the part inside; period.from still reports the Monday.
  • Today (isCurrent: true) ends at the latest stored reading. To keep it live, re-request at most every 5 minutes (the storage cadence) while the screen is open.

4. Month, Year and Total tabs: get_analytics (device-only)​

These tabs use the Analytics request in its device-only scope: send deviceKey and omit plantId. It works for any inverter the user owns, whether or not it belongs to a plant.

TabSendseries.grainOne point per
Month"period": "month", "month": "2026-10"daylocal day, date: "2026-10-06"
Year"period": "year", "year": "2026"monthmonth, date: "2026-09"
Total"period": "total" (no date field)yearyear, date: "2025"
// → client (Month tab)
{"type": "get_analytics", "requestId": "a3",
"userId": "17833b2e-a851-4a17-a764-62524d667959",
"deviceKey": "9b2d7a40-1c3e-4f5a-8b6c-7d8e9f0a1b2c",
"timezone": "Asia/Karachi",
"period": "month", "month": "2026-10"}

The reply is the normal analytics reply (Analytics). The parts this screen uses:

// ← server (trimmed)
{"type": "analytics", "ok": true, "requestId": "a3",
"scope": {"plantId": "", "deviceKey": "9b2d7a40-1c3e-4f5a-8b6c-7d8e9f0a1b2c", "view": "inverter"},
"period": {"kind": "month", "from": "2026-10-01", "to": "2026-10-07", "grain": "day", "isCurrent": true},
"capabilities": {"generation": true, "load": true, "gridImport": false, "gridExport": false, "battery": true},
"series": {"grain": "day", "unit": "kWh", "points": [
{"date": "2026-10-01", "generated": 18.2, "consumed": 12.1, "gridImport": null, "gridExport": null,
"batteryCharge": 4.0, "batteryDischarge": 3.6}]}}

The six checkboxes map to point fields and capability flags:

CheckboxPoint fieldEnabled when
Productiongeneratedcapabilities.generation
Grid Feed-ingridExportcapabilities.gridExport
Consumptionconsumedcapabilities.load
Electricity PurchasinggridImportcapabilities.gridImport
Charging CapacitybatteryChargecapabilities.battery
Discharging CapacitybatteryDischargecapabilities.battery
  • Every reply carries all six fields, so the checkboxes filter client-side with no new request. Disable a checkbox whose capability is false, such as Electricity Purchasing on an Aotai with no energy meter.
  • null means no data, not 0. Leave the bar out.
  • The current month or year stops at today (period.to). Draw the full axis (days 1–31, months 1–12) and leave the future empty.
  • Total starts at the first year the server has stored energy for: when the device's energy was first rolled up, not the inverter's installation date. A year with no data in between is a bar of nulls.
  • Stepper: Month ±1 month, Year ±1 year, Total has none. Never step into the future.
  • A device the user doesn't own is device_not_found.

5. Putting it together (TypeScript)​

A minimal client: a request/reply helper, one function per tab, unit conversion and CSV export. It works in a browser, or adapt it to your state library or Flutter.

type Json = Record<string, any>;

class Gateway {
private seq = 0;
private waiting = new Map<string, (reply: Json) => void>();
constructor(private ws: WebSocket) {
ws.addEventListener("message", (e) => {
const msg = JSON.parse(e.data);
const done = msg.requestId && this.waiting.get(msg.requestId);
if (done) { this.waiting.delete(msg.requestId); done(msg); }
});
}
request(body: Json): Promise<Json> {
const requestId = `r${++this.seq}`;
return new Promise((resolve) => {
this.waiting.set(requestId, resolve);
this.ws.send(JSON.stringify({ ...body, requestId }));
});
}
}

interface Ctx { userId: string; deviceKey: string; timezone: string }

// Picker: load once, then select the defaults.
async function loadCatalog(gw: Gateway, c: Ctx) {
const r = await gw.request({ type: "get_param_catalog", userId: c.userId, deviceKey: c.deviceKey });
if (!r.ok) throw new Error(`${r.code}: ${r.error}`);
const all = r.groups.flatMap((g: Json) => g.params);
const defaults = all.filter((p: Json) => p.defaultSelected).map((p: Json) => p.key);
return { groups: r.groups, defaults };
}

// Day / Week.
async function loadHistory(gw: Gateway, c: Ctx, period: "day" | "week", date: string, keys: string[]) {
const r = await gw.request({ type: "get_param_history", userId: c.userId, deviceKey: c.deviceKey,
timezone: c.timezone, period, date, params: keys.slice(0, 20) });
if (!r.ok) throw new Error(`${r.code}: ${r.error}`);
return r; // r.t, r.values[key], r.params, r.period.availableFrom, r.unavailable
}

// Month / Year / Total: device-only get_analytics (no plantId).
async function loadEnergy(gw: Gateway, c: Ctx, tab: "month" | "year" | "total", value?: string) {
const body: Json = { type: "get_analytics", userId: c.userId, deviceKey: c.deviceKey,
timezone: c.timezone, period: tab };
if (tab === "month") body.month = value; // "2026-10"
if (tab === "year") body.year = value; // "2026"
const r = await gw.request(body);
if (!r.ok) throw new Error(`${r.code}: ${r.error}`);
return r; // r.series.points, r.capabilities
}

// "Enable unit conversion": presentation only; the server always sends base units.
function convert(value: number | null, unit: string): { value: number | null; unit: string } {
if (value === null) return { value, unit };
if ((unit === "W" || unit === "var") && Math.abs(value) >= 1000) return { value: value / 1000, unit: "k" + unit };
if (unit === "kWh" && Math.abs(value) >= 1000) return { value: value / 1000, unit: "MWh" };
return { value, unit };
}

// Export: one row per timestamp, one column per parameter.
function toCsv(reply: Json, timezone: string): string {
const cols = reply.params as Json[];
const fmt = new Intl.DateTimeFormat("sv-SE", { timeZone: timezone, dateStyle: "short", timeStyle: "medium" });
const header = ["Time", ...cols.map((p) => `${p.label} (${p.unit})`)];
const rows = (reply.t as string[]).map((t, i) =>
[fmt.format(new Date(t)), ...cols.map((p) => reply.values[p.key][i] ?? "")]);
return [header, ...rows].map((r) => r.map((v) => `"${String(v).replace(/"/g, '""')}"`).join(",")).join("\n");
}

For a Month/Year/Total export, use the same approach: one row per series.points[i].date, one column per checked flow.

Flutter follows the same shape. Keep a Map<String, Completer<Map<String, dynamic>>> keyed by requestId, complete it from the socket stream, and draw t/values with your chart package, using DateTime.parse(t).toLocal() converted to the user's zone (for example with package:timezone).

6. Units and conversion​

unitMeans"Enable unit conversion" suggestion
WPower≥ 1,000 → kW
varReactive power≥ 1,000 → kvar
kWhEnergy≥ 1,000 → MWh
V, A, Hz, °C, %, Ah, hAs namednone
""A status code (for example Meter Status: 1 = OK, 0 = failure)none

Values are rounded to 3 decimals by the server. Pick one display unit per axis for the whole visible range, not per point, so a line doesn't jump between W and kW.

7. Errors​

Every reply type carries ok: false, code and error on failure:

codeMeaningApp action
invalid_requestMissing or non-UUID userId, missing deviceKey, no params, an unknown key, more than 20 parameters, or a malformed frameA client bug: log it, show a generic error
invalid_periodperiod not day/week (or not a valid Analytics period), a bad date, or a future dateA client bug: fix the stepper bounds
invalid_timezoneNot an IANA zone nameSend the user's saved zone
device_not_foundNot one of this user's devices, or it no longer existsRefresh get_devices and leave the screen
busyA request of the same type is already running on this connection, or the server is saturatedRetry after the in-flight reply arrives, or after about 1 s
timeout, internalA server-side failure"Couldn't load history — Retry", with backoff
unavailableNo device database, or parameter history not deployed on this server yet"Not available yet"; don't retry in a loop

8. Try it from a terminal​

The repo's ws-test-client sends raw JSON and prints every reply. From server/, with the stack running (npm run dev):

WS_URL=ws://127.0.0.1:8090/ws DURATION=5s SEND='{"type":"get_param_catalog","requestId":"p1","userId":"<owner uuid>","deviceKey":"<device id>"}' go run ./cmd/ws-test-client
WS_URL=ws://127.0.0.1:8090/ws DURATION=5s SEND='{"type":"get_param_history","requestId":"h1","userId":"<owner uuid>","deviceKey":"<device id>","timezone":"Asia/Karachi","period":"day","date":"2026-10-07","params":["pv1_voltage_v","pv_power_w","battery_soc_pct"]}' go run ./cmd/ws-test-client
WS_URL=ws://127.0.0.1:8090/ws DURATION=5s SEND='{"type":"get_analytics","requestId":"a1","userId":"<owner uuid>","deviceKey":"<device id>","timezone":"Asia/Karachi","period":"total"}' go run ./cmd/ws-test-client

<owner uuid> is the device's owner_user_id; deviceadmin status <deviceKey or loggerId> shows it. Against the deployed gateway, use its address in WS_URL.

9. Checklist before shipping the screen​

  • The catalog is loaded once; the initial selection is defaultSelected.
  • Every parameter is selectable; at most 20 can be selected; Confirm is disabled when nothing is selected.
  • Day and Week plot by timestamp, break lines at time gaps, and group y-axes by unit.
  • The Day/Week stepper stops at availableFrom and at today; Month/Year stop at the current period.
  • Month, Year and Total send get_analytics without plantId; checkboxes follow capabilities; null bars are left out.
  • Replies are matched by requestId, and stale ones are dropped.
  • Unit conversion is display-only; CSV export uses the reply on screen.
  • Every error code above has a message; busy, timeout and internal retry with backoff, never in a tight loop.
  • Parameters are matched by key; a row with a reason can show it as a hint; there is no support logic in the app.

10. Reference list​

This table maps each of the app's 112 reference parameters to its catalog key. The status columns show what each model can report. IP20 3K6/5K (the Yorker 3.6 kW, ASCII protocol) is supported since 2026-11-23: 33 of the 140 catalog parameters, one PV input, single phase; its BMS values, and Battery Power (the BMS's own voltage × current), are reported only while its BMS is talking (bms_communication_status non-zero). The marks:

  • ✓: real values. Every row is selectable; the other marks say why a row charts as 0 (reason).
  • ¹: the mapping rests on the vendor spec and has not yet been compared with the inverter's own screen.
  • ²: compared with real readings: the Aotai's register 66 counts running hours around the clock, PV or not, and resets at the inverter's own midnight. Set the inverter's clock, or the reset won't fall at local midnight.
  • = key: the same reading as that parameter (sameAs).
  • 3ph only: VARIANT_NOT_SUPPORTED on a single-phase unit.
  • —: MODEL_NOT_SUPPORTED.

At runtime a ✓ can still come back as NOT_REPORTED for a particular inverter, for example the Aotai's BMS values while its BMS link is down.

The Aotai's four grid buy/sell counters (Daily/Cumulative Grid Feed-in, Daily/Cumulative Energy Purchased) come from its external energy meter. While the meter is offline they read 0, so they can always be charted. They switch to real values as soon as the meter reports online (meter_com_status = 1). That 0 means "not measured", not "no grid energy". Analytics (get_analytics) still treats grid import and export as not reported until the meter is online.

Rated Output Power on an IP20 2–12 kW is the rating stored on the device, when one has been set. Otherwise it comes from the model code (register 57). The Yorker 5 kW, 6 kW and 6.5 kW all report the same code, 6KU (0x10/0x11), which says nothing about their rating, so with no stored rating those units come back NOT_REPORTED for rated_power_w (since 2026-11-17; before that they reported 6 kW).

#GroupReference namekeyUnitAotai 1phAotai 3phIP20 2–12 kWIP20 3K6/5K
1Basic InformationRated Output Powerrated_power_wW✓✓✓✓
2Electricity GenerationDC Voltage PV1pv1_voltage_vV✓ ¹✓ ¹✓ ¹✓ ¹
3Electricity GenerationDC Voltage PV2pv2_voltage_vV✓ ¹✓ ¹✓ ¹—
4Electricity GenerationDC Voltage PV3pv3_voltage_vV————
5Electricity GenerationDC Voltage PV4pv4_voltage_vV————
6Electricity GenerationDC Current PV1pv1_current_aA✓ ¹✓ ¹✓ ¹✓ ¹
7Electricity GenerationDC Current PV2pv2_current_aA✓ ¹✓ ¹✓ ¹—
8Electricity GenerationDC Current PV3pv3_current_aA————
9Electricity GenerationDC Current PV4pv4_current_aA————
10Electricity GenerationDC Power PV1pv1_power_wW✓ ¹✓ ¹✓ ¹✓ ¹
11Electricity GenerationDC Power PV2pv2_power_wW✓ ¹✓ ¹✓ ¹—
12Electricity GenerationDC Power PV3pv3_power_wW————
13Electricity GenerationDC Power PV4pv4_power_wW————
14Electricity GenerationTotal DC Input Powerpv_power_wW✓✓✓✓
15Electricity GenerationDaily Solar Productionpv_energy_today_kwhkWh✓✓✓✓
16GridR/U/A Phase Grid Powergrid_power_a_wW✓ ¹✓ ¹✓ ¹—
17GridS/V/B Phase Grid Powergrid_power_b_wW3ph only✓ ¹✓ ¹—
18GridT/W/C Phase Grid Powergrid_power_c_wW3ph only✓ ¹✓ ¹—
19GridCumulative Grid Feed-ingrid_export_energy_total_kwhkWh✓✓✓—
20GridCumulative Energy Purchasedgrid_import_energy_total_kwhkWh✓✓✓✓
21GridDaily Grid Feed-ingrid_export_energy_today_kwhkWh✓✓✓—
22GridDaily Energy Purchasedgrid_import_energy_today_kwhkWh✓✓✓✓
23GridGrid voltage Agrid_voltage_a_vV✓ ¹✓ ¹✓ ¹✓ ¹
24GridGrid voltage Bgrid_voltage_b_vV3ph only✓ ¹✓ ¹—
25GridGrid voltage Cgrid_voltage_c_vV3ph only✓ ¹✓ ¹—
26GridGrid current Agrid_current_a_aA✓ ¹✓ ¹✓ ¹—
27GridGrid current Bgrid_current_b_aA3ph only✓ ¹✓ ¹—
28GridGrid current Cgrid_current_c_aA3ph only✓ ¹✓ ¹—
29GridGrid frequency Agrid_frequency_hzHz✓ ¹✓ ¹✓ ¹✓ ¹
30GridGrid Reactive Power R/U/Agrid_reactive_power_a_varvar✓ = grid_reactive_power_var ¹✓ ¹——
31GridGrid Reactive Power S/V/Bgrid_reactive_power_b_varvar3ph only✓ ¹——
32GridGrid Reactive Power T/W/Cgrid_reactive_power_c_varvar3ph only✓ ¹——
33ConsumptionTotal Consumption Powerload_power_wW✓✓✓✓
34ConsumptionCumulative Consumptionload_energy_total_kwhkWh✓✓✓✓
35ConsumptionDaily Consumptionload_energy_today_kwhkWh✓✓✓✓
36ConsumptionBackup_energy_daybackup_energy_today_kwhkWh————
37ConsumptionBackup_energy_totalbackup_energy_total_kwhkWh————
38BatteryBattery Voltage1battery_voltage_vV✓ ¹✓ ¹✓ ¹✓ ¹
39BatteryBattery current 1battery_current_aA✓✓——
40BatteryBattery Powerbattery_power_wW✓✓—✓
41BatteryBMS Temper1bms1_temperature_c°C✓ = bms_temperature_c ¹✓ = bms_temperature_c ¹——
42BatteryBMS1_Charge_Imaxbms1_max_charge_current_aA✓ ¹✓ ¹——
43BatteryBMS1_DisCharge_Imaxbms1_max_discharge_current_aA✓ ¹✓ ¹——
44BatterySoCbattery_soc_pct%✓✓✓✓
45BatteryTotal Charging Energybattery_charge_energy_total_kwhkWh✓✓✓—
46BatteryTotal Discharging Energybattery_discharge_energy_total_kwhkWh✓✓✓—
47BatteryDaily Charging Energybattery_charge_energy_today_kwhkWh✓✓✓—
48BatteryDaily Discharging Energybattery_discharge_energy_today_kwhkWh✓✓✓—
49BMSBMS Voltagebms_voltage_vV✓ ¹✓ ¹✓ ¹✓ ¹
50BMSBMS Currentbms_current_aA✓ ¹✓ ¹✓ ¹✓ ¹
51BMSBMS Temperaturebms_temperature_c°C✓ ¹✓ ¹✓ ¹✓ ¹
52BMSBMS Charge Cut Off Voltbms_charge_cutoff_voltage_vV✓ ¹✓ ¹——
53BMSBMS Discharge Cut Off Voltbms_discharge_cutoff_voltage_vV✓ ¹✓ ¹——
54BMSBMS Max Charge Currentbms_max_charge_current_aA✓ ¹✓ ¹✓ ¹✓ ¹
55BMSBMS Max Discharge Currentbms_max_discharge_current_aA✓ ¹✓ ¹✓ ¹—
56BMSBMS SOCbms_soc_pct%✓ ¹✓ ¹✓ ¹✓ ¹
57BMSBMS SOHbms_soh_pct%✓ ¹✓ ¹✓ ¹—
58BMSAh Numberbms_capacity_ahAh————
59BMSBMS Cell Maximum Voltagebms_cell_voltage_max_vV————
60BMSBMS Minimum Cell Voltagebms_cell_voltage_min_vV————
61TemperatureTemperature- Inverterinverter_temperature_c°C✓ ¹✓ ¹✓ ¹✓ ¹
62OtherDaily Production Hourproduction_hours_today_hh————
63OtherTotal Production Hourproduction_hours_total_hh————
64OtherDaily Running Hourrunning_hours_today_hh✓ ²✓ ²——
65OtherTotal Running Hourrunning_hours_total_hh————
66GeneratorGenerator Reactive Powergen_reactive_power_varvar✓ ¹✓ ¹——
67GeneratorDaily Production Generatorgen_energy_today_kwhkWh✓ ¹✓ ¹——
68GeneratorTotal Production Generatorgen_energy_total_kwhkWh✓ ¹✓ ¹——
69GeneratorLoad 2 / Generator Phase A Active Powergen_power_a_wW✓ ¹✓ ¹✓ ¹—
70GeneratorLoad 2 / Generator Phase B Active Powergen_power_b_wW3ph only✓ ¹✓ ¹—
71GeneratorLoad 2 / Generator Phase C Active Powergen_power_c_wW3ph only✓ ¹✓ ¹—
72GeneratorGen Phase-A Voltagegen_voltage_a_vV✓ ¹✓ ¹✓ ¹—
73GeneratorGen Phase-B Voltagegen_voltage_b_vV3ph only✓ ¹✓ ¹—
74GeneratorGen Phase-C Voltagegen_voltage_c_vV3ph only✓ ¹✓ ¹—
75GeneratorGen Phase-A Currentgen_current_a_aA✓ ¹✓ ¹✓ ¹—
76GeneratorGen Phase-B Currentgen_current_b_aA3ph only✓ ¹✓ ¹—
77GeneratorGen Phase-C Currentgen_current_c_aA3ph only✓ ¹✓ ¹—
78GeneratorGen Phase-A Frequencygen_frequency_a_hzHz3ph only✓ ¹✓ ¹—
79GeneratorGen Phase-B Frequencygen_frequency_b_hzHz3ph only✓ ¹✓ ¹—
80GeneratorGen Phase-C Frequencygen_frequency_c_hzHz3ph only✓ ¹✓ ¹—
81GeneratorGenerator Phase A Reactive Powergen_reactive_power_a_varvar✓ = gen_reactive_power_var ¹✓ ¹——
82GeneratorGenerator Phase B Reactive Powergen_reactive_power_b_varvar3ph only✓ ¹——
83GeneratorGenerator Phase C Reactive Powergen_reactive_power_c_varvar3ph only✓ ¹——
84GeneratorGenerator Monthly Powergen_energy_month_kwhkWh✓ ¹✓ ¹——
85GeneratorGenerator Annual Powergen_energy_year_kwhkWh✓ ¹✓ ¹——
86UPS LoadBack-Up voltage Abackup_voltage_a_vV✓ ¹✓ ¹——
87UPS LoadBack-Up voltage Bbackup_voltage_b_vV3ph only✓ ¹——
88UPS LoadBack-Up voltage Cbackup_voltage_c_vV3ph only✓ ¹——
89UPS LoadBack-Up current Abackup_current_a_aA✓ ¹✓ ¹——
90UPS LoadBack-Up current Bbackup_current_b_aA3ph only✓ ¹——
91UPS LoadBack-Up current Cbackup_current_c_aA3ph only✓ ¹——
92UPS LoadBack-Up frequency Abackup_frequency_a_hzHz✓ ¹✓ ¹——
93UPS LoadBack-Up frequency Bbackup_frequency_b_hzHz3ph only✓ ¹——
94UPS LoadBack-Up frequency Cbackup_frequency_c_hzHz3ph only✓ ¹——
95UPS LoadBack-Up power Abackup_power_a_wW✓ ¹✓ ¹——
96UPS LoadBack-Up power Bbackup_power_b_wW3ph only✓ ¹——
97UPS LoadBack-Up power Cbackup_power_c_wW3ph only✓ ¹——
98UPS LoadBack-Up powerbackup_power_wW✓ = backup_power_a_w ¹✓ ¹——
99UPS Load2Back-Up2 Voltage Abackup2_voltage_a_vV✓ ¹✓ ¹——
100UPS Load2Back-Up2 Voltage Bbackup2_voltage_b_vV3ph only✓ ¹——
101UPS Load2Back-Up2 Voltage Cbackup2_voltage_c_vV3ph only✓ ¹——
102UPS Load2Back-Up2 Current Abackup2_current_a_aA✓ ¹✓ ¹——
103UPS Load2Back-Up2 Current Bbackup2_current_b_aA3ph only✓ ¹——
104UPS Load2Back-Up2 Current Cbackup2_current_c_aA3ph only✓ ¹——
105UPS Load2Back-Up2 Power Abackup2_power_a_wW✓ ¹✓ ¹——
106UPS Load2Back-Up2 Power Bbackup2_power_b_wW3ph only✓ ¹——
107UPS Load2Back-Up2 Power Cbackup2_power_c_wW3ph only✓ ¹——
108UPS Load2Back-Up2 Total Output Powerbackup2_power_wW✓ = backup2_power_a_w ¹✓ ¹——
109MeterMeter power Ameter_power_a_wW✓ ¹✓ ¹——
110MeterMeter power Bmeter_power_b_wW3ph only✓ ¹——
111MeterMeter power Cmeter_power_c_wW3ph only✓ ¹——
112MeterMeter powermeter_power_wW✓ = meter_power_a_w ¹✓ ¹——

Where the reference name and the catalog label differ, they are the same parameter:

  • Grid frequency A is grid_frequency_hz.
  • Battery Voltage1 and Battery current 1 are battery_voltage_v and battery_current_a.
  • Temperature- Inverter is inverter_temperature_c.
  • "Load 2 / Generator Phase A/B/C Active Power" is Gen Phase-A/B/C Active Power.

On the Aotai, BMS Temper1 is the same register as BMS Temperature (77). The BMS1 Imax values are the inverter's copy of the BMS limits (79/81). With the BMS link down they show the inverter's own limits, while the BMS group's values (310–318) freeze at the last ones the BMS sent. So every Aotai BMS parameter is read only while the BMS link is up (bms_com_status = 1). An inverter whose BMS link has been down for a day reports them as NOT_REPORTED.

Catalog parameters outside the reference list (28 of them):

ParameterStatus
Total Solar Production (pv_energy_total_kwh)Every model; the lifetime PV counter
Total Grid Power (grid_power_w)All models; + importing. On IP20 3K6/5K it is an estimate since 2026-11-24 (the protocol has no grid power): the load in Line mode plus the mains share of battery charging, 0 with no mains voltage, never negative; see the protocol page. On Aotai it is 0 while grid_power_status reads Balance (0), as on the inverter's screen, and the inverter power is its negation (since 2026-11-05). Since 2026-11-12 Balance zeroes it only while the energy meter is online or the reading is at most 250 W (standby draw); without a meter a larger reading is real grid power and is kept
Grid Reactive Power (grid_reactive_power_var)Aotai. On single phase it is also R/U/A phase
Generator Active Power (gen_power_w)Aotai. On single phase it is also Gen Phase-A Active Power
Meter Status (meter_status)Aotai; 1 = meter online
Temperature - Ambient (ambient_temperature_c)IP20 2–12 kW and IP20 3K6/5K
Inverter group (11)The inverter bridge's AC side. Aotai voltage, current and power; IP20 (both families) voltage, current and frequency. Phases B/C need three phases
Output group (11)The AC output that feeds the loads. On the Aotai it is the UPS Load group (sameAs); on the IP20, its output terminals