d1e7ade6db
- Bump amcrest package to 1.5.6. Includes networking improvements, no longer communicates during Http.__init__(), and allows running snapshot command without using stream mode. - Handle login errors better, and not just at startup. - Increase network connect & read timeout to 6.05 seconds. - Increase network read timeout to 20 seconds for snapshot command. - Run snapshot command in separate task, that cannot be cancelled, to eliminate possibility of two snapshot commands running simultaneously (since AmcrestCam.async_camera_image can be cancelled.) Also makes sure any exceptions from the command are caught properly. |
||
---|---|---|
.. | ||
__init__.py | ||
binary_sensor.py | ||
camera.py | ||
const.py | ||
helpers.py | ||
manifest.json | ||
sensor.py | ||
services.yaml |