core: Amcrest cameras not working after upgrading to 2021.9.1

The problem

After upgrading to 2021.9.1 all my Amcrest cameras no longer stream in Lovelace, and produce this log message: “Error requesting stream: Camera is off”

Cameras continue to work directly or through eg. ZoneMinder or VLC.

The same cameras worked in a recent previous version, which I believe was 2021.7.

This may be related to #55550

What is version of Home Assistant Core has the issue?

core-2021.9.1

What was the last working version of Home Assistant Core?

core-2021.7

What type of installation are you running?

Home Assistant Container

Integration causing the issue

Amcrest

Link to integration documentation on our website

https://www.home-assistant.io/integrations/amcrest/

Example YAML snippet

ffmpeg:
stream:
amcrest:
  # IP4M-1025E
  - host: SNIP
    username: SNIP
    password: SNIP
    name: SNIP
    stream_source: rtsp

Anything in the logs that might be useful for us?

Logger: homeassistant.components.camera
Source: components/camera/__init__.py:692
Integration: Camera (documentation, issues)
First occurred: 9:37:21 AM (8 occurrences)
Last logged: 9:37:27 AM
Error requesting stream: Camera is off


### Additional information

_No response_

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 16 (6 by maintainers)

Commits related to this issue

Most upvoted comments

This fix should be available in 2021.9.6!

I think I know how to re-create this error. I’ve proved it by doing it. Login to the Amcrest camera setup web page for the camera that is NOT working, Under the setup, camera, video setting make sure the Sub Stream is ENABLED. Save this setting. Restart home assistant. Check your camera should be working.

To prove this, on mine anyways, I DISABLED the sub stream saved restarted home assistant and got “camera off” message, Re ENABLED the substream, saved, restarted Home assistant and the camera was working again.

amcrest