This These article provides provide python samples, API examples and instructions on how to create custom events, trigger events, and view events in their corresponding database
\uD83D\uDCD8 Instructions
Info |
---|
Python samples attached in document |
Download python samples related to events API
...
.
...
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.
Code Block 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
View file | ||
---|---|---|
|
View file | ||
---|---|---|
|
View file | ||
---|---|---|
|
\uD83D\uDCCB Related articles
...
In the examples below, ACCESS_TOKEN
should be replaced with an actual access token of the selected channel with "all" permission.
Child pages (Children Display) |
---|