@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.