Skip to content

Cannot get filters for events working, no errors being thrown #46

@antongisli

Description

@antongisli

Hi,

Been trying to figure this one out for few days now. No matter how I pass anything into create_pullpoint_service I cannot get the producer (camera) to stop sending all notifications.

I understand the syntax should be XPATH, and probably a TopicExpression.

I've tried calling like this:
params = {"Filter":"tns1:VideoSource/MotionAlarm"}
params = {"Filter":"VideoSource/MotionAlarm"}
params = "tns1:VideoSource/MotionAlarm"
params = {"tns1:VideoSource/MotionAlarm"}

then calling:
pullpoint = mycam.create_pullpoint_service(params)

Similarly, even if I pass in a second attribute to create_pullpoint_service (InitialTerminationTime), it seems to have no effect and is stuck at the default of 60 seconds.

I'm wondering if the library even does anything with the passed in parameters (not implemented?) or I am just doing it wrong :-). Can a kind soul tell me what I'm likely doing wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions