Closed MnemoBRMC closed 1 year ago
AXHub internal lib is deprecated. Should not be used.
Ok, but when I don't use it, it throws an invalid authentication error. I am using my user/pwd from hikconnect app.
Yes but you have to be admin. Some users reported that when they do not use Admin user it does not work. Seems that normal user has no access to ISAPI.
Well you are writing about Unexpected Error but not providing any logs...
Sorry I am not sure what is exactly happening. There are no logs in Home Assistant but what I see is that my hikvision central device appears with several IPs in my router. When I open SADP there are two different entries with two IPs. Maybe that is part of the problem. When I try to add the integration, it sometimes throw me an Unexpected Error and sometimes Invalid Authentication, even the user/pwd is right. I am going to try to reboot it to see what happens
Ok, after rebooting I still have two IPs. Anyway if I try any of them, the error is Invalid Authentication. I am using as username and password the same credentials as in HikConnect app. As far as I know, the user is admin because is the only user I have. Is there any way to really check if the user has the proper admin rights?
Well one IP will be ETH and second will be WiFi I guess.
During the setup try to check "debug output" and try again to get logs.
You can check in web UI of device.
Ok, that makes sense, thanks for the explanation. I enabled debug output in the dialog but there are still no logs...
Ok, I got it. Instead or using my hikvision account user (my email), I had to use "admin". Probably is somewhere is the documentation and I did not see it
It can be difference with "AXPro" and "AXHub". Sadly this extension supports AXHub but cannot solve everything, since i have only AXPRO.
Anyway is fantastic, I see now all my AX-hub sensors and I can now trigger a snapshot from my frigate cameras when the sensors status change. Thanks a lot
Hi I am trying to integrate my AX Hub and I get an Unexpected error In the integration dialog, I select "Use internal API lib (AXHub)", is that right?
This is what I find in the logs