Skip to content

@mega-yfue/eufy-sdk / solixProductFamily

Function: solixProductFamily() ​

ts
function solixProductFamily(input): SolixProductFamily;

Resolve a Solix device's SolixProductFamily by consulting the family predicates first (they are catalog-independent, so a device classifies even before a catalog is fetched), then the catalog category for the families that have no prefix set yet. Returns "unknown" when neither identifies one — never a guess, mirroring device-family.ts returning false on an unknown device type.

The meter is checked before the Solarbank: both can present a battery-ish catalog category, but the meter's AE1X0 prefix is unambiguous and a meter is never a Solarbank. The Solarbank case reuses isSolixSolarbank (prefix OR the home-battery category) rather than re-testing the prefix here, so the two never drift.

Parameters ​

input ​

SolixFamilyInput

Returns ​

SolixProductFamily

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.