Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to view cam stream #249

Open
schergr opened this issue Dec 22, 2022 · 2 comments
Open

Unable to view cam stream #249

schergr opened this issue Dec 22, 2022 · 2 comments

Comments

@schergr
Copy link

schergr commented Dec 22, 2022

I have an Amcrest IP2M-866W camera installed, and am unable to use the Amcrest plugin for some reason, but this Dahua plugin used to work (a few HA releases ago...though I can't pinpoint when it stopped). At the moment I am able to install and configure the integration, however the camera streams are not working from either NABU Casa or local (see below), nor are the event streams, even though they all show up as available, with state info (see below). Note that I AM able to load the RTSP stream from VLC

That said, I'm running the Dahua ext version 0.9.44 (https://github.com/rroller/dahua) as well as:

  • Home Assistant 2022.12.8
  • Supervisor 2022.11.2
  • Operating System 9.4
  • Frontend 20221213.1
  • FFMPEG: in configuration.yaml

Would appreciate any insights.
I have created a pastebin of the DEBUG logs here: https://pastebin.com/ibBuMtHH

image

@schergr
Copy link
Author

schergr commented Dec 22, 2022

I see a 500 error in the logs on https, but the http (port 80) requests succeed, and the camera is setup on 80, 443 554 and 37777. Assume 443 is irrelevant since rtsp is on 554

@MartinBoehmer
Copy link

Same here while trying to integrate a Dahua NVR. Log shows a HTTP 500 error when the preview image (snapshot) is fetched. When I copy and paste the URL from the logs into my browser, the snapshopt image appears w/o any errors.

In the NVR's log there is no sign of the 500 error. However, every of my manual invokations of the snapshot URL produces a login/logout pair in the NVR's log with ~2s difference to provide the image (see screenshot, lines 2+3). When HA tries to fetch the snapshot, there is only a logout in the logs (see screenshot, line 1).

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants