Skip to content

@mega-yfue/eufy-sdk / PushEvent

Interface: PushEvent

A normalised, consumer-facing push event emitted by the client.

Properties

cipher?

ts
optional cipher?: number;

Cipher id for decoding the media (when present).


deviceSn?

ts
optional deviceSn?: string;

Best-effort device serial (falls back to station).


eventName?

ts
optional eventName?: string;

Resolved event name where known.


eventType?

ts
optional eventType?: number;

Numeric event type as the cloud sends it; eventName carries the resolved label.


payload

ts
payload: PushPayload;

The full parsed eufy payload.


raw

ts
raw: RawPushMessage;

The whole raw push (envelope + app_data).


stationSn?

ts
optional stationSn?: string;

thumbnailCandidate?

ts
optional thumbnailCandidate?: ThumbnailCandidate;

A usable thumbnail URL and the identity claims carried beside it.


thumbnailUrl?

ts
optional thumbnailUrl?: string;

The thumbnail URL, if the push carried one (pic_url/thumbnail).

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.