mdleal
January 12, 2019, 4:19pm
1
Has anybody upgraded to unifi 5.10.5? I am having Hass login issues.
Unifi Logs
INFO api - [api] api.err.Invalid: /api/login
Hass Logs
Failed to scan clients: Login failed - status code: 400
Failed to perform <function Controller._read at 0x7f5e8a7eae18> due to api.err.LoginRequired
Robban
January 12, 2019, 6:18pm
2
Which UniFi component is it you’re using?
Robban
January 12, 2019, 11:50pm
4
Ok, you do not have the same issue with the UniFi integration?
gbboy
January 13, 2019, 1:07am
5
Seems like a slight change to the controller api component is the issue. Using the direct ap ssh component works fine.
gbboy
January 13, 2019, 1:26am
6
An update to the requirements and component to pyunifi 2.16 should solve the issue.
1 Like
mdleal
January 13, 2019, 2:03am
8
Yep. That resolved the issue. Thank you
Amblyo
(Andreas Olausson)
January 13, 2019, 2:36pm
9
Hi,
Got the same issue.
How do i update the requirements and component to pyunifi 2.16?
mdleal
January 13, 2019, 5:11pm
10
Copy this file to the custom_components/device_tracker folder in your config or wait till the next release.
https://github.com/home-assistant/home-assistant/blob/dev/homeassistant/components/device_tracker/unifi.py
2 Likes
Amblyo
(Andreas Olausson)
January 13, 2019, 5:53pm
11
Big thanx!
Had a lot of automations depending on this,
pruchai
January 20, 2019, 11:05am
12
Good looking-out, gentlemen!