Skip to content

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

Interface: TuyaEnv ​

The constant / environment fields of a request. All are plaintext and (except the sign-relevant clientId/os/ttid/lang/et/appVersion) do NOT feed the sign. Values marked TODO are cosmetic os-info fields whose exact contents were not pinned from the capture; they do not affect the sign and can be tuned freely.

Properties ​

appVersion ​

ts
appVersion: string;

bizData ​

ts
bizData: string;

JSON string, e.g. {"customDomainSupport":"1","sdkInt":"36","nd":"1","brand":"google"}.


channel ​

ts
channel: string;

"sdk".


clientId ​

ts
clientId: string;

appKey.


cp ​

ts
cp: string;

"gzip".


deviceCoreVersion ​

ts
deviceCoreVersion: string;

TODO(unknown): Thingclips device-core version; cosmetic (not in sign).


et ​

ts
et: string;

"3".


lang ​

ts
lang: string;

"en_GB".


nd ​

ts
nd: string;

"1".


os ​

ts
os: string;

"Android".


osSystem ​

ts
osSystem: string;

TODO(unknown): OS system version; cosmetic (not in sign).


platform ​

ts
platform: string;

TODO(unknown): device platform string; cosmetic (not in sign).


sdkVersion ​

ts
sdkVersion: string;

timeZoneId ​

ts
timeZoneId: string;

IANA time zone id, e.g. "Europe/London".


ttid ​

ts
ttid: string;

"android".

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.