Skip to content

@mega-yfue/eufy-sdk / SolixClientOptions

Interface: SolixClientOptions ​

Options for SolixClient.

Properties ​

apiHost? ​

ts
apiHost?: string;

Override the API host (skips domain-estimate). Defaults to estimate → SOLIX_DEFAULT_API_HOST.


appVersion? ​

ts
appVersion?: string;

App version reported to the cloud.


countryCode? ​

ts
countryCode?: string;

ISO-3166 alpha-2; defaults to "US". Sent as country and ab.


email ​

ts
email: string;

fetchImpl? ​

ts
fetchImpl?: (input, init?) => Promise<Response>;

Injected fetch (for tests). Defaults to the global fetch.

Parameters ​

input ​

string | URL | Request

init? ​

RequestInit

Returns ​

Promise<Response>


openudid? ​

ts
openudid?: string;

Stable per-install device id (UUID). The auth token is bound to it, and a shifting id looks like a new device each run and re-triggers 2FA. Defaults to a deterministic id derived from the email (stable across runs); a store's saved id wins over this.


password ​

ts
password: string;

store? ​

ts
store?: SolixSessionStore;

Persist the token + device id so a dedicated account logs in once and reuses it until expiry.

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.