-
Notifications
You must be signed in to change notification settings - Fork 41
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
Sensors unavailable when HASS and UniFi run on the same node #33
Comments
Same issue for me... Error while setting up unifigateway platform for sensor
I tried commenting out the host ip to see if that would help at all.. What silly mistake am I making? Thanks in advance, |
hi @ualex73 I just tried again this time specifying the IP and port (8443) on my host device and everthing came up okay.. |
It looks like you're trying to connect to the unifi device (i.e. router, usg udm) directly, however you have to connect to your unifi controller. |
@phixion I replaced the IP I used with a dummy IP (before posting on the internet), in this case 192.168.1.1. |
oops, disregard my comment then |
I got Home Assistant and my UniFi controller running on the same node (in Docker) and when my node is rebooted, the UniFi sensors are always unavailable. In the logging I see the following exception:
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='192.168.1.1', port=8443): Max retries exceeded with url: /api/login (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fcec0af9c10>: Failed to establish a new connection: [Errno 111] Connection refused'))
The text was updated successfully, but these errors were encountered: