Skip to content

@mega-yfue/eufy-sdk / tuya / TuyaSession

Interface: TuyaSession

Per-install session identity carried on every request.

Properties

chKey

ts
chKey: string;

8-hex chKey. ✅ SOLVED: getChKey in libthing_security.so is a pure function of the appId only (never touches time/session/Context), so it's a per-appId CONSTANT — "7cbfe6d8" for this app's appId. Hardcode it.


deviceId

ts
deviceId: string;

Per-install device id (44-hex in the capture). See TuyaClient for generation.


sid

ts
sid: string;

Session id from a successful login; empty string pre-login.

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.