amcrest/__init__.py
amcrest/binary_sensor.py
amcrest/camera.py
amcrest/sensor.py
amcrest/switch.py
amcrest/manifest.json
Note: If using HA versions before 0.86, only the first three files are needed, and they go here:
custom_components/amcrest.py
custom_components/binary_sensor/amcrest.py
custom_components/camera/amcrest.py
These custom components are enhanced versions of the standard Amcrest Camera components. They add services and create a new binary sensor for motion detected. They also add thread locking to avoid simultaneous camera commands that lead to constant errors.