Skip to content

@mega-yfue/eufy-sdk / FamilyContext

Interface: FamilyContext

The evidence a family decision needs — a structural subset of CommandContext.

Properties

category?

ts
optional category?: string;

API category string — e.g. "eufy_home", "eufy_home_tuya", "eufy_security". Supplied by the mega get_devs_list response; absent in unit-test contexts that build a minimal context without a real API record. Used as the PRIMARY transport discriminator for the clean line: "eufy_home_tuya" devices are on the ThingClips/Tuya Cloud platform, not Anker AIoT MQTT.


deviceType?

ts
optional deviceType?: number;

eufy vendor DeviceType, when known (undefined ⇒ unknown ⇒ don't guess).


model?

ts
optional model?: string;

Model / T-code, when known.

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.