Skip to content

@mega-yfue/eufy-sdk / discoverSolixSites

Function: discoverSolixSites() ​

ts
function discoverSolixSites(client, opts?): Promise<SolixSite[]>;

Discover an account's Solix sites as SolixSite groupings of capability-driven SolixDevice members — the site analogue of discoverSolixDevices. Composes three wire reads (the sites, the account's device records, the product catalog) entirely model-side, so the transport client is passed structurally and the layers stay decorrelated.

A site member is resolved to its FULL device record from getDevices() when the account lists one (so the member carries firmware/connectivity + telemetry identity); a member the flat device list omits is built from the site entry alone (serial + product code + name), so the system is never missing a device it declares.

Parameters ​

client ​

SolixSiteReader

opts? ​

SolixSiteOptions = {}

Returns ​

Promise<SolixSite[]>

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.