action netatmo_getnextevents { label: "getnextevents" description: "Returns previous events.\n" provider: netatmo method: GET path: "/getnextevents" encoding: json input: { type: "object" properties: { event_id: { type: "string" } home_id: { type: "string" } size: { type: "integer" } } required: ["event_id", "home_id"] additionalProperties: false } output: { properties: { body: { properties: { events_list: { type: "array" items: { properties: { camera_id: { type: "string" description: "Camera that detected the event" } category: { type: "string" description: "Type of the detected object." enum: ["human", "animal", "vehicle"] } event_list: { type: "array" items: { properties: { id: { type: "string" description: "Identifier of the sub event" } message: { type: "string" description: "User facing sub event description" } offset: { type: "integer" format: "int32" } snapshot: { properties: { id: { type: "string" description: "Id of the snapshot." } key: { type: "string" description: "Key for this snapshot." } version: { type: "integer" format: "int32" description: "Version of the snapshot." } } } time: { type: "integer" format: "int32" description: "Time of occurence of the sub event" } type: { type: "string" description: "Type of the detected object." enum: ["human", "animal", "vehicle"] } } } } id: { type: "string" description: "Identifier of the event" } is_arrival: { type: "boolean" description: "If person was considered away before being seen during this event" } message: { type: "string" description: "User facing event description" } person_id: { type: "string" description: "Id of the person the event is about (if any)" } snapshot: { type: "object" additionalProperties: true } sub_type: { type: "integer" format: "int32" description: "Subtypes of SD and Alim events. Go to Welcome page for further details." } time: { type: "integer" format: "int32" description: "Time of occurence of event" } type: { type: "string" description: "Type of events. Go to the Welcome page for further details." } video_id: { type: "string" description: "Identifier of the video" } video_status: { type: "string" description: "Status of the video (recording, deleted or available)" } } } } } } status: { type: "string" } time_exec: { type: "number" format: "double" } time_server: { type: "integer" format: "int32" } } } }