[FIX] Unifi driver authentication issue due to MFA update

Concerns following driver: [RELEASE] Unifi Wifi Presence

Using the driver from @mike10 I noticed following errors in the logs:

groovyx.net.http.HttpResponseException: status code: 499, reason phrase: unknown
groovyx.net.http.HttpResponseException: status code: 499, reason phrase: unknown
groovyx.net.http.HttpResponseException: status code: 499, reason phrase: unknown
groovyx.net.http.HttpResponseException: status code: 401, reason phrase: Unauthorized

Unifi will enforce MFA on admin accounts starting July 22nd. Therefore I recently activated MFA on my account. My account was also used for this driver.
The solution is to create a separate local account with "restrict to local access only" checked. I gave it view-only access to the network.
See this link for more detailed explanation

Hope it helps
Jean.

1 Like