Skip to content

@mega-yfue/eufy-sdk / mqttUuidFrom

Function: mqttUuidFrom() ​

ts
function mqttUuidFrom(installId): string;

The mqttUuid segment for a client bound to installId, hashed to the 16-hex shape buildAppShapedClientId expects. Deterministic, so a client keeps its id across restarts and takes its own stale session over rather than doubling up beside it; one-way, so the id it is derived from is not recoverable from a client_id that travels the wire in clear.

Two clients are distinguished exactly as far as their installId is: equal ids in, equal ids out.

Parameters ​

installId ​

string

Returns ​

string

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.