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