A single time-series data point.

interface ESPRMNeoTSDataPoint {
    cumulative?: boolean;
    dataType?: string;
    timestamp: number;
    timezone?: string;
    value: unknown;
}

Properties

cumulative?: boolean

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

dataType?: string

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

timestamp: number

Unix timestamp in milliseconds.

timezone?: string

IANA timezone reported by the device for this point.

value: unknown

Reported param value; its type matches dataType.