Skip to content

@mega-yfue/eufy-sdk / PushPayload

Interface: PushPayload

Normalised device push payload. Superset of the common fields across device types plus the v6 enrichment; concrete pushes populate a subset. The short single-letter keys are eufy's wire names (kept for fidelity).

Extends

Indexable

ts
[k: string]: unknown

Properties

a?

ts
optional a?: number;

ai_detect_type?

ts
optional ai_detect_type?: string;

Comma list of detection types, e.g. "0,1,2,3" (person/vehicle/pet/package).

Inherited from

PushEnrichment.ai_detect_type


ai_faces?

ts
optional ai_faces?: object[];

confidence?

ts
optional confidence?: number;

face_id?

ts
optional face_id?: number;

height?

ts
optional height?: number;

width?

ts
optional width?: number;

x?

ts
optional x?: number;

y?

ts
optional y?: number;

Inherited from

PushEnrichment.ai_faces


alarm_type?

ts
optional alarm_type?: number;

arming?

ts
optional arming?: number;

c?

ts
optional c?: number;

channel?

ts
optional channel?: number;

cipher?

ts
optional cipher?: number;

cover_path?

ts
optional cover_path?: string;

Inherited from

PushEnrichment.cover_path


create_time?

ts
optional create_time?: number;

crop_local_path?

ts
optional crop_local_path?: string;

Inherited from

PushEnrichment.crop_local_path


crop_url?

ts
optional crop_url?: string;

Inherited from

PushEnrichment.crop_url


crying?

ts
optional crying?: number | boolean;

Sound/cry detection (indoor).

Inherited from

PushEnrichment.crying


device_name?

ts
optional device_name?: string;

device_sn?

ts
optional device_sn?: string;

duration?

ts
optional duration?: number;

Inherited from

PushEnrichment.duration


e?

ts
optional e?: string;

event_end_time?

ts
optional event_end_time?: number;

Inherited from

PushEnrichment.event_end_time


event_time?

ts
optional event_time?: number;

event_type?

ts
optional event_type?: number;

face_id?

ts
optional face_id?: number;

Inherited from

PushEnrichment.face_id


face_ids?

ts
optional face_ids?: number[];

Inherited from

PushEnrichment.face_ids


familiar_faces?

ts
optional familiar_faces?: unknown[];

Inherited from

PushEnrichment.familiar_faces


file_path?

ts
optional file_path?: string;

k?

ts
optional k?: number;

m?

ts
optional m?: number;

Unverified vendor field; polarity and entity scope are not established.


mode?

ts
optional mode?: number;

msg_type?

ts
optional msg_type?: number;

n?

ts
optional n?: string;

name?

ts
optional name?: string;

nick_name?

ts
optional nick_name?: string;

notification_style?

ts
optional notification_style?: number;

objects?

ts
optional objects?: 
  | string[]
  | {
  names?: string[];
};

Detected object class names.

Inherited from

PushEnrichment.objects


p?

ts
optional p?: string;

person?

ts
optional person?: string | number;

Inherited from

PushEnrichment.person


person_count?

ts
optional person_count?: number;

Inherited from

PushEnrichment.person_count


person_id?

ts
optional person_id?: number;

Inherited from

PushEnrichment.person_id


pet_type?

ts
optional pet_type?: string | number;

Inherited from

PushEnrichment.pet_type


pic_url?

ts
optional pic_url?: string;

push_count?

ts
optional push_count?: number;

s?

ts
optional s?: string;

session_id?

ts
optional session_id?: string;

short_user_id?

ts
optional short_user_id?: string;

short_video_url?

ts
optional short_video_url?: string;

Inherited from

PushEnrichment.short_video_url


sound_detection?

ts
optional sound_detection?: number | boolean;

Inherited from

PushEnrichment.sound_detection


sound_type?

ts
optional sound_type?: string | number;

Inherited from

PushEnrichment.sound_type


station_sn?

ts
optional station_sn?: string;

storage_type?

ts
optional storage_type?: number;

thumbnail?

ts
optional thumbnail?: string;

Media enrichment.

Inherited from

PushEnrichment.thumbnail


trigger_time?

ts
optional trigger_time?: number;

Timing.

Overrides

PushEnrichment.trigger_time


type?

ts
optional type?: number;

unique_id?

ts
optional unique_id?: string;

user_id?

ts
optional user_id?: string;

user_name?

ts
optional user_name?: string;

vehicle_types?

ts
optional vehicle_types?: string[];

Inherited from

PushEnrichment.vehicle_types


video_url?

ts
optional video_url?: string;

Inherited from

PushEnrichment.video_url

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.