Skip to content

@mega-yfue/eufy-sdk / AvailabilityObservation

Interface: AvailabilityObservation

An explicit availability observation whose entity, polarity and scope are verified on the current vendor wire. The SDK emits this only for authoritative signals; silence, stale cloud facts, failed operations and idle transports do not create or clear one.

Properties

availability

ts
readonly availability: AvailabilityState;

entity

ts
readonly entity: object;

kind

ts
readonly kind: "device";

sn

ts
readonly sn: string;

observedAt?

ts
readonly optional observedAt?: number;

Vendor-supplied observation time in milliseconds, when the envelope carries one.


receivedAt

ts
readonly receivedAt: number;

When the SDK received this explicit signal, in milliseconds.


scope

ts
readonly scope: "device";

sequence?

ts
readonly optional sequence?: number;

Vendor-supplied message ordering value, when the envelope carries one.


source

ts
readonly source: AvailabilitySource;

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.