Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

This article provides python samples and instructions on how to create events, trigger events, and view events in corresponding database

\uD83D\uDCD8 Instructions

Python samples attached in document

Download python samples related to events API

cameras_create_custom_event.py
cameras_enable_motion_detector.py
cameras_event_processing_events.py

Creating a Custom Event

  1. Get camera’s access token
    call camera api to get access token

  2. From the directory containing the python samples, call cameras_create_custom_event.py to create a custom event.

    python ./cameras_create_custom_event.py -a "dfasdfasdfasrwecsdcsdf=" -e "test event"

    Where -a is the camera’s access token and -e is the name of the event being added

Enabling Motion Detector Event

Camera Event Processing Events

END

  • No labels