core: Amcrest Camera Failing to load.

The problem

unable to stream or view AMCREST camera feeds.

Environment

arch armv7l
dev false
docker true
hassio true
os_name Linux
os_version 4.19.106-v7
python_version 3.7.7
timezone America/New_York
version 0.107.6
virtualenv false
  • Home Assistant release with the issue: 107.6
  • Last working Home Assistant release (if known): unknown, pre-99 I think
  • Operating environment (Hass.io/Docker/Windows/etc.): Hassio
  • Integration causing this issue: Amcrest
  • Link to integration documentation on our website: https://www.home-assistant.io/integrations/amcrest/

Problem-relevant configuration.yaml

Im not sure if this is the right section of code. I use Lovelace to edit:

title: Driveway image: ‘https://demo.home-assistant.io/stub_config/kitchen.png’ entities: - entity: binary_sensor.driveway_motion_detected aspect_ratio: 0% camera_image: camera.driveway entity: camera.driveway icon: ‘mdi:cctv’ path: security title: Security

Traceback/Error logs

If you come across any trace or error logs, please provide them.

2020-03-26 14:10:36 WARNING (SyncWorker_8) [amcrest.http] <DriveWay:AMC0210J5V321D0933> Trying again due to error: HTTPError('500 Server Error: Internal Server Error for url: http://192.168.1.122:80/cgi-bin/snapshot.cgi')
2020-03-26 14:10:36 WARNING (SyncWorker_7) [amcrest.http] <AMC021UP_P8H1B3:AMC021UP46JHP8H1B3> Trying again due to error: HTTPError('500 Server Error: Internal Server Error for url: http://192.168.1.121:80/cgi-bin/snapshot.cgi')
2020-03-26 14:10:37 WARNING (SyncWorker_10) [amcrest.http] <DriveWay:AMC0210J5V321D0933> Trying again due to error: ConnectionError(ProtocolError('Connection aborted.', RemoteDisconnected('Remote end closed connection without response')))
2020-03-26 14:10:37 ERROR (MainThread) [homeassistant.components.amcrest.camera] Could not get image from Driveway camera due to error: CommError
2020-03-26 14:10:42 WARNING (SyncWorker_14) [amcrest.http] <DriveWay:AMC0210J5V321D0933> Trying again due to error: ConnectionError(ProtocolError('Connection aborted.', RemoteDisconnected('Remote end closed connection without response')))
2020-03-26 14:10:42 ERROR (MainThread) [homeassistant.components.amcrest.camera] Could not get image from Driveway camera due to error: CommError
2020-03-26 14:10:46 WARNING (SyncWorker_2) [amcrest.http] <DriveWay:AMC0210J5V321D0933> Trying again due to error: ConnectionError(ProtocolError('Connection aborted.', RemoteDisconnected('Remote end closed connection without response')))
2020-03-26 14:10:46 ERROR (MainThread) [homeassistant.components.amcrest.camera] Could not get image from Driveway camera due to error: CommError
2020-03-26 14:11:11 WARNING (SyncWorker_17) [amcrest.http] <DriveWay:AMC0210J5V321D0933> Trying again due to error: HTTPError('500 Server Error: Internal Server Error for url: http://192.168.1.122:80/cgi-bin/snapshot.cgi')

Additional information

I’ve had this issue for a while now with AMCREST cameras. At one point in the past they did work. I want to say pre-0.99 releases? But I could be wrong. It was last year at some point when then failed. I think this is related to issue #30705, but Im not sure. I had submitted an issue when I first lost my cameras (#30523) back when I was running Hassbian I’ve changed to HassIO in an attempt to resolve it. I’ve not yet been able to get my amcrest cameras working.

camera

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 21 (10 by maintainers)

Most upvoted comments

Resolved.

I had the camera set to stream MPEG, But the stream component only supports h.264.