wyze_sdk.models.events package

Module contents

class wyze_sdk.models.events.AiEventType(value)

Bases: enum.Enum

See: com.wyze.platformkit.config.AiConfig

com.wyze.event.faceai.WyzeCloudEventFaceAI

BARKING = ('Dog Barking', 800002)
CAR = ('Car', [])
CAT = ('Cat', [])
CRYING = ('Baby Crying', 800001)
DELIVERY_TRUCK = ('Delivery Truck', [])
DOG = ('Dog', [])
FACE = ('Face', 101001)
MEOWING = ('Cat Meowing', 800003)
NOTHING = ('Nothing', 0)
PACKAGE = ('Package', 104)
PERSON = ('Person', 101)
PET = ('Pet', 103)
SCHOOL_BUS = ('School Bus', [])
VEHICLE = ('Vehicle', 102)
describe()
classmethod parse(code: int)Optional[AiEventType]
class wyze_sdk.models.events.Event(*, device_mac: Optional[str] = None, event_id: Optional[int] = None, event_ts: Optional[datetime.datetime] = None, event_category: Optional[int] = None, event_params: Optional[dict] = None, event_value: Optional[str] = None, file_list: Optional[Sequence[dict]] = None, tag_list: Optional[Sequence[int]] = None, read_state: Optional[int] = None, **others: dict)

Bases: wyze_sdk.models.JsonObject

A Wyze event.

See: com.wyze.platformkit.model.WpkEventData

property alarm_type
property attributes

Provide a set of attributes of this object that will make up its JSON structure

property files
property tags
class wyze_sdk.models.events.EventAlarmType(value)

Bases: enum.Enum

See: com.HLApi.Obj.EventItem

CO = ('Carbon Monoxide', 5)
DOORBELL_RANG = ('Doorbell rang', 10)
FACE = ('Face appeared', 12)
MOTION = ('Motion', [1, 6, 7, 13])
OTHER = ('Other', 3)
SCENE = ('Scene action', 11)
SMOKE = ('Smoke', 4)
SOUND = ('Sound', 2)
TRIGGERED = ('Triggered', 8)
describe()
classmethod parse(code: int)Optional[EventAlarmType]
class wyze_sdk.models.events.EventFile(*, file_id: Optional[str] = None, type: Optional[int] = None, status: Optional[int] = None, url: Optional[str] = None, **others: dict)

Bases: wyze_sdk.models.JsonObject

A file (photo, video) associated with a Wyze event.

See: com.wyze.platformkit.model.WpkEventData

property attributes

Provide a set of attributes of this object that will make up its JSON structure

property type
class wyze_sdk.models.events.EventFileType(value)

Bases: enum.Enum

See: com.wyze.event.utils.WyzeEventPlayerHelper

IMAGE = ('Image', 1)
VIDEO = ('Video', 2)
describe()
classmethod parse(code: int)Optional[EventFileType]