@mega-yfue/eufy-sdk / DiscoverOptions
Interface: DiscoverOptions
Properties
candidateIps?
ts
optional candidateIps?: string[];Previously-seen-good IPs to probe alongside a fresh DNS resolution.
clientIdFor
ts
clientIdFor: (ip) => string;Build a fresh client_id per attempt (the real client_id includes a connect timestamp).
Parameters
ip
string
Returns
string
perAttemptTimeoutMs?
ts
optional perAttemptTimeoutMs?: number;stopOnFirstGrant?
ts
optional stopOnFirstGrant?: boolean;Stop at the first granted SUBSCRIBE instead of probing every candidate.
topic
ts
topic: string;The device's .../res topic to subscribe (never a /req topic — this module doesn't publish).