Raw API time-series sample (snake_case). The backend emits key; older swagger examples show name — both are tolerated.

interface ESPRMNeoTSDataPointAPI {
    cumulative?: boolean;
    dt?: string;
    key?: string;
    name?: string;
    ts: number;
    tz?: string;
    value: unknown;
}

Properties

cumulative?: boolean

True when the param is cumulative (e.g. an energy meter reading).

dt?: string

Backend data type of value (bool | int | float | string).

key?: string

Backend param key, "<device_id>.<param_id>".

name?: string

Legacy alias of key (older swagger examples).

ts: number

Unix timestamp in milliseconds.

tz?: string

IANA timezone reported by the device for this sample.

value: unknown

Reported param value; its type matches dt.