Skip to content

@mega-yfue/eufy-sdk / CloudRecord

Interface: CloudRecord ​

The minimal slice of a cloud device record the model needs to classify + infer. The real record (EufyDevice.raw) has far more; we read only these.

Properties ​

category? ​

ts
category?: string;

Anker category string, e.g. "eufy_security".


deviceType? ​

ts
deviceType?: number;

eufy's own numeric DeviceType (authoritative classifier).


dpParams? ​

ts
dpParams?: Record<number, string>;

Params the device reported over its realtime channel, keyed in the device's own namespace. A line whose state exists only on that channel carries none of it in params, so this is the evidence an availability gate on such a param is decided from.


model? ​

ts
model?: string;

Model / product code (T-code), e.g. "T8423".


name? ​

ts
name?: string;

What the user named this device in the app (device_name), when the record carries one. Not a classification signal — carried so a device answers with the name its owner sees.


params? ​

ts
params?: Record<number, string>;

Reported param_type → raw value. Presence of a param is a capability signal.


parentSn? ​

ts
parentSn?: string;

The parent HomeBase's serial when this device hangs off one (parent_sn ≠ own sn); absent when the device stands alone. A topology signal, not a param — used by resolveDevice to withhold station-scoped capabilities (guard-mode arming) from a camera behind a HomeBase, where the HomeBase owns them.

Independent and unofficial. Not affiliated with, endorsed by, or sponsored by Anker Innovations, Anker eufy, or eufy. "Anker eufy", "eufy" and "Anker" are trademarks of their respective owners. Use responsibly — rapid or failed logins can trigger captcha or temporary cooldowns.