rroller / dahua

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

Turning on Motion Detection generates a 401 - Unauthorized error #251

Open galtamur opened 1 year ago

galtamur commented 1 year ago

I successfully added the integration to my Dahua DVR with 8 cameras. I see the live streaming good. When I open the "channel 1" camera device, i have e control to turn on the Motion Detection: if i switch it on i receive an error: 401, message='Unauthorized', url=URL('http://xx.xx.xx.xx:80/cgi-bin/snapshot.cgi?channel=2') I don't know how to solve this, and also it's strange it says "channel=2", as this is the channel 1 camera.

Any help here?

Thank you

sasukebinbin commented 1 year ago

Same here