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
Get camera’s access token
call camera api to get access tokenFrom 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