dahua: Username, Password, or Address is wrong.
Version of the custom_component
Configuration
Add your logs here.
Describe the bug
While adding camera to HA i’m getting this error: “Username, Password, or Address is wrong.” Using default username admin/admin
Are these cameras supported?
IPC-HFW1320S IPC-HFW1300S IPC-HFW2320R-ZS
Debug log
Add your logs here.
About this issue
- Original URL
- State: open
- Created 2 years ago
- Comments: 20 (5 by maintainers)
After exploring all of the suggestions provided here, I finally just reflashed home assistant and started all over. Once the Dahua integration was installed through HACS I was able to add all of my cameras with no issues. Perhaps this is an issue with Home Assistant?
The option : _self.base = “{0}😕/{1}:{2}@{3}:{4}”.format(protocol, username, password, address, port) did not work for me.
For me the solution looks very simple: I used port 80 all the time. Let’s give 443 one try. Thats it!
After deleting and reinstalling the component it works. 👍
Thanks, this helps a lot. Can you try this (make sure to revert the code change)… When adding the cam, for the address do this… but your username and password… user:password@IP_ADDRESS for example…
admin:pass@192.168.1.203