Skip to content

@mega-yfue/eufy-sdk / getIdSuffix

Function: getIdSuffix()

ts
function getIdSuffix(p2pDid): number;

Derive the numeric id-suffix from the station p2p_did — a digit-mixing seed used by the key derivation.

Parameters

p2pDid

string

Returns

number

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.