@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?
category?: string;Anker category string, e.g. "eufy_security".
deviceType?
deviceType?: number;eufy's own numeric DeviceType (authoritative classifier).
dpParams?
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?
model?: string;Model / product code (T-code), e.g. "T8423".
name?
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?
params?: Record<number, string>;Reported param_type → raw value. Presence of a param is a capability signal.
parentSn?
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.