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:
| Tab | What it shows | Request | Filter list |
|---|---|---|---|
| Day | A 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) |
| Week | The same, Monday–Sunday, in 15-minute steps | get_param_history with period: "week" | Same picker |
| Month | One bar per day, per energy flow | get_analytics with period: "month" | Six energy flows |
| Year | One bar per month | get_analytics with period: "year" | Six energy flows |
| Total | One bar per year since history began | get_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
- Send
get_param_catalogonce. It drives the Day/Week picker. - Set the initial selection: every parameter with
defaultSelected: true. Only parameters with real values are pre-selected. - 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"}
]}
]}
-
groupsis in display order, and each group'sparamstoo. Every parameter is always listed. -
supportedis alwaystrue(since 2026-10-09). Every parameter can be selected and charted. Where the inverter has no real value,get_param_historysends 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":reasonMeaning Example MODEL_NOT_SUPPORTEDThe model has no such register PV3/PV4 on a two-string inverter; cell voltages on either model VARIANT_NOT_SUPPORTEDThe model has it, but not this variant Phase 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 it An 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 whilevariantis"". -
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 bylabel. 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), orstate(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 noreason, and may simply chart as 0. -
Caching: the catalog only changes when the device's model changes. Caching it per
deviceKeyfor the session is fine.
The picker's buttons
All client-side; the server isn't involved:
| Button | Does |
|---|---|
| Search box | Filters by label, case-insensitively |
| Checkbox | Toggles one parameter. Every one is enabled. Cap the selection at 20: the server refuses more |
| Restore | Selection = every defaultSelected parameter |
| Clear | Empties the selection. Keep Confirm disabled while it's empty: the server needs at least one |
| Confirm | Closes the picker and sends get_param_history for the current tab and date |
| Collapse | Folds 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"]}
| Field | Meaning |
|---|---|
period | "day": the local day of date. "week": the Monday–Sunday week containing date; send any day of it. |
date | YYYY-MM-DD, a local date in timezone. Not in the future. |
params | 1–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, labelledlabel (unit)after unit conversion (§6). - The x axis is time.
values[key][i]is the value att[i](UTC). Show the axis inperiod.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 consecutivetvalues 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, aninstantparameter is the mean of its readings; acounterorstateparameter is the last value.reasoninparams: the line is filler 0s. A parameter the inverter no longer sends, but did send during this period, has noreasonand keeps its real values.- Signs:
battery_power_wandbattery_current_aare positive while charging and negative while discharging (Aotai: verified against the inverter's own charge/discharge counters);grid_power_wis positive while importing. Generator, back-up and meter power are as the inverter reports them.
The date stepper
| Tab | ‹ / › moves | Earliest | Latest |
|---|---|---|---|
| Day | ±1 day | availableFrom | today |
| Week | ±7 days (any day of the target week) | the week containing availableFrom | this week |
availableFromis the later of today − 3 calendar months and the inverter's first stored reading (dataStartsAt,nullwhen 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, andunavailable: [{"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 bydataStartsAt— 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>"}].noticesis always an array. - Every timestamp (
t,dataAsOf,dataStartsAt,notices[].from) is UTC with aZsuffix. - A week that straddles
availableFromreturns only the part inside;period.fromstill 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.
| Tab | Send | series.grain | One point per |
|---|---|---|---|
| Month | "period": "month", "month": "2026-10" | day | local day, date: "2026-10-06" |
| Year | "period": "year", "year": "2026" | month | month, date: "2026-09" |
| Total | "period": "total" (no date field) | year | year, 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:
| Checkbox | Point field | Enabled when |
|---|---|---|
| Production | generated | capabilities.generation |
| Grid Feed-in | gridExport | capabilities.gridExport |
| Consumption | consumed | capabilities.load |
| Electricity Purchasing | gridImport | capabilities.gridImport |
| Charging Capacity | batteryCharge | capabilities.battery |
| Discharging Capacity | batteryDischarge | capabilities.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. nullmeans 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
unit | Means | "Enable unit conversion" suggestion |
|---|---|---|
W | Power | ≥ 1,000 → kW |
var | Reactive power | ≥ 1,000 → kvar |
kWh | Energy | ≥ 1,000 → MWh |
V, A, Hz, °C, %, Ah, h | As named | none |
"" | 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:
code | Meaning | App action |
|---|---|---|
invalid_request | Missing or non-UUID userId, missing deviceKey, no params, an unknown key, more than 20 parameters, or a malformed frame | A client bug: log it, show a generic error |
invalid_period | period not day/week (or not a valid Analytics period), a bad date, or a future date | A client bug: fix the stepper bounds |
invalid_timezone | Not an IANA zone name | Send the user's saved zone |
device_not_found | Not one of this user's devices, or it no longer exists | Refresh get_devices and leave the screen |
busy | A request of the same type is already running on this connection, or the server is saturated | Retry after the in-flight reply arrives, or after about 1 s |
timeout, internal | A server-side failure | "Couldn't load history — Retry", with backoff |
unavailable | No 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
availableFromand at today; Month/Year stop at the current period. - Month, Year and Total send
get_analyticswithoutplantId; checkboxes followcapabilities;nullbars 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
codeabove has a message;busy,timeoutandinternalretry with backoff, never in a tight loop. - Parameters are matched by
key; a row with areasoncan 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_SUPPORTEDon 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).
| # | Group | Reference name | key | Unit | Aotai 1ph | Aotai 3ph | IP20 2–12 kW | IP20 3K6/5K |
|---|---|---|---|---|---|---|---|---|
| 1 | Basic Information | Rated Output Power | rated_power_w | W | ✓ | ✓ | ✓ | ✓ |
| 2 | Electricity Generation | DC Voltage PV1 | pv1_voltage_v | V | ✓ ¹ | ✓ ¹ | ✓ ¹ | ✓ ¹ |
| 3 | Electricity Generation | DC Voltage PV2 | pv2_voltage_v | V | ✓ ¹ | ✓ ¹ | ✓ ¹ | — |
| 4 | Electricity Generation | DC Voltage PV3 | pv3_voltage_v | V | — | — | — | — |
| 5 | Electricity Generation | DC Voltage PV4 | pv4_voltage_v | V | — | — | — | — |
| 6 | Electricity Generation | DC Current PV1 | pv1_current_a | A | ✓ ¹ | ✓ ¹ | ✓ ¹ | ✓ ¹ |
| 7 | Electricity Generation | DC Current PV2 | pv2_current_a | A | ✓ ¹ | ✓ ¹ | ✓ ¹ | — |
| 8 | Electricity Generation | DC Current PV3 | pv3_current_a | A | — | — | — | — |
| 9 | Electricity Generation | DC Current PV4 | pv4_current_a | A | — | — | — | — |
| 10 | Electricity Generation | DC Power PV1 | pv1_power_w | W | ✓ ¹ | ✓ ¹ | ✓ ¹ | ✓ ¹ |
| 11 | Electricity Generation | DC Power PV2 | pv2_power_w | W | ✓ ¹ | ✓ ¹ | ✓ ¹ | — |
| 12 | Electricity Generation | DC Power PV3 | pv3_power_w | W | — | — | — | — |
| 13 | Electricity Generation | DC Power PV4 | pv4_power_w | W | — | — | — | — |
| 14 | Electricity Generation | Total DC Input Power | pv_power_w | W | ✓ | ✓ | ✓ | ✓ |
| 15 | Electricity Generation | Daily Solar Production | pv_energy_today_kwh | kWh | ✓ | ✓ | ✓ | ✓ |
| 16 | Grid | R/U/A Phase Grid Power | grid_power_a_w | W | ✓ ¹ | ✓ ¹ | ✓ ¹ | — |
| 17 | Grid | S/V/B Phase Grid Power | grid_power_b_w | W | 3ph only | ✓ ¹ | ✓ ¹ | — |
| 18 | Grid | T/W/C Phase Grid Power | grid_power_c_w | W | 3ph only | ✓ ¹ | ✓ ¹ | — |
| 19 | Grid | Cumulative Grid Feed-in | grid_export_energy_total_kwh | kWh | ✓ | ✓ | ✓ | — |
| 20 | Grid | Cumulative Energy Purchased | grid_import_energy_total_kwh | kWh | ✓ | ✓ | ✓ | ✓ |
| 21 | Grid | Daily Grid Feed-in | grid_export_energy_today_kwh | kWh | ✓ | ✓ | ✓ | — |
| 22 | Grid | Daily Energy Purchased | grid_import_energy_today_kwh | kWh | ✓ | ✓ | ✓ | ✓ |
| 23 | Grid | Grid voltage A | grid_voltage_a_v | V | ✓ ¹ | ✓ ¹ | ✓ ¹ | ✓ ¹ |
| 24 | Grid | Grid voltage B | grid_voltage_b_v | V | 3ph only | ✓ ¹ | ✓ ¹ | — |
| 25 | Grid | Grid voltage C | grid_voltage_c_v | V | 3ph only | ✓ ¹ | ✓ ¹ | — |
| 26 | Grid | Grid current A | grid_current_a_a | A | ✓ ¹ | ✓ ¹ | ✓ ¹ | — |
| 27 | Grid | Grid current B | grid_current_b_a | A | 3ph only | ✓ ¹ | ✓ ¹ | — |
| 28 | Grid | Grid current C | grid_current_c_a | A | 3ph only | ✓ ¹ | ✓ ¹ | — |
| 29 | Grid | Grid frequency A | grid_frequency_hz | Hz | ✓ ¹ | ✓ ¹ | ✓ ¹ | ✓ ¹ |
| 30 | Grid | Grid Reactive Power R/U/A | grid_reactive_power_a_var | var | ✓ = grid_reactive_power_var ¹ | ✓ ¹ | — | — |
| 31 | Grid | Grid Reactive Power S/V/B | grid_reactive_power_b_var | var | 3ph only | ✓ ¹ | — | — |
| 32 | Grid | Grid Reactive Power T/W/C | grid_reactive_power_c_var | var | 3ph only | ✓ ¹ | — | — |
| 33 | Consumption | Total Consumption Power | load_power_w | W | ✓ | ✓ | ✓ | ✓ |
| 34 | Consumption | Cumulative Consumption | load_energy_total_kwh | kWh | ✓ | ✓ | ✓ | ✓ |
| 35 | Consumption | Daily Consumption | load_energy_today_kwh | kWh | ✓ | ✓ | ✓ | ✓ |
| 36 | Consumption | Backup_energy_day | backup_energy_today_kwh | kWh | — | — | — | — |
| 37 | Consumption | Backup_energy_total | backup_energy_total_kwh | kWh | — | — | — | — |
| 38 | Battery | Battery Voltage1 | battery_voltage_v | V | ✓ ¹ | ✓ ¹ | ✓ ¹ | ✓ ¹ |
| 39 | Battery | Battery current 1 | battery_current_a | A | ✓ | ✓ | — | — |
| 40 | Battery | Battery Power | battery_power_w | W | ✓ | ✓ | — | ✓ |
| 41 | Battery | BMS Temper1 | bms1_temperature_c | °C | ✓ = bms_temperature_c ¹ | ✓ = bms_temperature_c ¹ | — | — |
| 42 | Battery | BMS1_Charge_Imax | bms1_max_charge_current_a | A | ✓ ¹ | ✓ ¹ | — | — |
| 43 | Battery | BMS1_DisCharge_Imax | bms1_max_discharge_current_a | A | ✓ ¹ | ✓ ¹ | — | — |
| 44 | Battery | SoC | battery_soc_pct | % | ✓ | ✓ | ✓ | ✓ |
| 45 | Battery | Total Charging Energy | battery_charge_energy_total_kwh | kWh | ✓ | ✓ | ✓ | — |
| 46 | Battery | Total Discharging Energy | battery_discharge_energy_total_kwh | kWh | ✓ | ✓ | ✓ | — |
| 47 | Battery | Daily Charging Energy | battery_charge_energy_today_kwh | kWh | ✓ | ✓ | ✓ | — |
| 48 | Battery | Daily Discharging Energy | battery_discharge_energy_today_kwh | kWh | ✓ | ✓ | ✓ | — |
| 49 | BMS | BMS Voltage | bms_voltage_v | V | ✓ ¹ | ✓ ¹ | ✓ ¹ | ✓ ¹ |
| 50 | BMS | BMS Current | bms_current_a | A | ✓ ¹ | ✓ ¹ | ✓ ¹ | ✓ ¹ |
| 51 | BMS | BMS Temperature | bms_temperature_c | °C | ✓ ¹ | ✓ ¹ | ✓ ¹ | ✓ ¹ |
| 52 | BMS | BMS Charge Cut Off Volt | bms_charge_cutoff_voltage_v | V | ✓ ¹ | ✓ ¹ | — | — |
| 53 | BMS | BMS Discharge Cut Off Volt | bms_discharge_cutoff_voltage_v | V | ✓ ¹ | ✓ ¹ | — | — |
| 54 | BMS | BMS Max Charge Current | bms_max_charge_current_a | A | ✓ ¹ | ✓ ¹ | ✓ ¹ | ✓ ¹ |
| 55 | BMS | BMS Max Discharge Current | bms_max_discharge_current_a | A | ✓ ¹ | ✓ ¹ | ✓ ¹ | — |
| 56 | BMS | BMS SOC | bms_soc_pct | % | ✓ ¹ | ✓ ¹ | ✓ ¹ | ✓ ¹ |
| 57 | BMS | BMS SOH | bms_soh_pct | % | ✓ ¹ | ✓ ¹ | ✓ ¹ | — |
| 58 | BMS | Ah Number | bms_capacity_ah | Ah | — | — | — | — |
| 59 | BMS | BMS Cell Maximum Voltage | bms_cell_voltage_max_v | V | — | — | — | — |
| 60 | BMS | BMS Minimum Cell Voltage | bms_cell_voltage_min_v | V | — | — | — | — |
| 61 | Temperature | Temperature- Inverter | inverter_temperature_c | °C | ✓ ¹ | ✓ ¹ | ✓ ¹ | ✓ ¹ |
| 62 | Other | Daily Production Hour | production_hours_today_h | h | — | — | — | — |
| 63 | Other | Total Production Hour | production_hours_total_h | h | — | — | — | — |
| 64 | Other | Daily Running Hour | running_hours_today_h | h | ✓ ² | ✓ ² | — | — |
| 65 | Other | Total Running Hour | running_hours_total_h | h | — | — | — | — |
| 66 | Generator | Generator Reactive Power | gen_reactive_power_var | var | ✓ ¹ | ✓ ¹ | — | — |
| 67 | Generator | Daily Production Generator | gen_energy_today_kwh | kWh | ✓ ¹ | ✓ ¹ | — | — |
| 68 | Generator | Total Production Generator | gen_energy_total_kwh | kWh | ✓ ¹ | ✓ ¹ | — | — |
| 69 | Generator | Load 2 / Generator Phase A Active Power | gen_power_a_w | W | ✓ ¹ | ✓ ¹ | ✓ ¹ | — |
| 70 | Generator | Load 2 / Generator Phase B Active Power | gen_power_b_w | W | 3ph only | ✓ ¹ | ✓ ¹ | — |
| 71 | Generator | Load 2 / Generator Phase C Active Power | gen_power_c_w | W | 3ph only | ✓ ¹ | ✓ ¹ | — |
| 72 | Generator | Gen Phase-A Voltage | gen_voltage_a_v | V | ✓ ¹ | ✓ ¹ | ✓ ¹ | — |
| 73 | Generator | Gen Phase-B Voltage | gen_voltage_b_v | V | 3ph only | ✓ ¹ | ✓ ¹ | — |
| 74 | Generator | Gen Phase-C Voltage | gen_voltage_c_v | V | 3ph only | ✓ ¹ | ✓ ¹ | — |
| 75 | Generator | Gen Phase-A Current | gen_current_a_a | A | ✓ ¹ | ✓ ¹ | ✓ ¹ | — |
| 76 | Generator | Gen Phase-B Current | gen_current_b_a | A | 3ph only | ✓ ¹ | ✓ ¹ | — |
| 77 | Generator | Gen Phase-C Current | gen_current_c_a | A | 3ph only | ✓ ¹ | ✓ ¹ | — |
| 78 | Generator | Gen Phase-A Frequency | gen_frequency_a_hz | Hz | 3ph only | ✓ ¹ | ✓ ¹ | — |
| 79 | Generator | Gen Phase-B Frequency | gen_frequency_b_hz | Hz | 3ph only | ✓ ¹ | ✓ ¹ | — |
| 80 | Generator | Gen Phase-C Frequency | gen_frequency_c_hz | Hz | 3ph only | ✓ ¹ | ✓ ¹ | — |
| 81 | Generator | Generator Phase A Reactive Power | gen_reactive_power_a_var | var | ✓ = gen_reactive_power_var ¹ | ✓ ¹ | — | — |
| 82 | Generator | Generator Phase B Reactive Power | gen_reactive_power_b_var | var | 3ph only | ✓ ¹ | — | — |
| 83 | Generator | Generator Phase C Reactive Power | gen_reactive_power_c_var | var | 3ph only | ✓ ¹ | — | — |
| 84 | Generator | Generator Monthly Power | gen_energy_month_kwh | kWh | ✓ ¹ | ✓ ¹ | — | — |
| 85 | Generator | Generator Annual Power | gen_energy_year_kwh | kWh | ✓ ¹ | ✓ ¹ | — | — |
| 86 | UPS Load | Back-Up voltage A | backup_voltage_a_v | V | ✓ ¹ | ✓ ¹ | — | — |
| 87 | UPS Load | Back-Up voltage B | backup_voltage_b_v | V | 3ph only | ✓ ¹ | — | — |
| 88 | UPS Load | Back-Up voltage C | backup_voltage_c_v | V | 3ph only | ✓ ¹ | — | — |
| 89 | UPS Load | Back-Up current A | backup_current_a_a | A | ✓ ¹ | ✓ ¹ | — | — |
| 90 | UPS Load | Back-Up current B | backup_current_b_a | A | 3ph only | ✓ ¹ | — | — |
| 91 | UPS Load | Back-Up current C | backup_current_c_a | A | 3ph only | ✓ ¹ | — | — |
| 92 | UPS Load | Back-Up frequency A | backup_frequency_a_hz | Hz | ✓ ¹ | ✓ ¹ | — | — |
| 93 | UPS Load | Back-Up frequency B | backup_frequency_b_hz | Hz | 3ph only | ✓ ¹ | — | — |
| 94 | UPS Load | Back-Up frequency C | backup_frequency_c_hz | Hz | 3ph only | ✓ ¹ | — | — |
| 95 | UPS Load | Back-Up power A | backup_power_a_w | W | ✓ ¹ | ✓ ¹ | — | — |
| 96 | UPS Load | Back-Up power B | backup_power_b_w | W | 3ph only | ✓ ¹ | — | — |
| 97 | UPS Load | Back-Up power C | backup_power_c_w | W | 3ph only | ✓ ¹ | — | — |
| 98 | UPS Load | Back-Up power | backup_power_w | W | ✓ = backup_power_a_w ¹ | ✓ ¹ | — | — |
| 99 | UPS Load2 | Back-Up2 Voltage A | backup2_voltage_a_v | V | ✓ ¹ | ✓ ¹ | — | — |
| 100 | UPS Load2 | Back-Up2 Voltage B | backup2_voltage_b_v | V | 3ph only | ✓ ¹ | — | — |
| 101 | UPS Load2 | Back-Up2 Voltage C | backup2_voltage_c_v | V | 3ph only | ✓ ¹ | — | — |
| 102 | UPS Load2 | Back-Up2 Current A | backup2_current_a_a | A | ✓ ¹ | ✓ ¹ | — | — |
| 103 | UPS Load2 | Back-Up2 Current B | backup2_current_b_a | A | 3ph only | ✓ ¹ | — | — |
| 104 | UPS Load2 | Back-Up2 Current C | backup2_current_c_a | A | 3ph only | ✓ ¹ | — | — |
| 105 | UPS Load2 | Back-Up2 Power A | backup2_power_a_w | W | ✓ ¹ | ✓ ¹ | — | — |
| 106 | UPS Load2 | Back-Up2 Power B | backup2_power_b_w | W | 3ph only | ✓ ¹ | — | — |
| 107 | UPS Load2 | Back-Up2 Power C | backup2_power_c_w | W | 3ph only | ✓ ¹ | — | — |
| 108 | UPS Load2 | Back-Up2 Total Output Power | backup2_power_w | W | ✓ = backup2_power_a_w ¹ | ✓ ¹ | — | — |
| 109 | Meter | Meter power A | meter_power_a_w | W | ✓ ¹ | ✓ ¹ | — | — |
| 110 | Meter | Meter power B | meter_power_b_w | W | 3ph only | ✓ ¹ | — | — |
| 111 | Meter | Meter power C | meter_power_c_w | W | 3ph only | ✓ ¹ | — | — |
| 112 | Meter | Meter power | meter_power_w | W | ✓ = 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_vandbattery_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):
| Parameter | Status |
|---|---|
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 |