Skip to content

@mega-yfue/eufy-sdk / discoverSolixDevices

Function: discoverSolixDevices() ​

ts
function discoverSolixDevices(client, opts?): Promise<SolixDevice[]>;

Discover an account's Solix devices as capability-driven SolixDevice objects — the wire+model composition (a transport read + the product catalog) that used to be SolixClient.discoverDevices(). It lives in the model layer because it builds SolixDevice; the wire client (now transport/http) cannot, and passing it structurally keeps the layers decorrelated. Feed live telemetry to each result via SolixDevice.applyReading.

Parameters ​

client ​

SolixDeviceReader

opts? ​

catalog? ​

SolixProductCategory[]

Returns ​

Promise<SolixDevice[]>

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.