-
-
Notifications
You must be signed in to change notification settings - Fork 36.3k
Closed
Labels
Description
The problem
Tried to install the Unifi integration again since @Kane610 updated the integration to work with unifi-os. No matter how I set it up, I get the same error posted below. I know of at least one other person who has seen this error.
Environment
- Home Assistant Core release with the issue: 0.109.1
- Last working Home Assistant Core release (if known): ???
- Operating environment (Home Assistant/Supervised/Docker/venv): Home Assistant
- Integration causing this issue: Unifi
- Link to integration documentation on our website: https://www.home-assistant.io/integrations/unifi/
Problem-relevant configuration.yaml
Traceback/Error logs
2020-04-30 21:24:43 INFO (SyncWorker_3) [homeassistant.loader] Loaded unifi from homeassistant.components.unifi
2020-04-30 21:24:48 INFO (MainThread) [homeassistant.setup] Setting up unifi
2020-04-30 21:24:50 INFO (MainThread) [homeassistant.setup] Setup of domain unifi took 2.5 seconds.
2020-04-30 21:24:51 DEBUG (MainThread) [aiounifi.controller] https://10.0.1.1:0
2020-04-30 21:24:52 DEBUG (MainThread) [aiounifi.controller] 200 text/html <ClientResponse(https://10.0.1.1) [200 OK]>
2020-04-30 21:24:52 DEBUG (MainThread) [aiounifi.controller] https://10.0.1.1:0/api/auth/login
2020-04-30 21:24:53 DEBUG (MainThread) [aiounifi.controller] 200 application/json <ClientResponse(https://10.0.1.1/api/auth/login) [200 OK]>
2020-04-30 21:24:53 DEBUG (MainThread) [aiounifi.controller] https://10.0.1.1:0/proxy/network/api/s/default/stat/sta
2020-04-30 21:24:53 DEBUG (MainThread) [aiounifi.controller] 200 application/json <ClientResponse(https://10.0.1.1/proxy/network/api/s/default/stat/sta) [200 OK]>
2020-04-30 21:24:53 DEBUG (MainThread) [aiounifi.controller] https://10.0.1.1:0/proxy/network/api/s/default/stat/device
2020-04-30 21:24:53 DEBUG (MainThread) [aiounifi.controller] 200 application/json <ClientResponse(https://10.0.1.1/proxy/network/api/s/default/stat/device) [200 OK]>
2020-04-30 21:24:54 DEBUG (MainThread) [aiounifi.controller] https://10.0.1.1:0/proxy/network/api/s/default/rest/user
2020-04-30 21:24:54 DEBUG (MainThread) [aiounifi.controller] 200 application/json <ClientResponse(https://10.0.1.1/proxy/network/api/s/default/rest/user) [200 OK]>
2020-04-30 21:24:54 DEBUG (MainThread) [aiounifi.controller] https://10.0.1.1:0/proxy/network/api/s/default/rest/wlanconf
2020-04-30 21:24:55 DEBUG (MainThread) [aiounifi.controller] 200 application/json <ClientResponse(https://10.0.1.1/proxy/network/api/s/default/rest/wlanconf) [200 OK]>
2020-04-30 21:24:55 DEBUG (MainThread) [aiounifi.controller] https://10.0.1.1:0/proxy/network/api/self/sites
2020-04-30 21:24:55 DEBUG (MainThread) [aiounifi.controller] 200 application/json <ClientResponse(https://10.0.1.1/proxy/network/api/self/sites) [200 OK]>
<CIMultiDictProxy('Vary': 'Origin', 'X-DNS-Prefetch-Control': 'off', 'x-frame-options': 'DENY', 'Strict-Transport-Security': 'max-age=15552000; includeSubDomains', 'X-Download-Options': 'noopen', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Content-Type': 'application/json;charset=UTF-8', 'Content-Length': '147', 'Date': 'Fri, 01 May 2020 04:24:54 GMT', 'Connection': 'close', 'Set-Cookie': 'TOKEN=***REDACTED***; path=/; secure; httponly')>
2020-04-30 21:24:55 DEBUG (MainThread) [aiounifi.controller] [{
'_id': '***REDACTED***',
'attr_hidden_id': 'default',
'attr_no_delete': True,
'desc': 'Default',
'name': 'default'}]
2020-04-30 21:24:55 ERROR (MainThread) [homeassistant.components.unifi] Unknown error connecting with UniFi controller: 'role'Additional information
I have a UDM Base running unifi-os ersion 1.7.0rc11 controller version 5.13.20
I am clueless as to what is causing this. In the debug logs I can see the integration is successfully connecting to my UDM. I can see data flowing in from the controller such as network configs and clients.