tchellomello / python-amcrest

A Python 2.7/3.x module for Amcrest and Dahua Cameras using the SDK HTTP API.
GNU General Public License v2.0
216 stars 76 forks source link

changes to support amcrest AD110 and other small bugfixes #162

Closed blademckain closed 4 years ago

blademckain commented 4 years ago

to resolve the requests made here and to fix other small bugfixes

the main change is in the function

def event_actions(self, eventcodes, retries=None, timeout_cmd=None):

now the tuple never returns (event name, Start) but return (event name, payload)

where payload contains all event information

coveralls commented 4 years ago

Coverage Status

Coverage decreased (-0.2%) to 31.715% when pulling 8ef01c49b9564ebbaf74cc16e7dd7b4186d3926b on blademckain:master into 5a9f7299dd9ab7e41d692d9d4d59a192f7bc3613 on tchellomello:master.