Skip to content

@mega-yfue/eufy-sdk / cameraPowerTier

Function: cameraPowerTier() ​

ts
function cameraPowerTier(model, capabilities): "wired" | "battery";

Power tier of a camera for its live-media budget and standalone P2P session: "battery" only when it resolved the battery capability AND is not a listed mains-only model, else "wired".

Parameters ​

model ​

string | undefined

capabilities ​

ReadonlySet<string>

Returns ​

"wired" | "battery"

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.