rroller / dahua

Dahua Camera and Doorbell Home Assistant Integration
MIT License
383 stars 74 forks source link

Amcrest AD410: Error based on only having one sub stream but integration is trying to use two sub streams #237

Open shred86 opened 1 year ago

shred86 commented 1 year ago

Just setup this integration for my Amcrest AD410 doorbell and I'm noticing the following errors in my logs:

Error from stream worker: Error opening stream (HTTP_NOT_FOUND, Server returned 404 Not Found) rtsp://****:****@192.168.1.69:554/cam/realmonitor?channel=1&subtype=2

The AD410 only has a main and sub stream, and it appears the integration is attempting to access a second sub stream that doesn't exist. After adding the integration, I noticed it added a "Main", "Sub" and "Sub_2" camera entity. I disabled "Sub" and Sub_2" since I only need access to main but I'm still seeing these errors.