Skip to content

Incorrect implementation of event detection for Nest cameras #92

@jrluw

Description

@jrluw

Event detection for Nestcams (as currently implemented) doesn't seem to work, at least in conjunction with homeassistant. Is this because the requirements for "is_ongoing" are too stringent? (Maybe the Nest API is very precise about events, and an event is only "ongoing" for a few milliseconds.) If that's the case, should this be fixed so that "ongoing" is more lenient? (E.g., cache the old last_event, check whether it differs from the new last_event. If so, and the time between the two is small enough, is_ongoing returns true.)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions