Skip to content

Releases: tchellomello/python-amcrest

Version 1.5.1

20 May 20:26
Compare
Choose a tag to compare

Fix improper retrying, especially when using Digest Authentication.

No longer do retrying at the urllib3 level via an HTTPAdapter, since it won't properly handle handle errors after the initial Digest Authentication exchange. Rather bring back the retry loop in the command method. Also don't retry if error 401 is returned when trying auth protocols in _generate_token method.

Version 1.5.0

17 May 15:05
Compare
Choose a tag to compare

Errors during initialization are no longer fatal.

  • Allow AmcrestCamera object (and hence Http object) to be created even if communication errors occur. This allows user to use the object to attempt communicating with camera later to implement an error recovery scheme.

  • retries_connection == 0 means don't attempt retries. I.e., only use default value if retries_connection == None.

  • Add some debug messages to help user diagnose communication problems.

  • For most commands do not use stream for request to centralize error handling. Only use stream for those few commands that need it, and add error handling to those when using raw.data.

  • Remove retry loop in command method. It's redundanct and unnecessary.

Version 1.4.1

27 Apr 20:22
Compare
Choose a tag to compare
  • rtsp_url, storage_all, storage_used, storage_used_percent & storage_total caught comm errors. They should be passed up to let app deal with them.

Version 1.4.0

10 Apr 15:45
Compare
Choose a tag to compare
  • storage_used_percent property now only sends one command to camera.
  • Add storage_all property that returns, as a dictionary, the same values as storage_used, storage_total & storage_used_percent properties, but by only sending one command to camera.

Version 1.3.0

24 Mar 22:38
Compare
Choose a tag to compare
  • Add audio/video enable properties - #113 @pnbruckner
  • Add new ptz & video commands
  • Handle errors in storage methods

Version 1.2.7

15 Mar 21:52
39d859c
Compare
Choose a tag to compare

Version 1.2.6

13 Mar 22:25
fbf9811
Compare
Choose a tag to compare

Version 1.2.5

06 Mar 20:51
e8a3a88
Compare
Choose a tag to compare

Version 1.2.4

05 Mar 03:33
97278fc
Compare
Choose a tag to compare

Version 1.2.3

16 Jun 06:04
4a2d9f9
Compare
Choose a tag to compare
  • Updated PyPi long_description