Unifi Integration Devices Never Leave Home

Updated to .106.5 and still have the same issue.

After updating, I also did the following:

  • Remove Unifi integration
  • Verify Unifi controller is up to date and restart it
  • Restart Home Assistant
  • Re-add the Unifi integration

Same issues. Devices show as Home for a little bit, then they all goto not_home after a period of time.

Using Docker (not Hass.io). Controller runs in its own Proxmox container as a default site. Latest controller version. No issues until recently.

I turned on logging for Unifi. For these logs, Hass started around 1104. Devices marked as not_home around 1109. There are a lot of entries after startup related to Unifi, but they have very identifiable information that would be difficult to scrub. These are all at times devices seemed to show up OK.

I went to the ~1109 entries and added those below with some information removed:

2020-03-04 11:05:48 DEBUG (MainThread) [aiounifi.websocket] {"meta":{"rc":"ok","message":"events"},"data":[{"user":"<MAC>","ssid":"Home","ap":"<MAC>","duration":260,"bytes":91394,"key":"EVT_WU_Disconnected","subsystem":"wlan","site_id":"<SITEID>","time":1583348736000,"datetime":"2020-03-04T19:05:36Z","msg":"User[<MAC>] disconnected from \"Home\" (4m 20s connected, 89.25K bytes, last AP[<MAC>])","_id":"<ID>"}]}
2020-03-04 11:05:58 DEBUG (MainThread) [aiounifi.websocket] {"meta":{"rc":"ok","message":"events"},"data":[{"user":"<MAC>","ssid":"Home","ap":"<MAC>","radio":"na","channel":"48","key":"EVT_WU_Connected","subsystem":"wlan","site_id":"<SITEID>","time":1583348745437,"datetime":"2020-03-04T19:05:45Z","msg":"User[<MAC>] has connected to AP[<MAC>] with SSID \"Home\" on \"channel 48(na)\"","_id":"<ID>"}]}
2020-03-04 11:05:58 DEBUG (MainThread) [aiounifi.websocket] {"meta":{"rc":"ok","message":"events"},"data":[{"user":"<MAC>","ssid":"Home","ap":"<MAC>","radio":"na","channel":"48","key":"EVT_WU_Connected","subsystem":"wlan","site_id":"<SITEID>","time":1583348745437,"datetime":"2020-03-04T19:05:45Z","msg":"User[<MAC>] has connected to AP[<MAC>] with SSID \"Home\" on \"channel 48(na)\"","_id":"<ID>"}]}
2020-03-04 11:12:18 DEBUG (MainThread) [aiounifi.websocket] {"meta":{"rc":"ok","message":"events"},"data":[{"user":"<MAC>","ap_from":"<MAC>","ap_to":"<MAC>","radio_from":"na","radio_to":"na","radio":"na","channel_from":"48","channel_to":"157","channel":"157","ssid":"Home","key":"EVT_WU_Roam","subsystem":"wlan","site_id":"<SITEID>","time":1583349127085,"datetime":"2020-03-04T19:12:07Z","msg":"User[<MAC>] roams from AP[<MAC>] to AP[<MAC>] from \"channel 48(na)\" to \"channel 157(na)\" on \"Home\"","_id":"<ID>"}]}
2020-03-04 11:14:23 DEBUG (MainThread) [aiounifi.websocket] {"meta":{"rc":"ok","message":"events"},"data":[{"ap":"<MAC>","user":"<MAC>","radio_from":"na","radio_to":"ng","channel_from":"157","channel_to":"11","key":"EVT_WU_RoamRadio","subsystem":"wlan","site_id":"<SITEID>","time":1583349250894,"datetime":"2020-03-04T19:14:10Z","msg":"User[<MAC>] roams from \"channel 157(na)\" to \"channel 11(ng)\" at AP[<MAC>]","_id":"<ID>"}]}
2020-03-04 11:14:28 DEBUG (MainThread) [aiounifi.websocket] {"meta":{"rc":"ok","message":"events"},"data":[{"user":"<MAC>","ssid":"Home","ap":"<MAC>","duration":515,"bytes":212787,"key":"EVT_WU_Disconnected","subsystem":"wlan","site_id":"<SITEID>","time":1583349260000,"datetime":"2020-03-04T19:14:20Z","msg":"User[<MAC>] disconnected from \"Home\" (8m 35s connected, 207.80K bytes, last AP[<MAC>])","_id":"<ID>"}]}
2020-03-04 11:14:38 DEBUG (MainThread) [aiounifi.websocket] {"meta":{"rc":"ok","message":"events"},"data":[{"user":"<MAC>","ssid":"Home","ap":"<MAC>","radio":"na","channel":"157","key":"EVT_WU_Connected","subsystem":"wlan","site_id":"<SITEID>","time":1583349265831,"datetime":"2020-03-04T19:14:25Z","msg":"User[<MAC>] has connected to AP[<MAC>] with SSID \"Home\" on \"channel 157(na)\"","_id":"<ID>"}]}
2020-03-04 11:14:53 DEBUG (MainThread) [aiounifi.websocket] {"meta":{"rc":"ok","message":"events"},"data":[{"user":"<MAC>","ap_from":"<MAC>","ap_to":"<MAC>","radio_from":"na","radio_to":"na","radio":"na","channel_from":"157","channel_to":"48","channel":"48","ssid":"Home","key":"EVT_WU_Roam","subsystem":"wlan","site_id":"<SITEID>","time":1583349283505,"datetime":"2020-03-04T19:14:43Z","msg":"User[<MAC>] roams from AP[<MAC>] to AP[<MAC>] from \"channel 157(na)\" to \"channel 48(na)\" on \"Home\"","_id":"<ID>"}]}

Hopefully this helps. Not sure what else to give you.