home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
73.31k stars 30.62k forks source link

Unifi shows no device_trackers - reload integration fails until HA restart #64997

Closed agrant-dxc closed 2 years ago

agrant-dxc commented 2 years ago

The problem

Updated from core-2022.2.0.dev20220125 to core-2022.2.0.dev20220126

Unifi Integration displays count of entities in Integration page but clicking through to Entities list (with default filter) shows none.

Dev tools shows entity state immediately after HA core restart. Then goes unavailable after a few minutes.

A reload of the Unifi integration fails. Orange box around integration, all entities unavailable.

Cannot control USP-Strip (this is new feature? untested before by me). Toggling a switch reverts back in a few seconds. And once in five tries (after reloading HA each time) actually changed the relay. Then the state reverted so it was incorrectly shown. [edit] care about the trackers, not the strip

What version of Home Assistant Core has the issue?

core-2022.2.0.dev20220126

What was the last working version of Home Assistant Core?

core-2022.2.0.dev20220125

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Unifi

Link to integration documentation on our website

https://www.home-assistant.io/integrations/unifi/

Example YAML snippet

logger:
  default: info
  logs:
    aiounifi: debug
    homeassistant.components.unifi: debug
    homeassistant.components.device_tracker.unifi: debug
    homeassistant.components.switch.unifi: debug

Anything in the logs that might be useful for us?

2022-01-26 13:51:06 INFO (MainThread) [homeassistant.bootstrap] Setting up stage 2: {'scene', 'updater', 'openweathermap', 'trace', 'template', 'wyzeapi', 'mobile_app', 'diagnostics', 'system_health', 'tts', 'binary_sensor', 'climate', 'history', 'my', 'automation', 'unifi', 'sonos', 'zeroconf', 'scheduler', 'timer', 'unifiprotect', 'sensor', 'dhcp', 'media_source', 'panel_custom', 'sun', 'network', 'map', 'input_text', 'hacs', 'esphome', 'zwave_js', 'switch', 'counter', 'input_number', 'alarmo', 'input_button', 'input_select', 'default_config', 'usb', 'tasmota', 'ssdp', 'zha', 'zone', 'broadlink', 'input_datetime', 'energy', 'tag', 'notify', 'blueprint', 'input_boolean', 'light', 'persistent_notification', 'mqtt', 'shelly', 'group', 'script', 'logbook'}
2022-01-26 13:51:07 INFO (MainThread) [homeassistant.setup] Setting up unifi
2022-01-26 13:51:07 INFO (MainThread) [homeassistant.setup] Setting up unifiprotect
2022-01-26 13:51:07 INFO (MainThread) [homeassistant.setup] Setup of domain unifiprotect took 0.0 seconds
2022-01-26 13:51:08 INFO (MainThread) [homeassistant.setup] Setup of domain unifi took 0.5 seconds
2022-01-26 13:51:08 DEBUG (MainThread) [aiounifi.api] []
2022-01-26 13:51:08 DEBUG (MainThread) [aiounifi.api] []
2022-01-26 13:51:08 DEBUG (MainThread) [aiounifi.api] []
2022-01-26 13:51:08 DEBUG (MainThread) [aiounifi.api] []
2022-01-26 13:51:08 DEBUG (MainThread) [aiounifi.api] []
2022-01-26 13:51:08 DEBUG (MainThread) [aiounifi.api] []
2022-01-26 13:51:08 DEBUG (MainThread) [aiounifi.controller] https://UDR.lab.home:443
2022-01-26 13:51:09 DEBUG (MainThread) [aiounifi.controller] 200 text/html <ClientResponse(https://udr.lab.home:443) [200 OK]>
2022-01-26 13:51:09 DEBUG (MainThread) [aiounifi.controller] https://UDR.lab.home:443/api/auth/login
2022-01-26 13:51:10 DEBUG (MainThread) [aiounifi.controller] 200 application/json <ClientResponse(https://udr.lab.home:443/api/auth/login) [200 OK]>
2022-01-26 13:51:10 DEBUG (MainThread) [aiounifi.controller] https://UDR.lab.home:443/proxy/network/api/s/default/stat/sta
2022-01-26 13:51:10 DEBUG (MainThread) [aiounifi.controller] 200 application/json <ClientResponse(https://udr.lab.home:443/proxy/network/api/s/default/stat/sta) [200 OK]>
2022-01-26 13:51:10 DEBUG (MainThread) [aiounifi.controller] https://UDR.lab.home:443/proxy/network/api/s/default/rest/user
2022-01-26 13:51:10 INFO (MainThread) [pyunifiprotect.api] Websocket re-connected successfully
2022-01-26 13:51:11 DEBUG (MainThread) [aiounifi.controller] 200 application/json <ClientResponse(https://udr.lab.home:443/proxy/network/api/s/default/rest/user) [200 OK]>
2022-01-26 13:51:11 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up binary_sensor.unifiprotect
2022-01-26 13:51:11 INFO (MainThread) [homeassistant.components.button] Setting up button.unifiprotect
2022-01-26 13:51:11 INFO (MainThread) [homeassistant.components.light] Setting up light.unifiprotect
2022-01-26 13:51:11 INFO (MainThread) [homeassistant.components.lock] Setting up lock.unifiprotect
2022-01-26 13:51:11 INFO (MainThread) [homeassistant.components.media_player] Setting up media_player.unifiprotect
2022-01-26 13:51:11 INFO (MainThread) [homeassistant.components.number] Setting up number.unifiprotect
2022-01-26 13:51:11 INFO (MainThread) [homeassistant.components.select] Setting up select.unifiprotect
2022-01-26 13:51:11 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.unifiprotect
2022-01-26 13:51:11 INFO (MainThread) [homeassistant.components.switch] Setting up switch.unifiprotect
2022-01-26 13:51:11 DEBUG (MainThread) [aiounifi.controller] https://UDR.lab.home:443/proxy/network/api/s/default/stat/device
2022-01-26 13:51:11 INFO (MainThread) [homeassistant.components.camera] Setting up camera.unifiprotect
2022-01-26 13:51:11 DEBUG (MainThread) [aiounifi.controller] 200 application/json <ClientResponse(https://udr.lab.home:443/proxy/network/api/s/default/stat/device) [200 OK]>
2022-01-26 13:51:11 DEBUG (MainThread) [aiounifi.controller] https://UDR.lab.home:443/proxy/network/api/s/default/rest/dpiapp
2022-01-26 13:51:11 DEBUG (MainThread) [aiounifi.controller] 200 application/json <ClientResponse(https://udr.lab.home:443/proxy/network/api/s/default/rest/dpiapp) [200 OK]>
2022-01-26 13:51:11 DEBUG (MainThread) [aiounifi.controller] https://UDR.lab.home:443/proxy/network/api/s/default/rest/dpigroup
2022-01-26 13:51:11 DEBUG (MainThread) [aiounifi.controller] 200 application/json <ClientResponse(https://udr.lab.home:443/proxy/network/api/s/default/rest/dpigroup) [200 OK]>
2022-01-26 13:51:11 DEBUG (MainThread) [aiounifi.controller] https://UDR.lab.home:443/proxy/network/api/s/default/rest/wlanconf
2022-01-26 13:51:11 DEBUG (MainThread) [aiounifi.controller] 200 application/json <ClientResponse(https://udr.lab.home:443/proxy/network/api/s/default/rest/wlanconf) [200 OK]>
2022-01-26 13:51:11 DEBUG (MainThread) [aiounifi.controller] https://UDR.lab.home:443/proxy/network/api/self/sites
2022-01-26 13:51:11 DEBUG (MainThread) [aiounifi.controller] 200 application/json <ClientResponse(https://udr.lab.home:443/proxy/network/api/self/sites) [200 OK]>
2022-01-26 13:51:11 DEBUG (MainThread) [aiounifi.controller] [{'_id': '5b21393fb150b6c08a49dca0',
2022-01-26 13:51:11 DEBUG (MainThread) [aiounifi.controller] https://UDR.lab.home:443/proxy/network/api/s/default/self
2022-01-26 13:51:11 DEBUG (MainThread) [aiounifi.controller] 200 application/json <ClientResponse(https://udr.lab.home:443/proxy/network/api/s/default/self) [200 OK]>
2022-01-26 13:51:11 DEBUG (MainThread) [aiounifi.controller] [{'admin_id': '61dcb0beccf6c436679559d3', 'avatar_url': '', 'device_id': '245A4C9FE1750000000005EF645F0000000006730C84000000006188E67B:154387850', 'email': '', 'email_alert_enabled': True, 'email_alert_grouping_delay': 60, 'email_alert_grouping_enabled': True, 'first_name': 'crlogic', 'html_email_enabled': True, 'is_owner': False, 'is_professional_installer': False, 'is_super': True, 'last_name': '', 'last_site_name': 'default', 'name': 'crlogic', 'push_alert_enabled': True, 'requires_new_password': False, 'super_site_permissions': [], 'ubic_name': '', 'ubic_uuid': '', 'ui_settings': {'neverCheckForUpdate': False, 'statisticsPrefferedTZ': 'SITE', 'statisticsPreferBps': '', 'topologyViewSettings': {'showAllDevices': True, 'showAllClients': True, 'show2GClients': False, 'show5GClients': False, 'showWiredClients': False, 'showSSID': False, 'showWifiExperience': True, 'showRadioChannel': False, 'showWifiStandards': False, 'showWiredSpeed': False, 'showWiredPorts': False, 'online': True, 'offline': True, 'isolated': True, 'pending_adoption': True, 'managed_by_another_console': True}, 'preferences': {'alertsPosition': 'top_right', 'allowHiddenDashboardModules': False, 'browserLogLevel': 'INFO', 'bypassAutoFindDevices': False, 'bypassConfirmAdoptAndUpgrade': False, 'bypassConfirmBlock': False, 'bypassConfirmRestart': False, 'bypassConfirmUpgrade': False, 'bypassDashboardUdmProAd': False, 'dateFormat': 'MMM DD YYYY', 'dismissWlanOverrides': False, 'enableNewUI': True, 'isAppDark': True, 'isPropertyPanelFixed': True, 'isRegularGraphForAirViewEnabled': False, 'isResponsive': False, 'isSettingsDark': True, 'isUndockedByDefault': False, 'noWhatsNew': False, 'propertyPanelCollapse': False, 'propertyPanelMultiMode': True, 'refreshButtonEnabled': False, 'refreshRate': '2MIN', 'refreshRateRememberAll': False, 'rowsPerPage': 50, 'showAllPanelActions': False, 'showWifimanAppsBanner': True, 'timeFormat': 'h:mm a', 'use24HourTime': False, 'useBrowserTheme': False, 'useSettingsPanelView': False, 'websocketEnabled': True, 'withStickyTableActions': True, 'isUlteModalClosed': False, 'isUbbAlignmentToolModalClosed': False, 'offlineClientTimeframe': 24}, 'tables': {'device': {'sortBy': 'type', 'isAscending': True, 'initialColumns': ['type', 'deviceName', 'status', 'connection', 'network', 'ipAddress', 'experience', 'firmwareStatus', 'downlink', 'uplink', 'dailyUsage'], 'columns': ['statusBall', 'type', 'deviceName', 'status', 'macAddress', 'model', 'ipAddress', 'connection', 'network', 'experience', 'firmwareStatus', 'firmwareVersion', 'uplinkPort', 'memoryUsage', 'cpuUsage', 'loadAverage', 'utilization', 'clients', 'lastSeen', 'downlink', 'uplink', 'dailyUsage', 'uptime', 'wlan2g', 'wlan5g', 'wlan6g', 'radio2g', 'radio5g', 'radio6g', 'clients2g', 'clients5g', 'clients6g', 'bssid', 'tx', 'rx', 'tx2g', 'tx5g', 'tx6g', 'channel', 'channel2g', 'channel5g', 'channel6g']}, 'client': {'sortBy': 'clientName', 'isAscending': True, 'initialColumns': ['status', 'clientName', 'connection', 'ip', 'signal', 'Uplink_apPort'], 'columns': ['status', 'clientName', 'mac', 'physicalName', 'connection', 'network', 'interface', 'wifi_band', 'ip', 'experience', 'Downlink', 'Uplink', 'dailyUsage', 'uptime', 'channel', 'Uplink_apPort', 'signal', 'txRate', 'rxRate', 'first_seen', 'last_seen', 'rx_packets', 'tx_packets'], 'filters': {'status': {'active': True, 'offline': False}, 'connection_type': {'ng': True, 'na': False, 'ax': False, 'wired': False, 'vpn': False}, 'clients_type': {'users': True, 'guests': False}, 'device': {'device': ''}}, 'rowsPerPage': 50}, 'unifiDevice': {'sortBy': 'type', 'isAscending': True, 'columns': ['statusBall', 'type', 'name', 'status', 'macAddress', 'model', 'ipAddress', 'connection', 'network', 'experience', 'firmwareStatus', 'firmwareVersion', 'uplinkPort', 'memoryUsage', 'cpuUsage', 'loadAverage', 'utilization', 'clients', 'dailyUsage', 'lastSeen', 'downlink', 'uplink', 'uptime', 'wlan2g', 'wlan5g', 'wlan6g', 'radio2g', 'radio5g', 'radio6g', 'clients2g', 'clients5g', 'clients6g', 'bssid', 'tx', 'rx', 'tx2g', 'tx5g', 'tx6g', 'channel', 'channel2g', 'channel5g', 'channel6g'], 'initialColumns': ['type', 'name', 'status', 'connection', 'network', 'ipAddress', 'experience', 'firmwareStatus', 'downlink', 'uplink', 'dailyUsage']}, 'unifiDeviceNetwork': {'sortBy': 'type', 'isAscending': True, 'columns': ['statusBall', 'type', 'name', 'status', 'macAddress', 'model', 'ipAddress', 'connection', 'network', 'experience', 'firmwareStatus', 'firmwareVersion', 'uplinkPort', 'memoryUsage', 'cpuUsage', 'loadAverage', 'utilization', 'clients', 'dailyUsage', 'lastSeen', 'downlink', 'uplink', 'uptime', 'wlan2g', 'wlan5g', 'wlan6g', 'radio2g', 'radio5g', 'radio6g', 'clients2g', 'clients5g', 'clients6g', 'bssid', 'tx', 'rx', 'tx2g', 'tx5g', 'tx6g', 'channel', 'channel2g', 'channel5g', 'channel6g'], 'initialColumns': ['type', 'name', 'status', 'connection', 'network', 'ipAddress', 'experience', 'firmwareStatus', 'downlink', 'uplink', 'dailyUsage']}, 'unifiDeviceAccess': {'sortBy': 'type', 'isAscending': True, 'columns': ['statusBall', 'type', 'name', 'status', 'macAddress', 'model', 'ipAddress', 'connection', 'network', 'experience', 'firmwareStatus', 'firmwareVersion', 'uplinkPort', 'memoryUsage', 'cpuUsage', 'loadAverage', 'utilization', 'clients', 'dailyUsage', 'lastSeen', 'downlink', 'uplink', 'uptime', 'wlan2g', 'wlan5g', 'wlan6g', 'radio2g', 'radio5g', 'radio6g', 'clients2g', 'clients5g', 'clients6g', 'bssid', 'tx', 'rx', 'tx2g', 'tx5g', 'tx6g', 'channel', 'channel2g', 'channel5g', 'channel6g'], 'initialColumns': ['type', 'name', 'status', 'connection', 'network', 'ipAddress', 'experience', 'firmwareStatus', 'downlink', 'uplink', 'dailyUsage']}, 'unifiDeviceProtect': {'sortBy': 'status', 'isAscending': True, 'columns': ['statusBall', 'type', 'name', 'status', 'macAddress', 'model', 'ipAddress', 'connection', 'network', 'experience', 'firmwareStatus', 'firmwareVersion', 'uplinkPort', 'memoryUsage', 'cpuUsage', 'loadAverage', 'utilization', 'clients', 'dailyUsage', 'lastSeen', 'downlink', 'uplink', 'uptime', 'wlan2g', 'wlan5g', 'wlan6g', 'radio2g', 'radio5g', 'radio6g', 'clients2g', 'clients5g', 'clients6g', 'bssid', 'tx', 'rx', 'tx2g', 'tx5g', 'tx6g', 'channel', 'channel2g', 'channel5g', 'channel6g'], 'initialColumns': ['type', 'name', 'status', 'connection', 'network', 'ipAddress', 'experience', 'firmwareStatus', 'downlink', 'uplink', 'dailyUsage']}, 'unifiDeviceTalk': {'sortBy': 'type', 'isAscending': True, 'columns': ['statusBall', 'type', 'name', 'status', 'macAddress', 'model', 'ipAddress', 'connection', 'network', 'experience', 'firmwareStatus', 'firmwareVersion', 'uplinkPort', 'memoryUsage', 'cpuUsage', 'loadAverage', 'utilization', 'clients', 'dailyUsage', 'lastSeen', 'downlink', 'uplink', 'uptime', 'wlan2g', 'wlan5g', 'wlan6g', 'radio2g', 'radio5g', 'radio6g', 'clients2g', 'clients5g', 'clients6g', 'bssid', 'tx', 'rx', 'tx2g', 'tx5g', 'tx6g', 'channel', 'channel2g', 'channel5g', 'channel6g'], 'initialColumns': ['type', 'name', 'status', 'connection', 'network', 'ipAddress', 'experience', 'firmwareStatus', 'downlink', 'uplink', 'dailyUsage']}, 'unifiDeviceConnect': {'sortBy': 'type', 'isAscending': True, 'columns': ['statusBall', 'type', 'name', 'status', 'macAddress', 'model', 'ipAddress', 'connection', 'network', 'experience', 'firmwareStatus', 'firmwareVersion', 'uplinkPort', 'memoryUsage', 'cpuUsage', 'loadAverage', 'utilization', 'clients', 'dailyUsage', 'lastSeen', 'downlink', 'uplink', 'uptime', 'wlan2g', 'wlan5g', 'wlan6g', 'radio2g', 'radio5g', 'radio6g', 'clients2g', 'clients5g', 'clients6g', 'bssid', 'tx', 'rx', 'tx2g', 'tx5g', 'tx6g', 'channel', 'channel2g', 'channel5g', 'channel6g'], 'initialColumns': ['type', 'name', 'status', 'connection', 'network', 'ipAddress', 'experience', 'firmwareStatus', 'downlink', 'uplink', 'dailyUsage']}, 'insights/wifiScanner': {'sortBy': 'apCount', 'isAscending': False, 'initialColumns': ['apCount', 'essid', 'bssid', 'security', 'radio', 'signal', 'channel', 'band', 'bw', 'oui', 'date', 'ap_mac'], 'columns': ['apCount', 'essid', 'bssid', 'security', 'radio', 'signal', 'channel', 'band', 'bw', 'oui', 'date', 'ap_mac']}, 'insights/wifiMan': {'sortBy': 'date', 'isAscending': False, 'initialColumns': ['clinet_name', 'client_wifi_experience', 'device_model', 'device_name', 'wlan_essid', 'client_signal', 'wlan_channel_width', 'down', 'up', 'endPoint', 'rate', 'date'], 'columns': ['clinet_name', 'client_wifi_experience', 'device_model', 'device_name', 'wlan_essid', 'client_signal', 'wlan_channel_width', 'down', 'up', 'endPoint', 'rate', 'date']}}}, 'uid': 'ecd01c07-0dea-43af-822e-8aa835e26b99', 'surveys': {}, 'last_site_id': '5b21393fb150b6c08a49dca0', 'site_id': '5b21393fb150b6c08a49dca0', 'site_name': 'default', 'site_permissions': [], 'site_role': 'admin'}]
2022-01-26 13:51:11 DEBUG (MainThread) [homeassistant.components.unifi] Restore disconnected client device_tracker.replaced_name (replaced_MAC)
2022-01-26 13:51:11 DEBUG (MainThread) [homeassistant.components.unifi] Restore disconnected client device_tracker.replaced_name (replaced_MAC)
2022-01-26 13:51:11 DEBUG (MainThread) [homeassistant.components.unifi] Restore disconnected client device_tracker.replaced_name (replaced_MAC)
2022-01-26 13:51:11 DEBUG (MainThread) [homeassistant.components.unifi] Restore disconnected client device_tracker.replaced_name (replaced_MAC)
2022-01-26 13:51:11 DEBUG (MainThread) [homeassistant.components.unifi] Restore disconnected client device_tracker.replaced_name (replaced_MAC)
2022-01-26 13:51:11 DEBUG (MainThread) [homeassistant.components.unifi] Restore disconnected client device_tracker.replaced_name (replaced_MAC)
2022-01-26 13:51:11 DEBUG (MainThread) [homeassistant.components.unifi] Restore disconnected client device_tracker.replaced_name (replaced_MAC)
2022-01-26 13:51:11 DEBUG (MainThread) [homeassistant.components.unifi] Restore disconnected client device_tracker.replaced_name (replaced_MAC)
2022-01-26 13:51:11 DEBUG (MainThread) [homeassistant.components.unifi] Restore disconnected client device_tracker.replaced_name (replaced_MAC)
2022-01-26 13:51:11 DEBUG (MainThread) [homeassistant.components.unifi] Restore disconnected client device_tracker.replaced_name (replaced_MAC)
2022-01-26 13:51:11 DEBUG (MainThread) [homeassistant.components.unifi] Restore disconnected client device_tracker.replaced_name (replaced_MAC)
2022-01-26 13:51:11 DEBUG (MainThread) [homeassistant.components.unifi] Restore disconnected client device_tracker.replaced_name (replaced_MAC)
2022-01-26 13:51:11 DEBUG (MainThread) [homeassistant.components.unifi] Restore disconnected client device_tracker.replaced_name (replaced_MAC)
2022-01-26 13:51:11 DEBUG (MainThread) [homeassistant.components.unifi] Restore disconnected client device_tracker.replaced_name (replaced_MAC)
2022-01-26 13:51:11 DEBUG (MainThread) [homeassistant.components.unifi] Restore disconnected client device_tracker.replaced_name (replaced_MAC)
2022-01-26 13:51:11 DEBUG (MainThread) [homeassistant.components.unifi] Restore disconnected client device_tracker.replaced_name (replaced_MAC)
2022-01-26 13:51:11 DEBUG (MainThread) [homeassistant.components.unifi] Restore disconnected client device_tracker.replaced_name (replaced_MAC)
2022-01-26 13:51:11 DEBUG (MainThread) [homeassistant.components.unifi] Restore disconnected client device_tracker.replaced_name (replaced_MAC)
2022-01-26 13:51:11 DEBUG (MainThread) [homeassistant.components.unifi] Restore disconnected client device_tracker.replaced_name (replaced_MAC)
2022-01-26 13:51:11 DEBUG (MainThread) [homeassistant.components.unifi] Restore disconnected client device_tracker.replaced_name (replaced_MAC)
2022-01-26 13:51:11 DEBUG (MainThread) [homeassistant.components.unifi] Restore disconnected client device_tracker.replaced_name (replaced_MAC)
2022-01-26 13:51:11 DEBUG (MainThread) [aiounifi.websocket] Websocket starting
2022-01-26 13:51:11 DEBUG (MainThread) [homeassistant.components.unifi] UniFi Network config options {'block_client': [], 'track_clients': True, 'track_wired_clients': True, 'track_devices': True, 'ssid_filter': ['replaced_SSID', 'replaced_SSID', 'replaced_SSID'], 'detection_time': 300, 'ignore_wired_bug': False, 'poe_clients': False, 'dpi_restrictions': False, 'allow_bandwidth_sensors': False, 'allow_uptime_sensors': False}
2022-01-26 13:51:11 INFO (MainThread) [homeassistant.components.device_tracker] Setting up device_tracker.unifi
2022-01-26 13:51:11 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.unifi
2022-01-26 13:51:11 INFO (MainThread) [homeassistant.components.switch] Setting up switch.unifi
2022-01-26 13:51:11 DEBUG (MainThread) [aiounifi.websocket] Websocket running
2022-01-26 13:51:11 DEBUG (MainThread) [homeassistant.components.unifi.unifi_entity_base] New client entity device_tracker.replaced_name (replaced_MAC)
2022-01-26 13:51:11 DEBUG (MainThread) [homeassistant.components.unifi.unifi_entity_base] New client entity device_tracker.replaced_name (replaced_MAC)
2022-01-26 13:51:11 DEBUG (MainThread) [homeassistant.components.unifi.unifi_entity_base] New client entity device_tracker.replaced_name (replaced_MAC)
2022-01-26 13:51:11 DEBUG (MainThread) [homeassistant.components.unifi.unifi_entity_base] New client entity device_tracker.replaced_name (replaced_MAC)
2022-01-26 13:51:11 DEBUG (MainThread) [homeassistant.components.unifi.unifi_entity_base] New client entity device_tracker.replaced_name (replaced_MAC)
2022-01-26 13:51:11 DEBUG (MainThread) [homeassistant.components.unifi.unifi_entity_base] New client entity device_tracker.replaced_name (replaced_MAC)
2022-01-26 13:51:11 DEBUG (MainThread) [homeassistant.components.unifi.unifi_entity_base] New client entity device_tracker.replaced_name (replaced_MAC)
2022-01-26 13:51:11 DEBUG (MainThread) [homeassistant.components.unifi.unifi_entity_base] New client entity device_tracker.replaced_name (replaced_MAC)
2022-01-26 13:51:11 DEBUG (MainThread) [homeassistant.components.unifi.unifi_entity_base] New client entity device_tracker.replaced_name (replaced_MAC)
2022-01-26 13:51:11 DEBUG (MainThread) [homeassistant.components.unifi.unifi_entity_base] New outlet entity switch.replaced_name (replaced_MAC)
2022-01-26 13:51:11 DEBUG (MainThread) [homeassistant.components.unifi.unifi_entity_base] New outlet entity switch.replaced_name (replaced_MAC)
2022-01-26 13:51:11 DEBUG (MainThread) [homeassistant.components.unifi.unifi_entity_base] New outlet entity switch.replaced_name (replaced_MAC)
2022-01-26 13:51:11 DEBUG (MainThread) [homeassistant.components.unifi.unifi_entity_base] New outlet entity switch.replaced_name (replaced_MAC)
2022-01-26 13:51:11 DEBUG (MainThread) [homeassistant.components.unifi.unifi_entity_base] New outlet entity switch.replaced_name (replaced_MAC)
2022-01-26 13:51:11 DEBUG (MainThread) [homeassistant.components.unifi.unifi_entity_base] New outlet entity switch.replaced_name (replaced_MAC)
2022-01-26 13:51:11 DEBUG (MainThread) [homeassistant.components.unifi.unifi_entity_base] New outlet entity switch.replaced_name (replaced_MAC)
2022-01-26 13:51:12 DEBUG (MainThread) [aiounifi.websocket] {"meta":{"rc":"ok","message":"device:update","mac":"replaced_MAC"},"data":[{"temperatures":[{"name":"Local","type":"board","value":42.0},{"name":"CPU","type":"cpu","value":41.625}]}]}
2022-01-26 13:51:12 DEBUG (MainThread) [aiounifi.controller] Unsupported message type {'data': [{'_id': '61c0287e6b7d321fb18bedc7', 'adopt_state': 0, 'adoptable_when_upgraded': False, 'adopted': True, 'bytes-r': 624, 'connection_network_name': 'LAN', 'countrycode_table': [840, 124, 630], 'default': False, 'device_type': 'MANAGED', 'disabled': False, 'displayable_version': '2.3.11', 'download_speed_bytes_per_second': 43, 'ethernet_overrides': [{'ifname': 'eth4', 'networkgroup': 'WAN'}, {'ifname': 'eth0', 'networkgroup': 'LAN'}, {'ifname': 'eth1', 'networkgroup': 'LAN'}, {'ifname': 'eth2', 'networkgroup': 'LAN'}, {'ifname': 'eth3', 'networkgroup': 'LAN'}], 'fw_caps': 1676582447, 'ip': 'replaced_IP', 'isolated': False, 'last_seen': 1643223072, 'license_state': 'registered', 'locating': False, 'lte_connected': False, 'mac': '24:5a:4c:9f:e1:75', 'model': 'UDR', 'model_in_eol': False, 'model_in_lts': False, 'model_incompatible': False, 'name': 'UDR', 'num_sta': 5, 'port_table': [{'aggregated_by': False, 'autoneg': True, 'full_duplex': False, 'ifname': 'eth0', 'is_uplink': False, 'media': 'GE', 'name': 'Port 1', 'op_mode': 'switch', 'poe_caps': 0, 'poe_enable': False, 'port_idx': 1, 'port_poe': False, 'portconf_id': '5b213940b150b6c08a49dcad', 'rx_bytes': 0, 'rx_bytes-r': 0, 'rx_dropped': 0, 'rx_errors': 0, 'rx_packets': 0, 'satisfaction': 0, 'speed': 10, 'speed_caps': 1048623, 'tx_bytes': 0, 'tx_bytes-r': 0, 'tx_dropped': 0, 'tx_errors': 0, 'tx_packets': 0, 'up': False}, {'aggregated_by': False, 'autoneg': True, 'full_duplex': True, 'ifname': 'eth1', 'ip': 'replaced_IP', 'is_uplink': False, 'media': 'GE', 'name': 'Port 2', 'op_mode': 'switch', 'poe_caps': 0, 'poe_enable': False, 'port_idx': 2, 'port_poe': False, 'portconf_id': '5b213940b150b6c08a49dcad', 'rx_bytes': 929752442216, 'rx_bytes-r': 530973, 'rx_dropped': 2, 'rx_errors': 0, 'rx_packets': 765760400, 'satisfaction': 0, 'speed': 1000, 'speed_caps': 1048623, 'tx_bytes': 38935263036, 'tx_bytes-r': 24886, 'tx_dropped': 0, 'tx_errors': 0, 'tx_packets': 508563263, 'up': True}, {'aggregated_by': False, 'autoneg': True, 'full_duplex': False, 'ifname': 'eth2', 'is_uplink': False, 'media': 'GE', 'name': 'Port 3', 'op_mode': 'switch', 'poe_caps': 1, 'poe_enable': False, 'port_idx': 3, 'port_poe': True, 'portconf_id': '5b213940b150b6c08a49dcad', 'rx_bytes': 0, 'rx_bytes-r': 0, 'rx_dropped': 0, 'rx_errors': 0, 'rx_packets': 0, 'satisfaction': 0, 'speed': 10, 'speed_caps': 1048623, 'tx_bytes': 0, 'tx_bytes-r': 0, 'tx_dropped': 0, 'tx_errors': 0, 'tx_packets': 0, 'up': False}, {'aggregated_by': False, 'autoneg': True, 'full_duplex': False, 'ifname': 'eth3', 'is_uplink': False, 'media': 'GE', 'name': 'Port 4', 'op_mode': 'switch', 'poe_caps': 1, 'poe_enable': False, 'port_idx': 4, 'port_poe': True, 'portconf_id': '5b213940b150b6c08a49dcad', 'rx_bytes': 0, 'rx_bytes-r': 0, 'rx_dropped': 0, 'rx_errors': 0, 'rx_packets': 0, 'satisfaction': 0, 'speed': 10, 'speed_caps': 1048623, 'tx_bytes': 0, 'tx_bytes-r': 0, 'tx_dropped': 0, 'tx_errors': 0, 'tx_packets': 0, 'up': False}, {'aggregated_by': False, 'autoneg': True, 'full_duplex': True, 'ifname': 'eth4', 'ip': 'replaced_IP', 'is_uplink': True, 'media': 'GE', 'name': 'Port 5', 'op_mode': 'switch', 'poe_caps': 0, 'poe_enable': False, 'port_idx': 5, 'port_poe': False, 'portconf_id': '5b213940b150b6c08a49dcad', 'rx_bytes': 689032910, 'rx_bytes-r': 43, 'rx_dropped': 0, 'rx_errors': 0, 'rx_packets': 4632605, 'satisfaction': 0, 'speed': 1000, 'speed_caps': 1048623, 'tx_bytes': 126045179, 'tx_bytes-r': 40, 'tx_dropped': 0, 'tx_errors': 0, 'tx_packets': 1455856, 'up': True}], 'product_line': 'NETWORK', 'radio_table': [{'antenna_gain': 0, 'builtin_ant_gain': 3, 'builtin_antenna': True, 'channel': 1, 'current_antenna_gain': 0, 'hard_noise_floor_enabled': False, 'has_dfs': False, 'has_fccdfs': False, 'has_ht160': False, 'has_restricted_channels': False, 'ht': 20, 'is_11ac': False, 'is_11ax': False, 'loadbalance_enabled': False, 'max_txpower': 23, 'min_rssi_enabled': False, 'min_txpower': 6, 'name': 'ra0', 'nss': 4, 'radio': 'ng', 'radio_caps': 67256324, 'radio_caps2': 1, 'sens_level_enabled': False, 'tx_power_mode': 'low', 'vwire_enabled': True}, {'antenna_gain': 0, 'builtin_ant_gain': 4, 'builtin_antenna': True, 'channel': 36, 'current_antenna_gain': 0, 'hard_noise_floor_enabled': False, 'has_dfs': True, 'has_fccdfs': True, 'has_ht160': True, 'has_restricted_channels': False, 'ht': 80, 'is_11ac': True, 'is_11ax': True, 'loadbalance_enabled': False, 'max_txpower': 26, 'min_rssi_enabled': False, 'min_txpower': 6, 'name': 'rai0', 'nss': 4, 'radio': 'na', 'radio_caps': 251805700, 'radio_caps2': 15, 'sens_level_enabled': False, 'tx_power_mode': 'low', 'vwire_enabled': False}], 'radio_table_stats': [{'channel': 1, 'cu_self_rx': 0, 'cu_self_tx': 0, 'cu_total': 26, 'extchannel': 0, 'gain': 3, 'guest-num_sta': 0, 'name': 'ra0', 'num_sta': 0, 'radio': 'ng', 'satisfaction': 100, 'state': 'RUN', 'tx_packets': 0, 'tx_power': 6, 'tx_retries': 0, 'user-num_sta': 0}, {'channel': 36, 'cu_self_rx': 0, 'cu_self_tx': 0, 'cu_total': 2, 'extchannel': 1, 'gain': 4, 'guest-num_sta': 0, 'name': 'rai0', 'num_sta': 0, 'radio': 'na', 'satisfaction': -1, 'state': 'RUN', 'tx_packets': 0, 'tx_power': 6, 'tx_retries': 0, 'user-num_sta': 0}], 'restarting': False, 'rx_bytes': 126045179, 'rx_bytes-d': 24524, 'satisfaction': 100, 'spectrum_scanning': False, 'state': 1, 'sys_stats': {'loadavg_1': 1.27, 'loadavg_15': 1.02, 'loadavg_5': 1.02, 'mem_buffer': 64655360, 'mem_total': 2030968832, 'mem_used': 1789050880}, 'system-stats': {'cpu': 27.5, 'mem': 87.9, 'uptime': 1297528}, 'tx_bytes': 689032910, 'tx_bytes-d': 16063, 'type': 'udm', 'unsupported': False, 'unsupported_reason': 0, 'upgradable': False, 'upgrade_state': 0, 'uplink': {'name': 'eth4', 'port_idx': 5, 'speed': 1000, 'type': 'wire'}, 'uplink_table': [], 'upload_speed_bytes_per_second': 40, 'uptime': 1297528, 'vap_table': [], 'version': '2.3.11.6510', 'wlan_overrides': []}], 'meta': {'message': 'unifi-device:sync', 'product_line': 'NETWORK', 'rc': 'ok'}}
2022-01-26 13:51:12 DEBUG (MainThread) [aiounifi.websocket] {"data":[{"_id":"61c0287e6b7d321fb18bedc7","adopt_state":0,"adoptable_when_upgraded":false,"adopted":true,"bytes-r":624,"connection_network_name":"LAN","countrycode_table":[840,124,630],"default":false,"device_type":"MANAGED","disabled":false,"displayable_version":"2.3.11","download_speed_bytes_per_second":43,"ethernet_overrides":[{"ifname":"eth4","networkgroup":"WAN"},{"ifname":"eth0","networkgroup":"LAN"},{"ifname":"eth1","networkgroup":"LAN"},{"ifname":"eth2","networkgroup":"LAN"},{"ifname":"eth3","networkgroup":"LAN"}],"fw_caps":1676582447,"ip":"replaced_IP","isolated":false,"last_seen":1643223072,"license_state":"registered","locating":false,"lte_connected":false,"mac":"replaced_MAC","model":"UDR","model_in_eol":false,"model_in_lts":false,"model_incompatible":false,"name":"UDR","num_sta":5,"port_table":[{"aggregated_by":false,"autoneg":true,"full_duplex":false,"ifname":"eth0","is_uplink":false,"media":"GE","name":"Port 1","op_mode":"switch","poe_caps":0,"poe_enable":false,"port_idx":1,"port_poe":false,"portconf_id":"5b213940b150b6c08a49dcad","rx_bytes":0,"rx_bytes-r":0,"rx_dropped":0,"rx_errors":0,"rx_packets":0,"satisfaction":0,"speed":10,"speed_caps":1048623,"tx_bytes":0,"tx_bytes-r":0,"tx_dropped":0,"tx_errors":0,"tx_packets":0,"up":false},{"aggregated_by":false,"autoneg":true,"full_duplex":true,"ifname":"eth1","ip":"replaced_IP","is_uplink":false,"media":"GE","name":"Port 2","op_mode":"switch","poe_caps":0,"poe_enable":false,"port_idx":2,"port_poe":false,"portconf_id":"5b213940b150b6c08a49dcad","rx_bytes":929752442216,"rx_bytes-r":530973,"rx_dropped":2,"rx_errors":0,"rx_packets":765760400,"satisfaction":0,"speed":1000,"speed_caps":1048623,"tx_bytes":38935263036,"tx_bytes-r":24886,"tx_dropped":0,"tx_errors":0,"tx_packets":508563263,"up":true},{"aggregated_by":false,"autoneg":true,"full_duplex":false,"ifname":"eth2","is_uplink":false,"media":"GE","name":"Port 3","op_mode":"switch","poe_caps":1,"poe_enable":false,"port_idx":3,"port_poe":true,"portconf_id":"5b213940b150b6c08a49dcad","rx_bytes":0,"rx_bytes-r":0,"rx_dropped":0,"rx_errors":0,"rx_packets":0,"satisfaction":0,"speed":10,"speed_caps":1048623,"tx_bytes":0,"tx_bytes-r":0,"tx_dropped":0,"tx_errors":0,"tx_packets":0,"up":false},{"aggregated_by":false,"autoneg":true,"full_duplex":false,"ifname":"eth3","is_uplink":false,"media":"GE","name":"Port 4","op_mode":"switch","poe_caps":1,"poe_enable":false,"port_idx":4,"port_poe":true,"portconf_id":"5b213940b150b6c08a49dcad","rx_bytes":0,"rx_bytes-r":0,"rx_dropped":0,"rx_errors":0,"rx_packets":0,"satisfaction":0,"speed":10,"speed_caps":1048623,"tx_bytes":0,"tx_bytes-r":0,"tx_dropped":0,"tx_errors":0,"tx_packets":0,"up":false},{"aggregated_by":false,"autoneg":true,"full_duplex":true,"ifname":"eth4","ip":"replaced_IP","is_uplink":true,"media":"GE","name":"Port 5","op_mode":"switch","poe_caps":0,"poe_enable":false,"port_idx":5,"port_poe":false,"portconf_id":"5b213940b150b6c08a49dcad","rx_bytes":689032910,"rx_bytes-r":43,"rx_dropped":0,"rx_errors":0,"rx_packets":4632605,"satisfaction":0,"speed":1000,"speed_caps":1048623,"tx_bytes":126045179,"tx_bytes-r":40,"tx_dropped":0,"tx_errors":0,"tx_packets":1455856,"up":true}],"product_line":"NETWORK","radio_table":[{"antenna_gain":0,"builtin_ant_gain":3,"builtin_antenna":true,"channel":1,"current_antenna_gain":0,"hard_noise_floor_enabled":false,"has_dfs":false,"has_fccdfs":false,"has_ht160":false,"has_restricted_channels":false,"ht":20,"is_11ac":false,"is_11ax":false,"loadbalance_enabled":false,"max_txpower":23,"min_rssi_enabled":false,"min_txpower":6,"name":"ra0","nss":4,"radio":"ng","radio_caps":67256324,"radio_caps2":1,"sens_level_enabled":false,"tx_power_mode":"low","vwire_enabled":true},{"antenna_gain":0,"builtin_ant_gain":4,"builtin_antenna":true,"channel":36,"current_antenna_gain":0,"hard_noise_floor_enabled":false,"has_dfs":true,"has_fccdfs":true,"has_ht160":true,"has_restricted_channels":false,"ht":80,"is_11ac":true,"is_11ax":true,"loadbalance_enabled":false,"max_txpower":26,"min_rssi_enabled":false,"min_txpower":6,"name":"rai0","nss":4,"radio":"na","radio_caps":251805700,"radio_caps2":15,"sens_level_enabled":false,"tx_power_mode":"low","vwire_enabled":false}],"radio_table_stats":[{"channel":1,"cu_self_rx":0,"cu_self_tx":0,"cu_total":26,"extchannel":0,"gain":3,"guest-num_sta":0,"name":"ra0","num_sta":0,"radio":"ng","satisfaction":100,"state":"RUN","tx_packets":0,"tx_power":6,"tx_retries":0,"user-num_sta":0},{"channel":36,"cu_self_rx":0,"cu_self_tx":0,"cu_total":2,"extchannel":1,"gain":4,"guest-num_sta":0,"name":"rai0","num_sta":0,"radio":"na","satisfaction":-1,"state":"RUN","tx_packets":0,"tx_power":6,"tx_retries":0,"user-num_sta":0}],"restarting":false,"rx_bytes":126045179,"rx_bytes-d":24524,"satisfaction":100,"spectrum_scanning":false,"state":1,"sys_stats":{"loadavg_1":1.27,"loadavg_15":1.02,"loadavg_5":1.02,"mem_buffer":64655360,"mem_total":2030968832,"mem_used":1789050880},"system-stats":{"cpu":27.5,"mem":87.9,"uptime":1297528},"tx_bytes":689032910,"tx_bytes-d":16063,"type":"udm","unsupported":false,"unsupported_reason":0,"upgradable":false,"upgrade_state":0,"uplink":{"name":"eth4","port_idx":5,"speed":1000,"type":"wire"},"uplink_table":[],"upload_speed_bytes_per_second":40,"uptime":1297528,"vap_table":[],"version":"2.3.11.6510","wlan_overrides":[]}],"meta":{"message":"unifi-device:sync","product_line":"NETWORK","rc":"ok"}}
2022-01-26 13:51:20 INFO (MainThread) [homeassistant.components.automation.notify_unifi_protect_g3_camera] Initialized trigger [NOTIFY] Unifi Protect G3 Camera
2022-01-26 13:51:20 INFO (MainThread) [homeassistant.components.automation.reload_unifi] Initialized trigger Reload Unifi
2022-01-26 13:52:17 DEBUG (MainThread) [aiounifi.websocket] {"meta":{"rc":"ok","message":"device:update","mac":"replaced_MAC"},"data":[{"temperatures":[{"name":"Local","type":"board","value":42.0},{"name":"CPU","type":"cpu","value":41.75}]}]}
2022-01-26 13:52:17 DEBUG (MainThread) [aiounifi.controller] Unsupported message type {'data': [{'_id': '61c0287e6b7d321fb18bedc7', 'adopt_state': 0, 'adoptable_when_upgraded': False, 'adopted': True, 'bytes-r': 0, 'connection_network_name': 'LAN', 'countrycode_table': [840, 124, 630], 'default': False, 'device_type': 'MANAGED', 'disabled': False, 'displayable_version': '2.3.11', 'download_speed_bytes_per_second': 44, 'ethernet_overrides': [{'ifname': 'eth4', 'networkgroup': 'WAN'}, {'ifname': 'eth0', 'networkgroup': 'LAN'}, {'ifname': 'eth1', 'networkgroup': 'LAN'}, {'ifname': 'eth2', 'networkgroup': 'LAN'}, {'ifname': 'eth3', 'networkgroup': 'LAN'}], 'fw_caps': 1676582447, 'ip': 'replaced_IP', 'isolated': False, 'last_seen': 1643223137, 'license_state': 'registered', 'locating': False, 'lte_connected': False, 'mac': '24:5a:4c:9f:e1:75', 'model': 'UDR', 'model_in_eol': False, 'model_in_lts': False, 'model_incompatible': False, 'name': 'UDR', 'num_sta': 5, 'port_table': [{'aggregated_by': False, 'autoneg': True, 'full_duplex': False, 'ifname': 'eth0', 'is_uplink': False, 'media': 'GE', 'name': 'Port 1', 'op_mode': 'switch', 'poe_caps': 0, 'poe_enable': False, 'port_idx': 1, 'port_poe': False, 'portconf_id': '5b213940b150b6c08a49dcad', 'rx_bytes': 0, 'rx_bytes-r': 0, 'rx_dropped': 0, 'rx_errors': 0, 'rx_packets': 0, 'satisfaction': 0, 'speed': 10, 'speed_caps': 1048623, 'tx_bytes': 0, 'tx_bytes-r': 0, 'tx_dropped': 0, 'tx_errors': 0, 'tx_packets': 0, 'up': False}, {'aggregated_by': False, 'autoneg': True, 'full_duplex': True, 'ifname': 'eth1', 'ip': 'replaced_IP', 'is_uplink': False, 'media': 'GE', 'name': 'Port 2', 'op_mode': 'switch', 'poe_caps': 0, 'poe_enable': False, 'port_idx': 2, 'port_poe': False, 'portconf_id': '5b213940b150b6c08a49dcad', 'rx_bytes': 929753673491, 'rx_bytes-r': 1231275, 'rx_dropped': 2, 'rx_errors': 0, 'rx_packets': 765761504, 'satisfaction': 0, 'speed': 1000, 'speed_caps': 1048623, 'tx_bytes': 38935412189, 'tx_bytes-r': 149153, 'tx_dropped': 0, 'tx_errors': 0, 'tx_packets': 508564056, 'up': True}, {'aggregated_by': False, 'autoneg': True, 'full_duplex': False, 'ifname': 'eth2', 'is_uplink': False, 'media': 'GE', 'name': 'Port 3', 'op_mode': 'switch', 'poe_caps': 1, 'poe_enable': False, 'port_idx': 3, 'port_poe': True, 'portconf_id': '5b213940b150b6c08a49dcad', 'rx_bytes': 0, 'rx_bytes-r': 0, 'rx_dropped': 0, 'rx_errors': 0, 'rx_packets': 0, 'satisfaction': 0, 'speed': 10, 'speed_caps': 1048623, 'tx_bytes': 0, 'tx_bytes-r': 0, 'tx_dropped': 0, 'tx_errors': 0, 'tx_packets': 0, 'up': False}, {'aggregated_by': False, 'autoneg': True, 'full_duplex': False, 'ifname': 'eth3', 'is_uplink': False, 'media': 'GE', 'name': 'Port 4', 'op_mode': 'switch', 'poe_caps': 1, 'poe_enable': False, 'port_idx': 4, 'port_poe': True, 'portconf_id': '5b213940b150b6c08a49dcad', 'rx_bytes': 0, 'rx_bytes-r': 0, 'rx_dropped': 0, 'rx_errors': 0, 'rx_packets': 0, 'satisfaction': 0, 'speed': 10, 'speed_caps': 1048623, 'tx_bytes': 0, 'tx_bytes-r': 0, 'tx_dropped': 0, 'tx_errors': 0, 'tx_packets': 0, 'up': False}, {'aggregated_by': False, 'autoneg': True, 'full_duplex': True, 'ifname': 'eth4', 'ip': 'replaced_IP', 'is_uplink': True, 'media': 'GE', 'name': 'Port 5', 'op_mode': 'switch', 'poe_caps': 0, 'poe_enable': False, 'port_idx': 5, 'port_poe': False, 'portconf_id': '5b213940b150b6c08a49dcad', 'rx_bytes': 689033002, 'rx_bytes-r': 44, 'rx_dropped': 0, 'rx_errors': 0, 'rx_packets': 4632607, 'satisfaction': 0, 'speed': 1000, 'speed_caps': 1048623, 'tx_bytes': 126045179, 'tx_bytes-r': 0, 'tx_dropped': 0, 'tx_errors': 0, 'tx_packets': 1455856, 'up': True}], 'product_line': 'NETWORK', 'radio_table': [{'antenna_gain': 0, 'builtin_ant_gain': 3, 'builtin_antenna': True, 'channel': 1, 'current_antenna_gain': 0, 'hard_noise_floor_enabled': False, 'has_dfs': False, 'has_fccdfs': False, 'has_ht160': False, 'has_restricted_channels': False, 'ht': 20, 'is_11ac': False, 'is_11ax': False, 'loadbalance_enabled': False, 'max_txpower': 23, 'min_rssi_enabled': False, 'min_txpower': 6, 'name': 'ra0', 'nss': 4, 'radio': 'ng', 'radio_caps': 67256324, 'radio_caps2': 1, 'sens_level_enabled': False, 'tx_power_mode': 'low', 'vwire_enabled': True}, {'antenna_gain': 0, 'builtin_ant_gain': 4, 'builtin_antenna': True, 'channel': 36, 'current_antenna_gain': 0, 'hard_noise_floor_enabled': False, 'has_dfs': True, 'has_fccdfs': True, 'has_ht160': True, 'has_restricted_channels': False, 'ht': 80, 'is_11ac': True, 'is_11ax': True, 'loadbalance_enabled': False, 'max_txpower': 26, 'min_rssi_enabled': False, 'min_txpower': 6, 'name': 'rai0', 'nss': 4, 'radio': 'na', 'radio_caps': 251805700, 'radio_caps2': 15, 'sens_level_enabled': False, 'tx_power_mode': 'low', 'vwire_enabled': False}], 'radio_table_stats': [{'channel': 1, 'cu_self_rx': 0, 'cu_self_tx': 0, 'cu_total': 26, 'extchannel': 0, 'gain': 3, 'guest-num_sta': 0, 'name': 'ra0', 'num_sta': 0, 'radio': 'ng', 'satisfaction': 100, 'state': 'RUN', 'tx_packets': 0, 'tx_power': 6, 'tx_retries': 0, 'user-num_sta': 0}, {'channel': 36, 'cu_self_rx': 0, 'cu_self_tx': 0, 'cu_total': 2, 'extchannel': 1, 'gain': 4, 'guest-num_sta': 0, 'name': 'rai0', 'num_sta': 0, 'radio': 'na', 'satisfaction': -1, 'state': 'RUN', 'tx_packets': 0, 'tx_power': 6, 'tx_retries': 0, 'user-num_sta': 0}], 'restarting': False, 'rx_bytes': 126045179, 'rx_bytes-d': 0, 'satisfaction': 100, 'spectrum_scanning': False, 'state': 1, 'sys_stats': {'loadavg_1': 1.27, 'loadavg_15': 1.02, 'loadavg_5': 1.02, 'mem_buffer': 64671744, 'mem_total': 2030968832, 'mem_used': 1782595584}, 'system-stats': {'cpu': 27.5, 'mem': 87.8, 'uptime': 1297530}, 'tx_bytes': 689033002, 'tx_bytes-d': 0, 'type': 'udm', 'unsupported': False, 'unsupported_reason': 0, 'upgradable': False, 'upgrade_state': 0, 'uplink': {'name': 'eth4', 'port_idx': 5, 'speed': 1000, 'type': 'wire'}, 'uplink_table': [], 'upload_speed_bytes_per_second': 0, 'uptime': 1297530, 'vap_table': [], 'version': '2.3.11.6510', 'wlan_overrides': []}], 'meta': {'message': 'unifi-device:sync', 'product_line': 'NETWORK', 'rc': 'ok'}}
2022-01-26 13:52:17 DEBUG (MainThread) [aiounifi.websocket] {"data":[{"_id":"61c0287e6b7d321fb18bedc7","adopt_state":0,"adoptable_when_upgraded":false,"adopted":true,"bytes-r":0,"connection_network_name":"LAN","countrycode_table":[840,124,630],"default":false,"device_type":"MANAGED","disabled":false,"displayable_version":"2.3.11","download_speed_bytes_per_second":44,"ethernet_overrides":[{"ifname":"eth4","networkgroup":"WAN"},{"ifname":"eth0","networkgroup":"LAN"},{"ifname":"eth1","networkgroup":"LAN"},{"ifname":"eth2","networkgroup":"LAN"},{"ifname":"eth3","networkgroup":"LAN"}],"fw_caps":1676582447,"ip":"replaced_IP","isolated":false,"last_seen":1643223137,"license_state":"registered","locating":false,"lte_connected":false,"mac":"replaced_MAC","model":"UDR","model_in_eol":false,"model_in_lts":false,"model_incompatible":false,"name":"UDR","num_sta":5,"port_table":[{"aggregated_by":false,"autoneg":true,"full_duplex":false,"ifname":"eth0","is_uplink":false,"media":"GE","name":"Port 1","op_mode":"switch","poe_caps":0,"poe_enable":false,"port_idx":1,"port_poe":false,"portconf_id":"5b213940b150b6c08a49dcad","rx_bytes":0,"rx_bytes-r":0,"rx_dropped":0,"rx_errors":0,"rx_packets":0,"satisfaction":0,"speed":10,"speed_caps":1048623,"tx_bytes":0,"tx_bytes-r":0,"tx_dropped":0,"tx_errors":0,"tx_packets":0,"up":false},{"aggregated_by":false,"autoneg":true,"full_duplex":true,"ifname":"eth1","ip":"replaced_IP","is_uplink":false,"media":"GE","name":"Port 2","op_mode":"switch","poe_caps":0,"poe_enable":false,"port_idx":2,"port_poe":false,"portconf_id":"5b213940b150b6c08a49dcad","rx_bytes":929753673491,"rx_bytes-r":1231275,"rx_dropped":2,"rx_errors":0,"rx_packets":765761504,"satisfaction":0,"speed":1000,"speed_caps":1048623,"tx_bytes":38935412189,"tx_bytes-r":149153,"tx_dropped":0,"tx_errors":0,"tx_packets":508564056,"up":true},{"aggregated_by":false,"autoneg":true,"full_duplex":false,"ifname":"eth2","is_uplink":false,"media":"GE","name":"Port 3","op_mode":"switch","poe_caps":1,"poe_enable":false,"port_idx":3,"port_poe":true,"portconf_id":"5b213940b150b6c08a49dcad","rx_bytes":0,"rx_bytes-r":0,"rx_dropped":0,"rx_errors":0,"rx_packets":0,"satisfaction":0,"speed":10,"speed_caps":1048623,"tx_bytes":0,"tx_bytes-r":0,"tx_dropped":0,"tx_errors":0,"tx_packets":0,"up":false},{"aggregated_by":false,"autoneg":true,"full_duplex":false,"ifname":"eth3","is_uplink":false,"media":"GE","name":"Port 4","op_mode":"switch","poe_caps":1,"poe_enable":false,"port_idx":4,"port_poe":true,"portconf_id":"5b213940b150b6c08a49dcad","rx_bytes":0,"rx_bytes-r":0,"rx_dropped":0,"rx_errors":0,"rx_packets":0,"satisfaction":0,"speed":10,"speed_caps":1048623,"tx_bytes":0,"tx_bytes-r":0,"tx_dropped":0,"tx_errors":0,"tx_packets":0,"up":false},{"aggregated_by":false,"autoneg":true,"full_duplex":true,"ifname":"eth4","ip":"replaced_IP","is_uplink":true,"media":"GE","name":"Port 5","op_mode":"switch","poe_caps":0,"poe_enable":false,"port_idx":5,"port_poe":false,"portconf_id":"5b213940b150b6c08a49dcad","rx_bytes":689033002,"rx_bytes-r":44,"rx_dropped":0,"rx_errors":0,"rx_packets":4632607,"satisfaction":0,"speed":1000,"speed_caps":1048623,"tx_bytes":126045179,"tx_bytes-r":0,"tx_dropped":0,"tx_errors":0,"tx_packets":1455856,"up":true}],"product_line":"NETWORK","radio_table":[{"antenna_gain":0,"builtin_ant_gain":3,"builtin_antenna":true,"channel":1,"current_antenna_gain":0,"hard_noise_floor_enabled":false,"has_dfs":false,"has_fccdfs":false,"has_ht160":false,"has_restricted_channels":false,"ht":20,"is_11ac":false,"is_11ax":false,"loadbalance_enabled":false,"max_txpower":23,"min_rssi_enabled":false,"min_txpower":6,"name":"ra0","nss":4,"radio":"ng","radio_caps":67256324,"radio_caps2":1,"sens_level_enabled":false,"tx_power_mode":"low","vwire_enabled":true},{"antenna_gain":0,"builtin_ant_gain":4,"builtin_antenna":true,"channel":36,"current_antenna_gain":0,"hard_noise_floor_enabled":false,"has_dfs":true,"has_fccdfs":true,"has_ht160":true,"has_restricted_channels":false,"ht":80,"is_11ac":true,"is_11ax":true,"loadbalance_enabled":false,"max_txpower":26,"min_rssi_enabled":false,"min_txpower":6,"name":"rai0","nss":4,"radio":"na","radio_caps":251805700,"radio_caps2":15,"sens_level_enabled":false,"tx_power_mode":"low","vwire_enabled":false}],"radio_table_stats":[{"channel":1,"cu_self_rx":0,"cu_self_tx":0,"cu_total":26,"extchannel":0,"gain":3,"guest-num_sta":0,"name":"ra0","num_sta":0,"radio":"ng","satisfaction":100,"state":"RUN","tx_packets":0,"tx_power":6,"tx_retries":0,"user-num_sta":0},{"channel":36,"cu_self_rx":0,"cu_self_tx":0,"cu_total":2,"extchannel":1,"gain":4,"guest-num_sta":0,"name":"rai0","num_sta":0,"radio":"na","satisfaction":-1,"state":"RUN","tx_packets":0,"tx_power":6,"tx_retries":0,"user-num_sta":0}],"restarting":false,"rx_bytes":126045179,"rx_bytes-d":0,"satisfaction":100,"spectrum_scanning":false,"state":1,"sys_stats":{"loadavg_1":1.27,"loadavg_15":1.02,"loadavg_5":1.02,"mem_buffer":64671744,"mem_total":2030968832,"mem_used":1782595584},"system-stats":{"cpu":27.5,"mem":87.8,"uptime":1297530},"tx_bytes":689033002,"tx_bytes-d":0,"type":"udm","unsupported":false,"unsupported_reason":0,"upgradable":false,"upgrade_state":0,"uplink":{"name":"eth4","port_idx":5,"speed":1000,"type":"wire"},"uplink_table":[],"upload_speed_bytes_per_second":0,"uptime":1297530,"vap_table":[],"version":"2.3.11.6510","wlan_overrides":[]}],"meta":{"message":"unifi-device:sync","product_line":"NETWORK","rc":"ok"}}
2022-01-26 13:53:20 DEBUG (MainThread) [aiounifi.websocket] {"meta":{"rc":"ok","message":"device:update","mac":"replaced_MAC"},"data":[{"temperatures":[{"name":"Local","type":"board","value":43.0},{"name":"CPU","type":"cpu","value":41.625}]}]}
2022-01-26 13:53:20 DEBUG (MainThread) [aiounifi.controller] Unsupported message type {'data': [{'_id': '61c0287e6b7d321fb18bedc7', 'adopt_state': 0, 'adoptable_when_upgraded': False, 'adopted': True, 'bytes-r': 594, 'connection_network_name': 'LAN', 'countrycode_table': [840, 124, 630], 'default': False, 'device_type': 'MANAGED', 'disabled': False, 'displayable_version': '2.3.11', 'download_speed_bytes_per_second': 89, 'ethernet_overrides': [{'ifname': 'eth4', 'networkgroup': 'WAN'}, {'ifname': 'eth0', 'networkgroup': 'LAN'}, {'ifname': 'eth1', 'networkgroup': 'LAN'}, {'ifname': 'eth2', 'networkgroup': 'LAN'}, {'ifname': 'eth3', 'networkgroup': 'LAN'}], 'fw_caps': 1676582447, 'ip': 'replaced_IP', 'isolated': False, 'last_seen': 1643223200, 'license_state': 'registered', 'locating': False, 'lte_connected': False, 'mac': '24:5a:4c:9f:e1:75', 'model': 'UDR', 'model_in_eol': False, 'model_in_lts': False, 'model_incompatible': False, 'name': 'UDR', 'num_sta': 5, 'port_table': [{'aggregated_by': False, 'autoneg': True, 'full_duplex': False, 'ifname': 'eth0', 'is_uplink': False, 'media': 'GE', 'name': 'Port 1', 'op_mode': 'switch', 'poe_caps': 0, 'poe_enable': False, 'port_idx': 1, 'port_poe': False, 'portconf_id': '5b213940b150b6c08a49dcad', 'rx_bytes': 0, 'rx_bytes-r': 0, 'rx_dropped': 0, 'rx_errors': 0, 'rx_packets': 0, 'satisfaction': 0, 'speed': 10, 'speed_caps': 1048623, 'tx_bytes': 0, 'tx_bytes-r': 0, 'tx_dropped': 0, 'tx_errors': 0, 'tx_packets': 0, 'up': False}, {'aggregated_by': False, 'autoneg': True, 'full_duplex': True, 'ifname': 'eth1', 'ip': 'replaced_IP', 'is_uplink': False, 'media': 'GE', 'name': 'Port 2', 'op_mode': 'switch', 'poe_caps': 0, 'poe_enable': False, 'port_idx': 2, 'port_poe': False, 'portconf_id': '5b213940b150b6c08a49dcad', 'rx_bytes': 929788331543, 'rx_bytes-r': 533200, 'rx_dropped': 2, 'rx_errors': 0, 'rx_packets': 765791453, 'satisfaction': 0, 'speed': 1000, 'speed_caps': 1048623, 'tx_bytes': 38936999389, 'tx_bytes-r': 24418, 'tx_dropped': 0, 'tx_errors': 0, 'tx_packets': 508586050, 'up': True}, {'aggregated_by': False, 'autoneg': True, 'full_duplex': False, 'ifname': 'eth2', 'is_uplink': False, 'media': 'GE', 'name': 'Port 3', 'op_mode': 'switch', 'poe_caps': 1, 'poe_enable': False, 'port_idx': 3, 'port_poe': True, 'portconf_id': '5b213940b150b6c08a49dcad', 'rx_bytes': 0, 'rx_bytes-r': 0, 'rx_dropped': 0, 'rx_errors': 0, 'rx_packets': 0, 'satisfaction': 0, 'speed': 10, 'speed_caps': 1048623, 'tx_bytes': 0, 'tx_bytes-r': 0, 'tx_dropped': 0, 'tx_errors': 0, 'tx_packets': 0, 'up': False}, {'aggregated_by': False, 'autoneg': True, 'full_duplex': False, 'ifname': 'eth3', 'is_uplink': False, 'media': 'GE', 'name': 'Port 4', 'op_mode': 'switch', 'poe_caps': 1, 'poe_enable': False, 'port_idx': 4, 'port_poe': True, 'portconf_id': '5b213940b150b6c08a49dcad', 'rx_bytes': 0, 'rx_bytes-r': 0, 'rx_dropped': 0, 'rx_errors': 0, 'rx_packets': 0, 'satisfaction': 0, 'speed': 10, 'speed_caps': 1048623, 'tx_bytes': 0, 'tx_bytes-r': 0, 'tx_dropped': 0, 'tx_errors': 0, 'tx_packets': 0, 'up': False}, {'aggregated_by': False, 'autoneg': True, 'full_duplex': True, 'ifname': 'eth4', 'ip': 'replaced_IP', 'is_uplink': True, 'media': 'GE', 'name': 'Port 5', 'op_mode': 'switch', 'poe_caps': 0, 'poe_enable': False, 'port_idx': 5, 'port_poe': False, 'portconf_id': '5b213940b150b6c08a49dcad', 'rx_bytes': 689045177, 'rx_bytes-r': 89, 'rx_dropped': 0, 'rx_errors': 0, 'rx_packets': 4632799, 'satisfaction': 0, 'speed': 1000, 'speed_caps': 1048623, 'tx_bytes': 126048855, 'tx_bytes-r': 83, 'tx_dropped': 0, 'tx_errors': 0, 'tx_packets': 1455922, 'up': True}], 'product_line': 'NETWORK', 'radio_table': [{'antenna_gain': 0, 'builtin_ant_gain': 3, 'builtin_antenna': True, 'channel': 1, 'current_antenna_gain': 0, 'hard_noise_floor_enabled': False, 'has_dfs': False, 'has_fccdfs': False, 'has_ht160': False, 'has_restricted_channels': False, 'ht': 20, 'is_11ac': False, 'is_11ax': False, 'loadbalance_enabled': False, 'max_txpower': 23, 'min_rssi_enabled': False, 'min_txpower': 6, 'name': 'ra0', 'nss': 4, 'radio': 'ng', 'radio_caps': 67256324, 'radio_caps2': 1, 'sens_level_enabled': False, 'tx_power_mode': 'low', 'vwire_enabled': True}, {'antenna_gain': 0, 'builtin_ant_gain': 4, 'builtin_antenna': True, 'channel': 36, 'current_antenna_gain': 0, 'hard_noise_floor_enabled': False, 'has_dfs': True, 'has_fccdfs': True, 'has_ht160': True, 'has_restricted_channels': False, 'ht': 80, 'is_11ac': True, 'is_11ax': True, 'loadbalance_enabled': False, 'max_txpower': 26, 'min_rssi_enabled': False, 'min_txpower': 6, 'name': 'rai0', 'nss': 4, 'radio': 'na', 'radio_caps': 251805700, 'radio_caps2': 15, 'sens_level_enabled': False, 'tx_power_mode': 'low', 'vwire_enabled': False}], 'radio_table_stats': [{'channel': 1, 'cu_self_rx': 0, 'cu_self_tx': 0, 'cu_total': 26, 'extchannel': 0, 'gain': 3, 'guest-num_sta': 0, 'name': 'ra0', 'num_sta': 0, 'radio': 'ng', 'satisfaction': 100, 'state': 'RUN', 'tx_packets': 0, 'tx_power': 6, 'tx_retries': 0, 'user-num_sta': 0}, {'channel': 36, 'cu_self_rx': 0, 'cu_self_tx': 0, 'cu_total': 2, 'extchannel': 1, 'gain': 4, 'guest-num_sta': 0, 'name': 'rai0', 'num_sta': 0, 'radio': 'na', 'satisfaction': -1, 'state': 'RUN', 'tx_packets': 0, 'tx_power': 6, 'tx_retries': 0, 'user-num_sta': 0}], 'restarting': False, 'rx_bytes': 126048855, 'rx_bytes-d': 23654, 'satisfaction': 100, 'spectrum_scanning': False, 'state': 1, 'sys_stats': {'loadavg_1': 0.82, 'loadavg_15': 0.99, 'loadavg_5': 0.95, 'mem_buffer': 64933888, 'mem_total': 2030968832, 'mem_used': 1787006976}, 'system-stats': {'cpu': 26.3, 'mem': 88.1, 'uptime': 1297594}, 'tx_bytes': 689045177, 'tx_bytes-d': 15015, 'type': 'udm', 'unsupported': False, 'unsupported_reason': 0, 'upgradable': False, 'upgrade_state': 0, 'uplink': {'name': 'eth4', 'port_idx': 5, 'speed': 1000, 'type': 'wire'}, 'uplink_table': [], 'upload_speed_bytes_per_second': 83, 'uptime': 1297594, 'vap_table': [], 'version': '2.3.11.6510', 'wlan_overrides': []}], 'meta': {'message': 'unifi-device:sync', 'product_line': 'NETWORK', 'rc': 'ok'}}
2022-01-26 13:53:20 DEBUG (MainThread) [aiounifi.websocket] {"data":[{"_id":"61c0287e6b7d321fb18bedc7","adopt_state":0,"adoptable_when_upgraded":false,"adopted":true,"bytes-r":594,"connection_network_name":"LAN","countrycode_table":[840,124,630],"default":false,"device_type":"MANAGED","disabled":false,"displayable_version":"2.3.11","download_speed_bytes_per_second":89,"ethernet_overrides":[{"ifname":"eth4","networkgroup":"WAN"},{"ifname":"eth0","networkgroup":"LAN"},{"ifname":"eth1","networkgroup":"LAN"},{"ifname":"eth2","networkgroup":"LAN"},{"ifname":"eth3","networkgroup":"LAN"}],"fw_caps":1676582447,"ip":"replaced_IP","isolated":false,"last_seen":1643223200,"license_state":"registered","locating":false,"lte_connected":false,"mac":"replaced_MAC","model":"UDR","model_in_eol":false,"model_in_lts":false,"model_incompatible":false,"name":"UDR","num_sta":5,"port_table":[{"aggregated_by":false,"autoneg":true,"full_duplex":false,"ifname":"eth0","is_uplink":false,"media":"GE","name":"Port 1","op_mode":"switch","poe_caps":0,"poe_enable":false,"port_idx":1,"port_poe":false,"portconf_id":"5b213940b150b6c08a49dcad","rx_bytes":0,"rx_bytes-r":0,"rx_dropped":0,"rx_errors":0,"rx_packets":0,"satisfaction":0,"speed":10,"speed_caps":1048623,"tx_bytes":0,"tx_bytes-r":0,"tx_dropped":0,"tx_errors":0,"tx_packets":0,"up":false},{"aggregated_by":false,"autoneg":true,"full_duplex":true,"ifname":"eth1","ip":"replaced_IP","is_uplink":false,"media":"GE","name":"Port 2","op_mode":"switch","poe_caps":0,"poe_enable":false,"port_idx":2,"port_poe":false,"portconf_id":"5b213940b150b6c08a49dcad","rx_bytes":929788331543,"rx_bytes-r":533200,"rx_dropped":2,"rx_errors":0,"rx_packets":765791453,"satisfaction":0,"speed":1000,"speed_caps":1048623,"tx_bytes":38936999389,"tx_bytes-r":24418,"tx_dropped":0,"tx_errors":0,"tx_packets":508586050,"up":true},{"aggregated_by":false,"autoneg":true,"full_duplex":false,"ifname":"eth2","is_uplink":false,"media":"GE","name":"Port 3","op_mode":"switch","poe_caps":1,"poe_enable":false,"port_idx":3,"port_poe":true,"portconf_id":"5b213940b150b6c08a49dcad","rx_bytes":0,"rx_bytes-r":0,"rx_dropped":0,"rx_errors":0,"rx_packets":0,"satisfaction":0,"speed":10,"speed_caps":1048623,"tx_bytes":0,"tx_bytes-r":0,"tx_dropped":0,"tx_errors":0,"tx_packets":0,"up":false},{"aggregated_by":false,"autoneg":true,"full_duplex":false,"ifname":"eth3","is_uplink":false,"media":"GE","name":"Port 4","op_mode":"switch","poe_caps":1,"poe_enable":false,"port_idx":4,"port_poe":true,"portconf_id":"5b213940b150b6c08a49dcad","rx_bytes":0,"rx_bytes-r":0,"rx_dropped":0,"rx_errors":0,"rx_packets":0,"satisfaction":0,"speed":10,"speed_caps":1048623,"tx_bytes":0,"tx_bytes-r":0,"tx_dropped":0,"tx_errors":0,"tx_packets":0,"up":false},{"aggregated_by":false,"autoneg":true,"full_duplex":true,"ifname":"eth4","ip":"replaced_IP","is_uplink":true,"media":"GE","name":"Port 5","op_mode":"switch","poe_caps":0,"poe_enable":false,"port_idx":5,"port_poe":false,"portconf_id":"5b213940b150b6c08a49dcad","rx_bytes":689045177,"rx_bytes-r":89,"rx_dropped":0,"rx_errors":0,"rx_packets":4632799,"satisfaction":0,"speed":1000,"speed_caps":1048623,"tx_bytes":126048855,"tx_bytes-r":83,"tx_dropped":0,"tx_errors":0,"tx_packets":1455922,"up":true}],"product_line":"NETWORK","radio_table":[{"antenna_gain":0,"builtin_ant_gain":3,"builtin_antenna":true,"channel":1,"current_antenna_gain":0,"hard_noise_floor_enabled":false,"has_dfs":false,"has_fccdfs":false,"has_ht160":false,"has_restricted_channels":false,"ht":20,"is_11ac":false,"is_11ax":false,"loadbalance_enabled":false,"max_txpower":23,"min_rssi_enabled":false,"min_txpower":6,"name":"ra0","nss":4,"radio":"ng","radio_caps":67256324,"radio_caps2":1,"sens_level_enabled":false,"tx_power_mode":"low","vwire_enabled":true},{"antenna_gain":0,"builtin_ant_gain":4,"builtin_antenna":true,"channel":36,"current_antenna_gain":0,"hard_noise_floor_enabled":false,"has_dfs":true,"has_fccdfs":true,"has_ht160":true,"has_restricted_channels":false,"ht":80,"is_11ac":true,"is_11ax":true,"loadbalance_enabled":false,"max_txpower":26,"min_rssi_enabled":false,"min_txpower":6,"name":"rai0","nss":4,"radio":"na","radio_caps":251805700,"radio_caps2":15,"sens_level_enabled":false,"tx_power_mode":"low","vwire_enabled":false}],"radio_table_stats":[{"channel":1,"cu_self_rx":0,"cu_self_tx":0,"cu_total":26,"extchannel":0,"gain":3,"guest-num_sta":0,"name":"ra0","num_sta":0,"radio":"ng","satisfaction":100,"state":"RUN","tx_packets":0,"tx_power":6,"tx_retries":0,"user-num_sta":0},{"channel":36,"cu_self_rx":0,"cu_self_tx":0,"cu_total":2,"extchannel":1,"gain":4,"guest-num_sta":0,"name":"rai0","num_sta":0,"radio":"na","satisfaction":-1,"state":"RUN","tx_packets":0,"tx_power":6,"tx_retries":0,"user-num_sta":0}],"restarting":false,"rx_bytes":126048855,"rx_bytes-d":23654,"satisfaction":100,"spectrum_scanning":false,"state":1,"sys_stats":{"loadavg_1":0.82,"loadavg_15":0.99,"loadavg_5":0.95,"mem_buffer":64933888,"mem_total":2030968832,"mem_used":1787006976},"system-stats":{"cpu":26.3,"mem":88.1,"uptime":1297594},"tx_bytes":689045177,"tx_bytes-d":15015,"type":"udm","unsupported":false,"unsupported_reason":0,"upgradable":false,"upgrade_state":0,"uplink":{"name":"eth4","port_idx":5,"speed":1000,"type":"wire"},"uplink_table":[],"upload_speed_bytes_per_second":83,"uptime":1297594,"vap_table":[],"version":"2.3.11.6510","wlan_overrides":[]}],"meta":{"message":"unifi-device:sync","product_line":"NETWORK","rc":"ok"}}
2022-01-26 13:53:20 DEBUG (MainThread) [aiounifi.websocket] {"meta":{"rc":"ok","message":"device:update","mac":"replaced_MAC"},"data":[{"storage":[{"mount_point":"/data","name":"eMMC","size":4160421888,"type":"eMMC","used":44298240},{"mount_point":"/persistent","name":"Backup","size":2046640128,"type":"eMMC","used":194514944},{"mount_point":"/tmp","name":"Temporary","size":1073741824,"type":"other","used":372736}]}]}
2022-01-26 13:53:20 DEBUG (MainThread) [aiounifi.controller] Unsupported message type {'data': [{'_id': '61c0287e6b7d321fb18bedc7', 'adopt_state': 0, 'adoptable_when_upgraded': False, 'adopted': True, 'bytes-r': 594, 'connection_network_name': 'LAN', 'countrycode_table': [840, 124, 630], 'default': False, 'device_type': 'MANAGED', 'disabled': False, 'displayable_version': '2.3.11', 'download_speed_bytes_per_second': 89, 'ethernet_overrides': [{'ifname': 'eth4', 'networkgroup': 'WAN'}, {'ifname': 'eth0', 'networkgroup': 'LAN'}, {'ifname': 'eth1', 'networkgroup': 'LAN'}, {'ifname': 'eth2', 'networkgroup': 'LAN'}, {'ifname': 'eth3', 'networkgroup': 'LAN'}], 'fw_caps': 1676582447, 'ip': 'replaced_IP', 'isolated': False, 'last_seen': 1643223200, 'license_state': 'registered', 'locating': False, 'lte_connected': False, 'mac': '24:5a:4c:9f:e1:75', 'model': 'UDR', 'model_in_eol': False, 'model_in_lts': False, 'model_incompatible': False, 'name': 'UDR', 'num_sta': 5, 'port_table': [{'aggregated_by': False, 'autoneg': True, 'full_duplex': False, 'ifname': 'eth0', 'is_uplink': False, 'media': 'GE', 'name': 'Port 1', 'op_mode': 'switch', 'poe_caps': 0, 'poe_enable': False, 'port_idx': 1, 'port_poe': False, 'portconf_id': '5b213940b150b6c08a49dcad', 'rx_bytes': 0, 'rx_bytes-r': 0, 'rx_dropped': 0, 'rx_errors': 0, 'rx_packets': 0, 'satisfaction': 0, 'speed': 10, 'speed_caps': 1048623, 'tx_bytes': 0, 'tx_bytes-r': 0, 'tx_dropped': 0, 'tx_errors': 0, 'tx_packets': 0, 'up': False}, {'aggregated_by': False, 'autoneg': True, 'full_duplex': True, 'ifname': 'eth1', 'ip': 'replaced_IP', 'is_uplink': False, 'media': 'GE', 'name': 'Port 2', 'op_mode': 'switch', 'poe_caps': 0, 'poe_enable': False, 'port_idx': 2, 'port_poe': False, 'portconf_id': '5b213940b150b6c08a49dcad', 'rx_bytes': 929788331543, 'rx_bytes-r': 533200, 'rx_dropped': 2, 'rx_errors': 0, 'rx_packets': 765791453, 'satisfaction': 0, 'speed': 1000, 'speed_caps': 1048623, 'tx_bytes': 38936999389, 'tx_bytes-r': 24418, 'tx_dropped': 0, 'tx_errors': 0, 'tx_packets': 508586050, 'up': True}, {'aggregated_by': False, 'autoneg': True, 'full_duplex': False, 'ifname': 'eth2', 'is_uplink': False, 'media': 'GE', 'name': 'Port 3', 'op_mode': 'switch', 'poe_caps': 1, 'poe_enable': False, 'port_idx': 3, 'port_poe': True, 'portconf_id': '5b213940b150b6c08a49dcad', 'rx_bytes': 0, 'rx_bytes-r': 0, 'rx_dropped': 0, 'rx_errors': 0, 'rx_packets': 0, 'satisfaction': 0, 'speed': 10, 'speed_caps': 1048623, 'tx_bytes': 0, 'tx_bytes-r': 0, 'tx_dropped': 0, 'tx_errors': 0, 'tx_packets': 0, 'up': False}, {'aggregated_by': False, 'autoneg': True, 'full_duplex': False, 'ifname': 'eth3', 'is_uplink': False, 'media': 'GE', 'name': 'Port 4', 'op_mode': 'switch', 'poe_caps': 1, 'poe_enable': False, 'port_idx': 4, 'port_poe': True, 'portconf_id': '5b213940b150b6c08a49dcad', 'rx_bytes': 0, 'rx_bytes-r': 0, 'rx_dropped': 0, 'rx_errors': 0, 'rx_packets': 0, 'satisfaction': 0, 'speed': 10, 'speed_caps': 1048623, 'tx_bytes': 0, 'tx_bytes-r': 0, 'tx_dropped': 0, 'tx_errors': 0, 'tx_packets': 0, 'up': False}, {'aggregated_by': False, 'autoneg': True, 'full_duplex': True, 'ifname': 'eth4', 'ip': 'replaced_IP', 'is_uplink': True, 'media': 'GE', 'name': 'Port 5', 'op_mode': 'switch', 'poe_caps': 0, 'poe_enable': False, 'port_idx': 5, 'port_poe': False, 'portconf_id': '5b213940b150b6c08a49dcad', 'rx_bytes': 689045177, 'rx_bytes-r': 89, 'rx_dropped': 0, 'rx_errors': 0, 'rx_packets': 4632799, 'satisfaction': 0, 'speed': 1000, 'speed_caps': 1048623, 'tx_bytes': 126048855, 'tx_bytes-r': 83, 'tx_dropped': 0, 'tx_errors': 0, 'tx_packets': 1455922, 'up': True}], 'product_line': 'NETWORK', 'radio_table': [{'antenna_gain': 0, 'builtin_ant_gain': 3, 'builtin_antenna': True, 'channel': 1, 'current_antenna_gain': 0, 'hard_noise_floor_enabled': False, 'has_dfs': False, 'has_fccdfs': False, 'has_ht160': False, 'has_restricted_channels': False, 'ht': 20, 'is_11ac': False, 'is_11ax': False, 'loadbalance_enabled': False, 'max_txpower': 23, 'min_rssi_enabled': False, 'min_txpower': 6, 'name': 'ra0', 'nss': 4, 'radio': 'ng', 'radio_caps': 67256324, 'radio_caps2': 1, 'sens_level_enabled': False, 'tx_power_mode': 'low', 'vwire_enabled': True}, {'antenna_gain': 0, 'builtin_ant_gain': 4, 'builtin_antenna': True, 'channel': 36, 'current_antenna_gain': 0, 'hard_noise_floor_enabled': False, 'has_dfs': True, 'has_fccdfs': True, 'has_ht160': True, 'has_restricted_channels': False, 'ht': 80, 'is_11ac': True, 'is_11ax': True, 'loadbalance_enabled': False, 'max_txpower': 26, 'min_rssi_enabled': False, 'min_txpower': 6, 'name': 'rai0', 'nss': 4, 'radio': 'na', 'radio_caps': 251805700, 'radio_caps2': 15, 'sens_level_enabled': False, 'tx_power_mode': 'low', 'vwire_enabled': False}], 'radio_table_stats': [{'channel': 1, 'cu_self_rx': 0, 'cu_self_tx': 0, 'cu_total': 26, 'extchannel': 0, 'gain': 3, 'guest-num_sta': 0, 'name': 'ra0', 'num_sta': 0, 'radio': 'ng', 'satisfaction': 100, 'state': 'RUN', 'tx_packets': 0, 'tx_power': 6, 'tx_retries': 0, 'user-num_sta': 0}, {'channel': 36, 'cu_self_rx': 0, 'cu_self_tx': 0, 'cu_total': 2, 'extchannel': 1, 'gain': 4, 'guest-num_sta': 0, 'name': 'rai0', 'num_sta': 0, 'radio': 'na', 'satisfaction': -1, 'state': 'RUN', 'tx_packets': 0, 'tx_power': 6, 'tx_retries': 0, 'user-num_sta': 0}], 'restarting': False, 'rx_bytes': 126048855, 'rx_bytes-d': 23654, 'satisfaction': 100, 'spectrum_scanning': False, 'state': 1, 'sys_stats': {'loadavg_1': 0.82, 'loadavg_15': 0.99, 'loadavg_5': 0.95, 'mem_buffer': 64933888, 'mem_total': 2030968832, 'mem_used': 1787006976}, 'system-stats': {'cpu': 26.3, 'mem': 88.1, 'uptime': 1297594}, 'tx_bytes': 689045177, 'tx_bytes-d': 15015, 'type': 'udm', 'unsupported': False, 'unsupported_reason': 0, 'upgradable': False, 'upgrade_state': 0, 'uplink': {'name': 'eth4', 'port_idx': 5, 'speed': 1000, 'type': 'wire'}, 'uplink_table': [], 'upload_speed_bytes_per_second': 83, 'uptime': 1297657, 'vap_table': [], 'version': '2.3.11.6510', 'wlan_overrides': []}], 'meta': {'message': 'unifi-device:sync', 'product_line': 'NETWORK', 'rc': 'ok'}}
2022-01-26 13:53:20 DEBUG (MainThread) [aiounifi.websocket] {"data":[{"_id":"61c0287e6b7d321fb18bedc7","adopt_state":0,"adoptable_when_upgraded":false,"adopted":true,"bytes-r":594,"connection_network_name":"LAN","countrycode_table":[840,124,630],"default":false,"device_type":"MANAGED","disabled":false,"displayable_version":"2.3.11","download_speed_bytes_per_second":89,"ethernet_overrides":[{"ifname":"eth4","networkgroup":"WAN"},{"ifname":"eth0","networkgroup":"LAN"},{"ifname":"eth1","networkgroup":"LAN"},{"ifname":"eth2","networkgroup":"LAN"},{"ifname":"eth3","networkgroup":"LAN"}],"fw_caps":1676582447,"ip":"replaced_IP","isolated":false,"last_seen":1643223200,"license_state":"registered","locating":false,"lte_connected":false,"mac":"replaced_MAC","model":"UDR","model_in_eol":false,"model_in_lts":false,"model_incompatible":false,"name":"UDR","num_sta":5,"port_table":[{"aggregated_by":false,"autoneg":true,"full_duplex":false,"ifname":"eth0","is_uplink":false,"media":"GE","name":"Port 1","op_mode":"switch","poe_caps":0,"poe_enable":false,"port_idx":1,"port_poe":false,"portconf_id":"5b213940b150b6c08a49dcad","rx_bytes":0,"rx_bytes-r":0,"rx_dropped":0,"rx_errors":0,"rx_packets":0,"satisfaction":0,"speed":10,"speed_caps":1048623,"tx_bytes":0,"tx_bytes-r":0,"tx_dropped":0,"tx_errors":0,"tx_packets":0,"up":false},{"aggregated_by":false,"autoneg":true,"full_duplex":true,"ifname":"eth1","ip":"replaced_IP","is_uplink":false,"media":"GE","name":"Port 2","op_mode":"switch","poe_caps":0,"poe_enable":false,"port_idx":2,"port_poe":false,"portconf_id":"5b213940b150b6c08a49dcad","rx_bytes":929788331543,"rx_bytes-r":533200,"rx_dropped":2,"rx_errors":0,"rx_packets":765791453,"satisfaction":0,"speed":1000,"speed_caps":1048623,"tx_bytes":38936999389,"tx_bytes-r":24418,"tx_dropped":0,"tx_errors":0,"tx_packets":508586050,"up":true},{"aggregated_by":false,"autoneg":true,"full_duplex":false,"ifname":"eth2","is_uplink":false,"media":"GE","name":"Port 3","op_mode":"switch","poe_caps":1,"poe_enable":false,"port_idx":3,"port_poe":true,"portconf_id":"5b213940b150b6c08a49dcad","rx_bytes":0,"rx_bytes-r":0,"rx_dropped":0,"rx_errors":0,"rx_packets":0,"satisfaction":0,"speed":10,"speed_caps":1048623,"tx_bytes":0,"tx_bytes-r":0,"tx_dropped":0,"tx_errors":0,"tx_packets":0,"up":false},{"aggregated_by":false,"autoneg":true,"full_duplex":false,"ifname":"eth3","is_uplink":false,"media":"GE","name":"Port 4","op_mode":"switch","poe_caps":1,"poe_enable":false,"port_idx":4,"port_poe":true,"portconf_id":"5b213940b150b6c08a49dcad","rx_bytes":0,"rx_bytes-r":0,"rx_dropped":0,"rx_errors":0,"rx_packets":0,"satisfaction":0,"speed":10,"speed_caps":1048623,"tx_bytes":0,"tx_bytes-r":0,"tx_dropped":0,"tx_errors":0,"tx_packets":0,"up":false},{"aggregated_by":false,"autoneg":true,"full_duplex":true,"ifname":"eth4","ip":"replaced_IP","is_uplink":true,"media":"GE","name":"Port 5","op_mode":"switch","poe_caps":0,"poe_enable":false,"port_idx":5,"port_poe":false,"portconf_id":"5b213940b150b6c08a49dcad","rx_bytes":689045177,"rx_bytes-r":89,"rx_dropped":0,"rx_errors":0,"rx_packets":4632799,"satisfaction":0,"speed":1000,"speed_caps":1048623,"tx_bytes":126048855,"tx_bytes-r":83,"tx_dropped":0,"tx_errors":0,"tx_packets":1455922,"up":true}],"product_line":"NETWORK","radio_table":[{"antenna_gain":0,"builtin_ant_gain":3,"builtin_antenna":true,"channel":1,"current_antenna_gain":0,"hard_noise_floor_enabled":false,"has_dfs":false,"has_fccdfs":false,"has_ht160":false,"has_restricted_channels":false,"ht":20,"is_11ac":false,"is_11ax":false,"loadbalance_enabled":false,"max_txpower":23,"min_rssi_enabled":false,"min_txpower":6,"name":"ra0","nss":4,"radio":"ng","radio_caps":67256324,"radio_caps2":1,"sens_level_enabled":false,"tx_power_mode":"low","vwire_enabled":true},{"antenna_gain":0,"builtin_ant_gain":4,"builtin_antenna":true,"channel":36,"current_antenna_gain":0,"hard_noise_floor_enabled":false,"has_dfs":true,"has_fccdfs":true,"has_ht160":true,"has_restricted_channels":false,"ht":80,"is_11ac":true,"is_11ax":true,"loadbalance_enabled":false,"max_txpower":26,"min_rssi_enabled":false,"min_txpower":6,"name":"rai0","nss":4,"radio":"na","radio_caps":251805700,"radio_caps2":15,"sens_level_enabled":false,"tx_power_mode":"low","vwire_enabled":false}],"radio_table_stats":[{"channel":1,"cu_self_rx":0,"cu_self_tx":0,"cu_total":26,"extchannel":0,"gain":3,"guest-num_sta":0,"name":"ra0","num_sta":0,"radio":"ng","satisfaction":100,"state":"RUN","tx_packets":0,"tx_power":6,"tx_retries":0,"user-num_sta":0},{"channel":36,"cu_self_rx":0,"cu_self_tx":0,"cu_total":2,"extchannel":1,"gain":4,"guest-num_sta":0,"name":"rai0","num_sta":0,"radio":"na","satisfaction":-1,"state":"RUN","tx_packets":0,"tx_power":6,"tx_retries":0,"user-num_sta":0}],"restarting":false,"rx_bytes":126048855,"rx_bytes-d":23654,"satisfaction":100,"spectrum_scanning":false,"state":1,"sys_stats":{"loadavg_1":0.82,"loadavg_15":0.99,"loadavg_5":0.95,"mem_buffer":64933888,"mem_total":2030968832,"mem_used":1787006976},"system-stats":{"cpu":26.3,"mem":88.1,"uptime":1297594},"tx_bytes":689045177,"tx_bytes-d":15015,"type":"udm","unsupported":false,"unsupported_reason":0,"upgradable":false,"upgrade_state":0,"uplink":{"name":"eth4","port_idx":5,"speed":1000,"type":"wire"},"uplink_table":[],"upload_speed_bytes_per_second":83,"uptime":1297657,"vap_table":[],"version":"2.3.11.6510","wlan_overrides":[]}],"meta":{"message":"unifi-device:sync","product_line":"NETWORK","rc":"ok"}}
2022-01-26 13:54:25 DEBUG (MainThread) [aiounifi.websocket] {"meta":{"rc":"ok","message":"device:update","mac":"replaced_MAC"},"data":[{"temperatures":[{"name":"Local","type":"board","value":41.0},{"name":"CPU","type":"cpu","value":41.25}]}]}
2022-01-26 13:54:25 DEBUG (MainThread) [aiounifi.controller] Unsupported message type {'data': [{'_id': '61c0287e6b7d321fb18bedc7', 'adopt_state': 0, 'adoptable_when_upgraded': False, 'adopted': True, 'bytes-r': 431, 'connection_network_name': 'LAN', 'countrycode_table': [840, 124, 630], 'default': False, 'device_type': 'MANAGED', 'disabled': False, 'displayable_version': '2.3.11', 'download_speed_bytes_per_second': 87, 'ethernet_overrides': [{'ifname': 'eth4', 'networkgroup': 'WAN'}, {'ifname': 'eth0', 'networkgroup': 'LAN'}, {'ifname': 'eth1', 'networkgroup': 'LAN'}, {'ifname': 'eth2', 'networkgroup': 'LAN'}, {'ifname': 'eth3', 'networkgroup': 'LAN'}], 'fw_caps': 1676582447, 'ip': 'replaced_IP', 'isolated': False, 'last_seen': 1643223265, 'license_state': 'registered', 'locating': False, 'lte_connected': False, 'mac': '24:5a:4c:9f:e1:75', 'model': 'UDR', 'model_in_eol': False, 'model_in_lts': False, 'model_incompatible': False, 'name': 'UDR', 'num_sta': 5, 'port_table': [{'aggregated_by': False, 'autoneg': True, 'full_duplex': False, 'ifname': 'eth0', 'is_uplink': False, 'media': 'GE', 'name': 'Port 1', 'op_mode': 'switch', 'poe_caps': 0, 'poe_enable': False, 'port_idx': 1, 'port_poe': False, 'portconf_id': '5b213940b150b6c08a49dcad', 'rx_bytes': 0, 'rx_bytes-r': 0, 'rx_dropped': 0, 'rx_errors': 0, 'rx_packets': 0, 'satisfaction': 0, 'speed': 10, 'speed_caps': 1048623, 'tx_bytes': 0, 'tx_bytes-r': 0, 'tx_dropped': 0, 'tx_errors': 0, 'tx_packets': 0, 'up': False}, {'aggregated_by': False, 'autoneg': True, 'full_duplex': True, 'ifname': 'eth1', 'ip': 'replaced_IP', 'is_uplink': False, 'media': 'GE', 'name': 'Port 2', 'op_mode': 'switch', 'poe_caps': 0, 'poe_enable': False, 'port_idx': 2, 'port_poe': False, 'portconf_id': '5b213940b150b6c08a49dcad', 'rx_bytes': 929820654280, 'rx_bytes-r': 513059, 'rx_dropped': 2, 'rx_errors': 0, 'rx_packets': 765819751, 'satisfaction': 0, 'speed': 1000, 'speed_caps': 1048623, 'tx_bytes': 38938553155, 'tx_bytes-r': 24662, 'tx_dropped': 0, 'tx_errors': 0, 'tx_packets': 508607453, 'up': True}, {'aggregated_by': False, 'autoneg': True, 'full_duplex': False, 'ifname': 'eth2', 'is_uplink': False, 'media': 'GE', 'name': 'Port 3', 'op_mode': 'switch', 'poe_caps': 1, 'poe_enable': False, 'port_idx': 3, 'port_poe': True, 'portconf_id': '5b213940b150b6c08a49dcad', 'rx_bytes': 0, 'rx_bytes-r': 0, 'rx_dropped': 0, 'rx_errors': 0, 'rx_packets': 0, 'satisfaction': 0, 'speed': 10, 'speed_caps': 1048623, 'tx_bytes': 0, 'tx_bytes-r': 0, 'tx_dropped': 0, 'tx_errors': 0, 'tx_packets': 0, 'up': False}, {'aggregated_by': False, 'autoneg': True, 'full_duplex': False, 'ifname': 'eth3', 'is_uplink': False, 'media': 'GE', 'name': 'Port 4', 'op_mode': 'switch', 'poe_caps': 1, 'poe_enable': False, 'port_idx': 4, 'port_poe': True, 'portconf_id': '5b213940b150b6c08a49dcad', 'rx_bytes': 0, 'rx_bytes-r': 0, 'rx_dropped': 0, 'rx_errors': 0, 'rx_packets': 0, 'satisfaction': 0, 'speed': 10, 'speed_caps': 1048623, 'tx_bytes': 0, 'tx_bytes-r': 0, 'tx_dropped': 0, 'tx_errors': 0, 'tx_packets': 0, 'up': False}, {'aggregated_by': False, 'autoneg': True, 'full_duplex': True, 'ifname': 'eth4', 'ip': 'replaced_IP', 'is_uplink': True, 'media': 'GE', 'name': 'Port 5', 'op_mode': 'switch', 'poe_caps': 0, 'poe_enable': False, 'port_idx': 5, 'port_poe': False, 'portconf_id': '5b213940b150b6c08a49dcad', 'rx_bytes': 689058415, 'rx_bytes-r': 87, 'rx_dropped': 0, 'rx_errors': 0, 'rx_packets': 4633006, 'satisfaction': 0, 'speed': 1000, 'speed_caps': 1048623, 'tx_bytes': 126052875, 'tx_bytes-r': 301, 'tx_dropped': 0, 'tx_errors': 0, 'tx_packets': 1455988, 'up': True}], 'product_line': 'NETWORK', 'radio_table': [{'antenna_gain': 0, 'builtin_ant_gain': 3, 'builtin_antenna': True, 'channel': 1, 'current_antenna_gain': 0, 'hard_noise_floor_enabled': False, 'has_dfs': False, 'has_fccdfs': False, 'has_ht160': False, 'has_restricted_channels': False, 'ht': 20, 'is_11ac': False, 'is_11ax': False, 'loadbalance_enabled': False, 'max_txpower': 23, 'min_rssi_enabled': False, 'min_txpower': 6, 'name': 'ra0', 'nss': 4, 'radio': 'ng', 'radio_caps': 67256324, 'radio_caps2': 1, 'sens_level_enabled': False, 'tx_power_mode': 'low', 'vwire_enabled': True}, {'antenna_gain': 0, 'builtin_ant_gain': 4, 'builtin_antenna': True, 'channel': 36, 'current_antenna_gain': 0, 'hard_noise_floor_enabled': False, 'has_dfs': True, 'has_fccdfs': True, 'has_ht160': True, 'has_restricted_channels': False, 'ht': 80, 'is_11ac': True, 'is_11ax': True, 'loadbalance_enabled': False, 'max_txpower': 26, 'min_rssi_enabled': False, 'min_txpower': 6, 'name': 'rai0', 'nss': 4, 'radio': 'na', 'radio_caps': 251805700, 'radio_caps2': 15, 'sens_level_enabled': False, 'tx_power_mode': 'low', 'vwire_enabled': False}], 'radio_table_stats': [{'channel': 1, 'cu_self_rx': 0, 'cu_self_tx': 0, 'cu_total': 14, 'extchannel': 0, 'gain': 3, 'guest-num_sta': 0, 'name': 'ra0', 'num_sta': 0, 'radio': 'ng', 'satisfaction': 100, 'state': 'RUN', 'tx_packets': 0, 'tx_power': 6, 'tx_retries': 0, 'user-num_sta': 0}, {'channel': 36, 'cu_self_rx': 0, 'cu_self_tx': 0, 'cu_total': 2, 'extchannel': 1, 'gain': 4, 'guest-num_sta': 0, 'name': 'rai0', 'num_sta': 0, 'radio': 'na', 'satisfaction': -1, 'state': 'RUN', 'tx_packets': 0, 'tx_power': 6, 'tx_retries': 0, 'user-num_sta': 0}], 'restarting': False, 'rx_bytes': 126052875, 'rx_bytes-d': 16106, 'satisfaction': 100, 'spectrum_scanning': False, 'state': 1, 'sys_stats': {'loadavg_1': 0.6, 'loadavg_15': 0.96, 'loadavg_5': 0.87, 'mem_buffer': 65433600, 'mem_total': 2030968832, 'mem_used': 1787232256}, 'system-stats': {'cpu': 24.9, 'mem': 88.0, 'uptime': 1297657}, 'tx_bytes': 689058415, 'tx_bytes-d': 11048, 'type': 'udm', 'unsupported': False, 'unsupported_reason': 0, 'upgradable': False, 'upgrade_state': 0, 'uplink': {'name': 'eth4', 'port_idx': 5, 'speed': 1000, 'type': 'wire'}, 'uplink_table': [], 'upload_speed_bytes_per_second': 301, 'uptime': 1297657, 'vap_table': [], 'version': '2.3.11.6510', 'wlan_overrides': []}], 'meta': {'message': 'unifi-device:sync', 'product_line': 'NETWORK', 'rc': 'ok'}}
2022-01-26 13:54:25 DEBUG (MainThread) [aiounifi.websocket] {"data":[{"_id":"61c0287e6b7d321fb18bedc7","adopt_state":0,"adoptable_when_upgraded":false,"adopted":true,"bytes-r":431,"connection_network_name":"LAN","countrycode_table":[840,124,630],"default":false,"device_type":"MANAGED","disabled":false,"displayable_version":"2.3.11","download_speed_bytes_per_second":87,"ethernet_overrides":[{"ifname":"eth4","networkgroup":"WAN"},{"ifname":"eth0","networkgroup":"LAN"},{"ifname":"eth1","networkgroup":"LAN"},{"ifname":"eth2","networkgroup":"LAN"},{"ifname":"eth3","networkgroup":"LAN"}],"fw_caps":1676582447,"ip":"replaced_IP","isolated":false,"last_seen":1643223265,"license_state":"registered","locating":false,"lte_connected":false,"mac":"replaced_MAC","model":"UDR","model_in_eol":false,"model_in_lts":false,"model_incompatible":false,"name":"UDR","num_sta":5,"port_table":[{"aggregated_by":false,"autoneg":true,"full_duplex":false,"ifname":"eth0","is_uplink":false,"media":"GE","name":"Port 1","op_mode":"switch","poe_caps":0,"poe_enable":false,"port_idx":1,"port_poe":false,"portconf_id":"5b213940b150b6c08a49dcad","rx_bytes":0,"rx_bytes-r":0,"rx_dropped":0,"rx_errors":0,"rx_packets":0,"satisfaction":0,"speed":10,"speed_caps":1048623,"tx_bytes":0,"tx_bytes-r":0,"tx_dropped":0,"tx_errors":0,"tx_packets":0,"up":false},{"aggregated_by":false,"autoneg":true,"full_duplex":true,"ifname":"eth1","ip":"replaced_IP","is_uplink":false,"media":"GE","name":"Port 2","op_mode":"switch","poe_caps":0,"poe_enable":false,"port_idx":2,"port_poe":false,"portconf_id":"5b213940b150b6c08a49dcad","rx_bytes":929820654280,"rx_bytes-r":513059,"rx_dropped":2,"rx_errors":0,"rx_packets":765819751,"satisfaction":0,"speed":1000,"speed_caps":1048623,"tx_bytes":38938553155,"tx_bytes-r":24662,"tx_dropped":0,"tx_errors":0,"tx_packets":508607453,"up":true},{"aggregated_by":false,"autoneg":true,"full_duplex":false,"ifname":"eth2","is_uplink":false,"media":"GE","name":"Port 3","op_mode":"switch","poe_caps":1,"poe_enable":false,"port_idx":3,"port_poe":true,"portconf_id":"5b213940b150b6c08a49dcad","rx_bytes":0,"rx_bytes-r":0,"rx_dropped":0,"rx_errors":0,"rx_packets":0,"satisfaction":0,"speed":10,"speed_caps":1048623,"tx_bytes":0,"tx_bytes-r":0,"tx_dropped":0,"tx_errors":0,"tx_packets":0,"up":false},{"aggregated_by":false,"autoneg":true,"full_duplex":false,"ifname":"eth3","is_uplink":false,"media":"GE","name":"Port 4","op_mode":"switch","poe_caps":1,"poe_enable":false,"port_idx":4,"port_poe":true,"portconf_id":"5b213940b150b6c08a49dcad","rx_bytes":0,"rx_bytes-r":0,"rx_dropped":0,"rx_errors":0,"rx_packets":0,"satisfaction":0,"speed":10,"speed_caps":1048623,"tx_bytes":0,"tx_bytes-r":0,"tx_dropped":0,"tx_errors":0,"tx_packets":0,"up":false},{"aggregated_by":false,"autoneg":true,"full_duplex":true,"ifname":"eth4","ip":"replaced_IP","is_uplink":true,"media":"GE","name":"Port 5","op_mode":"switch","poe_caps":0,"poe_enable":false,"port_idx":5,"port_poe":false,"portconf_id":"5b213940b150b6c08a49dcad","rx_bytes":689058415,"rx_bytes-r":87,"rx_dropped":0,"rx_errors":0,"rx_packets":4633006,"satisfaction":0,"speed":1000,"speed_caps":1048623,"tx_bytes":126052875,"tx_bytes-r":301,"tx_dropped":0,"tx_errors":0,"tx_packets":1455988,"up":true}],"product_line":"NETWORK","radio_table":[{"antenna_gain":0,"builtin_ant_gain":3,"builtin_antenna":true,"channel":1,"current_antenna_gain":0,"hard_noise_floor_enabled":false,"has_dfs":false,"has_fccdfs":false,"has_ht160":false,"has_restricted_channels":false,"ht":20,"is_11ac":false,"is_11ax":false,"loadbalance_enabled":false,"max_txpower":23,"min_rssi_enabled":false,"min_txpower":6,"name":"ra0","nss":4,"radio":"ng","radio_caps":67256324,"radio_caps2":1,"sens_level_enabled":false,"tx_power_mode":"low","vwire_enabled":true},{"antenna_gain":0,"builtin_ant_gain":4,"builtin_antenna":true,"channel":36,"current_antenna_gain":0,"hard_noise_floor_enabled":false,"has_dfs":true,"has_fccdfs":true,"has_ht160":true,"has_restricted_channels":false,"ht":80,"is_11ac":true,"is_11ax":true,"loadbalance_enabled":false,"max_txpower":26,"min_rssi_enabled":false,"min_txpower":6,"name":"rai0","nss":4,"radio":"na","radio_caps":251805700,"radio_caps2":15,"sens_level_enabled":false,"tx_power_mode":"low","vwire_enabled":false}],"radio_table_stats":[{"channel":1,"cu_self_rx":0,"cu_self_tx":0,"cu_total":14,"extchannel":0,"gain":3,"guest-num_sta":0,"name":"ra0","num_sta":0,"radio":"ng","satisfaction":100,"state":"RUN","tx_packets":0,"tx_power":6,"tx_retries":0,"user-num_sta":0},{"channel":36,"cu_self_rx":0,"cu_self_tx":0,"cu_total":2,"extchannel":1,"gain":4,"guest-num_sta":0,"name":"rai0","num_sta":0,"radio":"na","satisfaction":-1,"state":"RUN","tx_packets":0,"tx_power":6,"tx_retries":0,"user-num_sta":0}],"restarting":false,"rx_bytes":126052875,"rx_bytes-d":16106,"satisfaction":100,"spectrum_scanning":false,"state":1,"sys_stats":{"loadavg_1":0.6,"loadavg_15":0.96,"loadavg_5":0.87,"mem_buffer":65433600,"mem_total":2030968832,"mem_used":1787232256},"system-stats":{"cpu":24.9,"mem":88.0,"uptime":1297657},"tx_bytes":689058415,"tx_bytes-d":11048,"type":"udm","unsupported":false,"unsupported_reason":0,"upgradable":false,"upgrade_state":0,"uplink":{"name":"eth4","port_idx":5,"speed":1000,"type":"wire"},"uplink_table":[],"upload_speed_bytes_per_second":301,"uptime":1297657,"vap_table":[],"version":"2.3.11.6510","wlan_overrides":[]}],"meta":{"message":"unifi-device:sync","product_line":"NETWORK","rc":"ok"}}
2022-01-26 13:54:25 DEBUG (MainThread) [aiounifi.websocket] {"meta":{"rc":"ok","message":"device:update","mac":"replaced_MAC"},"data":[{"storage":[{"mount_point":"/data","name":"eMMC","size":4160421888,"type":"eMMC","used":44298240},{"mount_point":"/persistent","name":"Backup","size":2046640128,"type":"eMMC","used":194514944},{"mount_point":"/tmp","name":"Temporary","size":1073741824,"type":"other","used":368640}]}]}
2022-01-26 13:54:25 DEBUG (MainThread) [aiounifi.controller] Unsupported message type {'data': [{'_id': '61c0287e6b7d321fb18bedc7', 'adopt_state': 0, 'adoptable_when_upgraded': False, 'adopted': True, 'bytes-r': 431, 'connection_network_name': 'LAN', 'countrycode_table': [840, 124, 630], 'default': False, 'device_type': 'MANAGED', 'disabled': False, 'displayable_version': '2.3.11', 'download_speed_bytes_per_second': 87, 'ethernet_overrides': [{'ifname': 'eth4', 'networkgroup': 'WAN'}, {'ifname': 'eth0', 'networkgroup': 'LAN'}, {'ifname': 'eth1', 'networkgroup': 'LAN'}, {'ifname': 'eth2', 'networkgroup': 'LAN'}, {'ifname': 'eth3', 'networkgroup': 'LAN'}], 'fw_caps': 1676582447, 'ip': 'replaced_IP', 'isolated': False, 'last_seen': 1643223265, 'license_state': 'registered', 'locating': False, 'lte_connected': False, 'mac': '24:5a:4c:9f:e1:75', 'model': 'UDR', 'model_in_eol': False, 'model_in_lts': False, 'model_incompatible': False, 'name': 'UDR', 'num_sta': 5, 'port_table': [{'aggregated_by': False, 'autoneg': True, 'full_duplex': False, 'ifname': 'eth0', 'is_uplink': False, 'media': 'GE', 'name': 'Port 1', 'op_mode': 'switch', 'poe_caps': 0, 'poe_enable': False, 'port_idx': 1, 'port_poe': False, 'portconf_id': '5b213940b150b6c08a49dcad', 'rx_bytes': 0, 'rx_bytes-r': 0, 'rx_dropped': 0, 'rx_errors': 0, 'rx_packets': 0, 'satisfaction': 0, 'speed': 10, 'speed_caps': 1048623, 'tx_bytes': 0, 'tx_bytes-r': 0, 'tx_dropped': 0, 'tx_errors': 0, 'tx_packets': 0, 'up': False}, {'aggregated_by': False, 'autoneg': True, 'full_duplex': True, 'ifname': 'eth1', 'ip': 'replaced_IP', 'is_uplink': False, 'media': 'GE', 'name': 'Port 2', 'op_mode': 'switch', 'poe_caps': 0, 'poe_enable': False, 'port_idx': 2, 'port_poe': False, 'portconf_id': '5b213940b150b6c08a49dcad', 'rx_bytes': 929820654280, 'rx_bytes-r': 513059, 'rx_dropped': 2, 'rx_errors': 0, 'rx_packets': 765819751, 'satisfaction': 0, 'speed': 1000, 'speed_caps': 1048623, 'tx_bytes': 38938553155, 'tx_bytes-r': 24662, 'tx_dropped': 0, 'tx_errors': 0, 'tx_packets': 508607453, 'up': True}, {'aggregated_by': False, 'autoneg': True, 'full_duplex': False, 'ifname': 'eth2', 'is_uplink': False, 'media': 'GE', 'name': 'Port 3', 'op_mode': 'switch', 'poe_caps': 1, 'poe_enable': False, 'port_idx': 3, 'port_poe': True, 'portconf_id': '5b213940b150b6c08a49dcad', 'rx_bytes': 0, 'rx_bytes-r': 0, 'rx_dropped': 0, 'rx_errors': 0, 'rx_packets': 0, 'satisfaction': 0, 'speed': 10, 'speed_caps': 1048623, 'tx_bytes': 0, 'tx_bytes-r': 0, 'tx_dropped': 0, 'tx_errors': 0, 'tx_packets': 0, 'up': False}, {'aggregated_by': False, 'autoneg': True, 'full_duplex': False, 'ifname': 'eth3', 'is_uplink': False, 'media': 'GE', 'name': 'Port 4', 'op_mode': 'switch', 'poe_caps': 1, 'poe_enable': False, 'port_idx': 4, 'port_poe': True, 'portconf_id': '5b213940b150b6c08a49dcad', 'rx_bytes': 0, 'rx_bytes-r': 0, 'rx_dropped': 0, 'rx_errors': 0, 'rx_packets': 0, 'satisfaction': 0, 'speed': 10, 'speed_caps': 1048623, 'tx_bytes': 0, 'tx_bytes-r': 0, 'tx_dropped': 0, 'tx_errors': 0, 'tx_packets': 0, 'up': False}, {'aggregated_by': False, 'autoneg': True, 'full_duplex': True, 'ifname': 'eth4', 'ip': 'replaced_IP', 'is_uplink': True, 'media': 'GE', 'name': 'Port 5', 'op_mode': 'switch', 'poe_caps': 0, 'poe_enable': False, 'port_idx': 5, 'port_poe': False, 'portconf_id': '5b213940b150b6c08a49dcad', 'rx_bytes': 689058415, 'rx_bytes-r': 87, 'rx_dropped': 0, 'rx_errors': 0, 'rx_packets': 4633006, 'satisfaction': 0, 'speed': 1000, 'speed_caps': 1048623, 'tx_bytes': 126052875, 'tx_bytes-r': 301, 'tx_dropped': 0, 'tx_errors': 0, 'tx_packets': 1455988, 'up': True}], 'product_line': 'NETWORK', 'radio_table': [{'antenna_gain': 0, 'builtin_ant_gain': 3, 'builtin_antenna': True, 'channel': 1, 'current_antenna_gain': 0, 'hard_noise_floor_enabled': False, 'has_dfs': False, 'has_fccdfs': False, 'has_ht160': False, 'has_restricted_channels': False, 'ht': 20, 'is_11ac': False, 'is_11ax': False, 'loadbalance_enabled': False, 'max_txpower': 23, 'min_rssi_enabled': False, 'min_txpower': 6, 'name': 'ra0', 'nss': 4, 'radio': 'ng', 'radio_caps': 67256324, 'radio_caps2': 1, 'sens_level_enabled': False, 'tx_power_mode': 'low', 'vwire_enabled': True}, {'antenna_gain': 0, 'builtin_ant_gain': 4, 'builtin_antenna': True, 'channel': 36, 'current_antenna_gain': 0, 'hard_noise_floor_enabled': False, 'has_dfs': True, 'has_fccdfs': True, 'has_ht160': True, 'has_restricted_channels': False, 'ht': 80, 'is_11ac': True, 'is_11ax': True, 'loadbalance_enabled': False, 'max_txpower': 26, 'min_rssi_enabled': False, 'min_txpower': 6, 'name': 'rai0', 'nss': 4, 'radio': 'na', 'radio_caps': 251805700, 'radio_caps2': 15, 'sens_level_enabled': False, 'tx_power_mode': 'low', 'vwire_enabled': False}], 'radio_table_stats': [{'channel': 1, 'cu_self_rx': 0, 'cu_self_tx': 0, 'cu_total': 14, 'extchannel': 0, 'gain': 3, 'guest-num_sta': 0, 'name': 'ra0', 'num_sta': 0, 'radio': 'ng', 'satisfaction': 100, 'state': 'RUN', 'tx_packets': 0, 'tx_power': 6, 'tx_retries': 0, 'user-num_sta': 0}, {'channel': 36, 'cu_self_rx': 0, 'cu_self_tx': 0, 'cu_total': 2, 'extchannel': 1, 'gain': 4, 'guest-num_sta': 0, 'name': 'rai0', 'num_sta': 0, 'radio': 'na', 'satisfaction': -1, 'state': 'RUN', 'tx_packets': 0, 'tx_power': 6, 'tx_retries': 0, 'user-num_sta': 0}], 'restarting': False, 'rx_bytes': 126052875, 'rx_bytes-d': 16106, 'satisfaction': 100, 'spectrum_scanning': False, 'state': 1, 'sys_stats': {'loadavg_1': 0.6, 'loadavg_15': 0.96, 'loadavg_5': 0.87, 'mem_buffer': 65433600, 'mem_total': 2030968832, 'mem_used': 1787232256}, 'system-stats': {'cpu': 24.9, 'mem': 88.0, 'uptime': 1297657}, 'tx_bytes': 689058415, 'tx_bytes-d': 11048, 'type': 'udm', 'unsupported': False, 'unsupported_reason': 0, 'upgradable': False, 'upgrade_state': 0, 'uplink': {'name': 'eth4', 'port_idx': 5, 'speed': 1000, 'type': 'wire'}, 'uplink_table': [], 'upload_speed_bytes_per_second': 301, 'uptime': 1297722, 'vap_table': [], 'version': '2.3.11.6510', 'wlan_overrides': []}], 'meta': {'message': 'unifi-device:sync', 'product_line': 'NETWORK', 'rc': 'ok'}}
2022-01-26 13:54:25 DEBUG (MainThread) [aiounifi.websocket] {"data":[{"_id":"61c0287e6b7d321fb18bedc7","adopt_state":0,"adoptable_when_upgraded":false,"adopted":true,"bytes-r":431,"connection_network_name":"LAN","countrycode_table":[840,124,630],"default":false,"device_type":"MANAGED","disabled":false,"displayable_version":"2.3.11","download_speed_bytes_per_second":87,"ethernet_overrides":[{"ifname":"eth4","networkgroup":"WAN"},{"ifname":"eth0","networkgroup":"LAN"},{"ifname":"eth1","networkgroup":"LAN"},{"ifname":"eth2","networkgroup":"LAN"},{"ifname":"eth3","networkgroup":"LAN"}],"fw_caps":1676582447,"ip":"replaced_IP","isolated":false,"last_seen":1643223265,"license_state":"registered","locating":false,"lte_connected":false,"mac":"replaced_MAC","model":"UDR","model_in_eol":false,"model_in_lts":false,"model_incompatible":false,"name":"UDR","num_sta":5,"port_table":[{"aggregated_by":false,"autoneg":true,"full_duplex":false,"ifname":"eth0","is_uplink":false,"media":"GE","name":"Port 1","op_mode":"switch","poe_caps":0,"poe_enable":false,"port_idx":1,"port_poe":false,"portconf_id":"5b213940b150b6c08a49dcad","rx_bytes":0,"rx_bytes-r":0,"rx_dropped":0,"rx_errors":0,"rx_packets":0,"satisfaction":0,"speed":10,"speed_caps":1048623,"tx_bytes":0,"tx_bytes-r":0,"tx_dropped":0,"tx_errors":0,"tx_packets":0,"up":false},{"aggregated_by":false,"autoneg":true,"full_duplex":true,"ifname":"eth1","ip":"replaced_IP","is_uplink":false,"media":"GE","name":"Port 2","op_mode":"switch","poe_caps":0,"poe_enable":false,"port_idx":2,"port_poe":false,"portconf_id":"5b213940b150b6c08a49dcad","rx_bytes":929820654280,"rx_bytes-r":513059,"rx_dropped":2,"rx_errors":0,"rx_packets":765819751,"satisfaction":0,"speed":1000,"speed_caps":1048623,"tx_bytes":38938553155,"tx_bytes-r":24662,"tx_dropped":0,"tx_errors":0,"tx_packets":508607453,"up":true},{"aggregated_by":false,"autoneg":true,"full_duplex":false,"ifname":"eth2","is_uplink":false,"media":"GE","name":"Port 3","op_mode":"switch","poe_caps":1,"poe_enable":false,"port_idx":3,"port_poe":true,"portconf_id":"5b213940b150b6c08a49dcad","rx_bytes":0,"rx_bytes-r":0,"rx_dropped":0,"rx_errors":0,"rx_packets":0,"satisfaction":0,"speed":10,"speed_caps":1048623,"tx_bytes":0,"tx_bytes-r":0,"tx_dropped":0,"tx_errors":0,"tx_packets":0,"up":false},{"aggregated_by":false,"autoneg":true,"full_duplex":false,"ifname":"eth3","is_uplink":false,"media":"GE","name":"Port 4","op_mode":"switch","poe_caps":1,"poe_enable":false,"port_idx":4,"port_poe":true,"portconf_id":"5b213940b150b6c08a49dcad","rx_bytes":0,"rx_bytes-r":0,"rx_dropped":0,"rx_errors":0,"rx_packets":0,"satisfaction":0,"speed":10,"speed_caps":1048623,"tx_bytes":0,"tx_bytes-r":0,"tx_dropped":0,"tx_errors":0,"tx_packets":0,"up":false},{"aggregated_by":false,"autoneg":true,"full_duplex":true,"ifname":"eth4","ip":"replaced_IP","is_uplink":true,"media":"GE","name":"Port 5","op_mode":"switch","poe_caps":0,"poe_enable":false,"port_idx":5,"port_poe":false,"portconf_id":"5b213940b150b6c08a49dcad","rx_bytes":689058415,"rx_bytes-r":87,"rx_dropped":0,"rx_errors":0,"rx_packets":4633006,"satisfaction":0,"speed":1000,"speed_caps":1048623,"tx_bytes":126052875,"tx_bytes-r":301,"tx_dropped":0,"tx_errors":0,"tx_packets":1455988,"up":true}],"product_line":"NETWORK","radio_table":[{"antenna_gain":0,"builtin_ant_gain":3,"builtin_antenna":true,"channel":1,"current_antenna_gain":0,"hard_noise_floor_enabled":false,"has_dfs":false,"has_fccdfs":false,"has_ht160":false,"has_restricted_channels":false,"ht":20,"is_11ac":false,"is_11ax":false,"loadbalance_enabled":false,"max_txpower":23,"min_rssi_enabled":false,"min_txpower":6,"name":"ra0","nss":4,"radio":"ng","radio_caps":67256324,"radio_caps2":1,"sens_level_enabled":false,"tx_power_mode":"low","vwire_enabled":true},{"antenna_gain":0,"builtin_ant_gain":4,"builtin_antenna":true,"channel":36,"current_antenna_gain":0,"hard_noise_floor_enabled":false,"has_dfs":true,"has_fccdfs":true,"has_ht160":true,"has_restricted_channels":false,"ht":80,"is_11ac":true,"is_11ax":true,"loadbalance_enabled":false,"max_txpower":26,"min_rssi_enabled":false,"min_txpower":6,"name":"rai0","nss":4,"radio":"na","radio_caps":251805700,"radio_caps2":15,"sens_level_enabled":false,"tx_power_mode":"low","vwire_enabled":false}],"radio_table_stats":[{"channel":1,"cu_self_rx":0,"cu_self_tx":0,"cu_total":14,"extchannel":0,"gain":3,"guest-num_sta":0,"name":"ra0","num_sta":0,"radio":"ng","satisfaction":100,"state":"RUN","tx_packets":0,"tx_power":6,"tx_retries":0,"user-num_sta":0},{"channel":36,"cu_self_rx":0,"cu_self_tx":0,"cu_total":2,"extchannel":1,"gain":4,"guest-num_sta":0,"name":"rai0","num_sta":0,"radio":"na","satisfaction":-1,"state":"RUN","tx_packets":0,"tx_power":6,"tx_retries":0,"user-num_sta":0}],"restarting":false,"rx_bytes":126052875,"rx_bytes-d":16106,"satisfaction":100,"spectrum_scanning":false,"state":1,"sys_stats":{"loadavg_1":0.6,"loadavg_15":0.96,"loadavg_5":0.87,"mem_buffer":65433600,"mem_total":2030968832,"mem_used":1787232256},"system-stats":{"cpu":24.9,"mem":88.0,"uptime":1297657},"tx_bytes":689058415,"tx_bytes-d":11048,"type":"udm","unsupported":false,"unsupported_reason":0,"upgradable":false,"upgrade_state":0,"uplink":{"name":"eth4","port_idx":5,"speed":1000,"type":"wire"},"uplink_table":[],"upload_speed_bytes_per_second":301,"uptime":1297722,"vap_table":[],"version":"2.3.11.6510","wlan_overrides":[]}],"meta":{"message":"unifi-device:sync","product_line":"NETWORK","rc":"ok"}}
2022-01-26 13:55:12 DEBUG (MainThread) [aiounifi.devices] Override outlet 6 with state True
2022-01-26 13:55:12 DEBUG (MainThread) [aiounifi.controller] https://UDR.lab.home:443/proxy/network/api/s/default/rest/device/61ddb5aef64f230f373f14c6
2022-01-26 13:55:12 DEBUG (MainThread) [aiounifi.controller] 200 application/json <ClientResponse(https://udr.lab.home:443/proxy/network/api/s/default/rest/device/61ddb5aef64f230f373f14c6) [200 OK]>
2022-01-26 13:55:12 DEBUG (MainThread) [aiounifi.websocket] {"meta":{"rc":"ok","message":"device:update","mac":"replaced_MAC"},"data":[{"cfgversion":"78b0414e8e2ef0ca"}]}
2022-01-26 13:55:12 DEBUG (MainThread) [aiounifi.controller] Unsupported message type {'data': [{'_id': '61ddb5aef64f230f373f14c6', 'adopt_state': 0, 'adoptable_when_upgraded': False, 'adopted': True, 'bytes-r': 0, 'connection_network_name': 'LAN', 'countrycode_table': [], 'default': False, 'device_type': 'MANAGED', 'disabled': False, 'displayable_version': '2.2.1', 'download_speed_bytes_per_second': 0, 'ethernet_overrides': [], 'fw_caps': 0, 'ip': 'replaced_IP', 'isolated': False, 'last_seen': 1643223306, 'last_uplink': {'type': 'wireless', 'uplink_device_name': 'UDR', 'uplink_mac': 'replaced_MAC'}, 'license_state': 'registered', 'locating': False, 'lte_connected': False, 'mac': '78:45:58:cd:de:6b', 'model': 'UP6', 'model_in_eol': False, 'model_in_lts': False, 'model_incompatible': False, 'name': 'USP-Strip', 'num_sta': 0, 'port_table': [], 'product_line': 'NETWORK', 'radio_table': [], 'radio_table_stats': [], 'restarting': False, 'rx_bytes': 0, 'rx_bytes-d': 0, 'satisfaction': 90, 'spectrum_scanning': False, 'state': 1, 'sys_stats': {'loadavg_1': 0.0, 'loadavg_15': 0.0, 'loadavg_5': 0.0, 'mem_buffer': 0, 'mem_total': 98304, 'mem_used': 89480}, 'system-stats': {'cpu': 0.0, 'mem': 0.0, 'uptime': 0}, 'tx_bytes': 0, 'tx_bytes-d': 0, 'type': 'uap', 'unsupported': False, 'unsupported_reason': 0, 'upgradable': False, 'upgrade_state': 0, 'uplink': {'ap_mac': 'replaced_MAC', 'essid': 'element-ad5ff46b1f4b53dd', 'type': 'wireless', 'uplink_device_name': 'UDR', 'uplink_mac': 'replaced_MAC'}, 'uplink_table': [], 'upload_speed_bytes_per_second': 0, 'uptime': 1365442, 'vap_table': [], 'version': '2.2.1.511', 'wlan_overrides': []}], 'meta': {'message': 'unifi-device:sync', 'product_line': 'NETWORK', 'rc': 'ok'}}
2022-01-26 13:55:12 DEBUG (MainThread) [aiounifi.websocket] {"data":[{"_id":"61ddb5aef64f230f373f14c6","adopt_state":0,"adoptable_when_upgraded":false,"adopted":true,"bytes-r":0,"connection_network_name":"LAN","countrycode_table":[],"default":false,"device_type":"MANAGED","disabled":false,"displayable_version":"2.2.1","download_speed_bytes_per_second":0,"ethernet_overrides":[],"fw_caps":0,"ip":"replaced_IP","isolated":false,"last_seen":1643223306,"last_uplink":{"type":"wireless","uplink_device_name":"UDR","uplink_mac":"replaced_MAC"},"license_state":"registered","locating":false,"lte_connected":false,"mac":"replaced_MAC","model":"UP6","model_in_eol":false,"model_in_lts":false,"model_incompatible":false,"name":"USP-Strip","num_sta":0,"port_table":[],"product_line":"NETWORK","radio_table":[],"radio_table_stats":[],"restarting":false,"rx_bytes":0,"rx_bytes-d":0,"satisfaction":90,"spectrum_scanning":false,"state":1,"sys_stats":{"loadavg_1":0.0,"loadavg_15":0.0,"loadavg_5":0.0,"mem_buffer":0,"mem_total":98304,"mem_used":89480},"system-stats":{"cpu":0.0,"mem":0.0,"uptime":0},"tx_bytes":0,"tx_bytes-d":0,"type":"uap","unsupported":false,"unsupported_reason":0,"upgradable":false,"upgrade_state":0,"uplink":{"ap_mac":"replaced_MAC","essid":"element-ad5ff46b1f4b53dd","type":"wireless","uplink_device_name":"UDR","uplink_mac":"replaced_MAC"},"uplink_table":[],"upload_speed_bytes_per_second":0,"uptime":1365442,"vap_table":[],"version":"2.2.1.511","wlan_overrides":[]}],"meta":{"message":"unifi-device:sync","product_line":"NETWORK","rc":"ok"}}
2022-01-26 13:55:13 DEBUG (MainThread) [aiounifi.devices] Override outlet 7 with state False
2022-01-26 13:55:13 DEBUG (MainThread) [aiounifi.controller] https://UDR.lab.home:443/proxy/network/api/s/default/rest/device/61ddb5aef64f230f373f14c6
2022-01-26 13:55:13 DEBUG (MainThread) [aiounifi.controller] 200 application/json <ClientResponse(https://udr.lab.home:443/proxy/network/api/s/default/rest/device/61ddb5aef64f230f373f14c6) [200 OK]>
2022-01-26 13:55:13 DEBUG (MainThread) [aiounifi.websocket] {"meta":{"rc":"ok","message":"device:update","mac":"replaced_MAC"},"data":[{"cfgversion":"886cc4252f8633b9"}]}
2022-01-26 13:55:13 DEBUG (MainThread) [aiounifi.controller] Unsupported message type {'data': [{'_id': '61ddb5aef64f230f373f14c6', 'adopt_state': 0, 'adoptable_when_upgraded': False, 'adopted': True, 'bytes-r': 0, 'connection_network_name': 'LAN', 'countrycode_table': [], 'default': False, 'device_type': 'MANAGED', 'disabled': False, 'displayable_version': '2.2.1', 'download_speed_bytes_per_second': 0, 'ethernet_overrides': [], 'fw_caps': 0, 'ip': 'replaced_IP', 'isolated': False, 'last_seen': 1643223306, 'last_uplink': {'type': 'wireless', 'uplink_device_name': 'UDR', 'uplink_mac': 'replaced_MAC'}, 'license_state': 'registered', 'locating': False, 'lte_connected': False, 'mac': '78:45:58:cd:de:6b', 'model': 'UP6', 'model_in_eol': False, 'model_in_lts': False, 'model_incompatible': False, 'name': 'USP-Strip', 'num_sta': 0, 'port_table': [], 'product_line': 'NETWORK', 'radio_table': [], 'radio_table_stats': [], 'restarting': False, 'rx_bytes': 0, 'rx_bytes-d': 0, 'satisfaction': 90, 'spectrum_scanning': False, 'state': 1, 'sys_stats': {'loadavg_1': 0.0, 'loadavg_15': 0.0, 'loadavg_5': 0.0, 'mem_buffer': 0, 'mem_total': 98304, 'mem_used': 89480}, 'system-stats': {'cpu': 0.0, 'mem': 0.0, 'uptime': 0}, 'tx_bytes': 0, 'tx_bytes-d': 0, 'type': 'uap', 'unsupported': False, 'unsupported_reason': 0, 'upgradable': False, 'upgrade_state': 0, 'uplink': {'ap_mac': 'replaced_MAC', 'essid': 'element-ad5ff46b1f4b53dd', 'type': 'wireless', 'uplink_device_name': 'UDR', 'uplink_mac': 'replaced_MAC'}, 'uplink_table': [], 'upload_speed_bytes_per_second': 0, 'uptime': 1365442, 'vap_table': [], 'version': '2.2.1.511', 'wlan_overrides': []}], 'meta': {'message': 'unifi-device:sync', 'product_line': 'NETWORK', 'rc': 'ok'}}
2022-01-26 13:55:13 DEBUG (MainThread) [aiounifi.websocket] {"data":[{"_id":"61ddb5aef64f230f373f14c6","adopt_state":0,"adoptable_when_upgraded":false,"adopted":true,"bytes-r":0,"connection_network_name":"LAN","countrycode_table":[],"default":false,"device_type":"MANAGED","disabled":false,"displayable_version":"2.2.1","download_speed_bytes_per_second":0,"ethernet_overrides":[],"fw_caps":0,"ip":"replaced_IP","isolated":false,"last_seen":1643223306,"last_uplink":{"type":"wireless","uplink_device_name":"UDR","uplink_mac":"replaced_MAC"},"license_state":"registered","locating":false,"lte_connected":false,"mac":"replaced_MAC","model":"UP6","model_in_eol":false,"model_in_lts":false,"model_incompatible":false,"name":"USP-Strip","num_sta":0,"port_table":[],"product_line":"NETWORK","radio_table":[],"radio_table_stats":[],"restarting":false,"rx_bytes":0,"rx_bytes-d":0,"satisfaction":90,"spectrum_scanning":false,"state":1,"sys_stats":{"loadavg_1":0.0,"loadavg_15":0.0,"loadavg_5":0.0,"mem_buffer":0,"mem_total":98304,"mem_used":89480},"system-stats":{"cpu":0.0,"mem":0.0,"uptime":0},"tx_bytes":0,"tx_bytes-d":0,"type":"uap","unsupported":false,"unsupported_reason":0,"upgradable":false,"upgrade_state":0,"uplink":{"ap_mac":"replaced_MAC","essid":"element-ad5ff46b1f4b53dd","type":"wireless","uplink_device_name":"UDR","uplink_mac":"replaced_MAC"},"uplink_table":[],"upload_speed_bytes_per_second":0,"uptime":1365442,"vap_table":[],"version":"2.2.1.511","wlan_overrides":[]}],"meta":{"message":"unifi-device:sync","product_line":"NETWORK","rc":"ok"}}
2022-01-26 13:55:14 DEBUG (MainThread) [aiounifi.websocket] {"meta":{"rc":"ok","message":"device:update","mac":"replaced_MAC"},"data":[{"upgrade_state":0}]}
2022-01-26 13:55:14 DEBUG (MainThread) [aiounifi.controller] Unsupported message type {'data': [{'_id': '61ddb5aef64f230f373f14c6', 'adopt_state': 0, 'adoptable_when_upgraded': False, 'adopted': True, 'bytes-r': 0, 'connection_network_name': 'LAN', 'countrycode_table': [], 'default': False, 'device_type': 'MANAGED', 'disabled': False, 'displayable_version': '2.2.1', 'download_speed_bytes_per_second': 0, 'ethernet_overrides': [], 'fw_caps': 0, 'ip': 'replaced_IP', 'isolated': False, 'last_seen': 1643223314, 'last_uplink': {'type': 'wireless', 'uplink_device_name': 'UDR', 'uplink_mac': 'replaced_MAC'}, 'license_state': 'registered', 'locating': False, 'lte_connected': False, 'mac': '78:45:58:cd:de:6b', 'model': 'UP6', 'model_in_eol': False, 'model_in_lts': False, 'model_incompatible': False, 'name': 'USP-Strip', 'num_sta': 0, 'port_table': [], 'product_line': 'NETWORK', 'radio_table': [], 'radio_table_stats': [], 'restarting': False, 'rx_bytes': 0, 'rx_bytes-d': 0, 'satisfaction': 90, 'spectrum_scanning': False, 'state': 5, 'sys_stats': {'loadavg_1': 0.0, 'loadavg_15': 0.0, 'loadavg_5': 0.0, 'mem_buffer': 0, 'mem_total': 98304, 'mem_used': 89480}, 'system-stats': {'cpu': 0.0, 'mem': 0.0, 'uptime': 0}, 'tx_bytes': 0, 'tx_bytes-d': 0, 'type': 'uap', 'unsupported': False, 'unsupported_reason': 0, 'upgradable': False, 'upgrade_state': 0, 'uplink': {'ap_mac': 'replaced_MAC', 'essid': 'element-ad5ff46b1f4b53dd', 'type': 'wireless', 'uplink_device_name': 'UDR', 'uplink_mac': 'replaced_MAC'}, 'uplink_table': [], 'upload_speed_bytes_per_second': 0, 'uptime': 1365442, 'vap_table': [], 'version': '2.2.1.511', 'wlan_overrides': []}], 'meta': {'message': 'unifi-device:sync', 'product_line': 'NETWORK', 'rc': 'ok'}}
2022-01-26 13:55:14 DEBUG (MainThread) [aiounifi.websocket] {"data":[{"_id":"61ddb5aef64f230f373f14c6","adopt_state":0,"adoptable_when_upgraded":false,"adopted":true,"bytes-r":0,"connection_network_name":"LAN","countrycode_table":[],"default":false,"device_type":"MANAGED","disabled":false,"displayable_version":"2.2.1","download_speed_bytes_per_second":0,"ethernet_overrides":[],"fw_caps":0,"ip":"replaced_IP","isolated":false,"last_seen":1643223314,"last_uplink":{"type":"wireless","uplink_device_name":"UDR","uplink_mac":"replaced_MAC"},"license_state":"registered","locating":false,"lte_connected":false,"mac":"replaced_MAC","model":"UP6","model_in_eol":false,"model_in_lts":false,"model_incompatible":false,"name":"USP-Strip","num_sta":0,"port_table":[],"product_line":"NETWORK","radio_table":[],"radio_table_stats":[],"restarting":false,"rx_bytes":0,"rx_bytes-d":0,"satisfaction":90,"spectrum_scanning":false,"state":5,"sys_stats":{"loadavg_1":0.0,"loadavg_15":0.0,"loadavg_5":0.0,"mem_buffer":0,"mem_total":98304,"mem_used":89480},"system-stats":{"cpu":0.0,"mem":0.0,"uptime":0},"tx_bytes":0,"tx_bytes-d":0,"type":"uap","unsupported":false,"unsupported_reason":0,"upgradable":false,"upgrade_state":0,"uplink":{"ap_mac":"replaced_MAC","essid":"element-ad5ff46b1f4b53dd","type":"wireless","uplink_device_name":"UDR","uplink_mac":"replaced_MAC"},"uplink_table":[],"upload_speed_bytes_per_second":0,"uptime":1365442,"vap_table":[],"version":"2.2.1.511","wlan_overrides":[]}],"meta":{"message":"unifi-device:sync","product_line":"NETWORK","rc":"ok"}}
2022-01-26 13:55:14 DEBUG (MainThread) [aiounifi.websocket] {"meta":{"rc":"ok","message":"device:update","mac":"replaced_MAC"},"data":[{"state":5}]}
2022-01-26 13:55:14 DEBUG (MainThread) [aiounifi.controller] Unsupported message type {'data': [{'_id': '61ddb5aef64f230f373f14c6', 'adopt_state': 0, 'adoptable_when_upgraded': False, 'adopted': True, 'bytes-r': 0, 'connection_network_name': 'LAN', 'countrycode_table': [], 'default': False, 'device_type': 'MANAGED', 'disabled': False, 'displayable_version': '2.2.1', 'download_speed_bytes_per_second': 0, 'ethernet_overrides': [], 'fw_caps': 0, 'ip': 'replaced_IP', 'isolated': False, 'last_seen': 1643223314, 'last_uplink': {'type': 'wireless', 'uplink_device_name': 'UDR', 'uplink_mac': 'replaced_MAC'}, 'license_state': 'registered', 'locating': False, 'lte_connected': False, 'mac': '78:45:58:cd:de:6b', 'model': 'UP6', 'model_in_eol': False, 'model_in_lts': False, 'model_incompatible': False, 'name': 'USP-Strip', 'num_sta': 0, 'port_table': [], 'product_line': 'NETWORK', 'radio_table': [], 'radio_table_stats': [], 'restarting': False, 'rx_bytes': 0, 'rx_bytes-d': 0, 'satisfaction': 90, 'spectrum_scanning': False, 'state': 5, 'sys_stats': {'loadavg_1': 0.0, 'loadavg_15': 0.0, 'loadavg_5': 0.0, 'mem_buffer': 0, 'mem_total': 98304, 'mem_used': 89480}, 'system-stats': {'cpu': 0.0, 'mem': 0.0, 'uptime': 0}, 'tx_bytes': 0, 'tx_bytes-d': 0, 'type': 'uap', 'unsupported': False, 'unsupported_reason': 0, 'upgradable': False, 'upgrade_state': 0, 'uplink': {'ap_mac': 'replaced_MAC', 'essid': 'element-ad5ff46b1f4b53dd', 'type': 'wireless', 'uplink_device_name': 'UDR', 'uplink_mac': 'replaced_MAC'}, 'uplink_table': [], 'upload_speed_bytes_per_second': 0, 'uptime': 1365442, 'vap_table': [], 'version': '2.2.1.511', 'wlan_overrides': []}], 'meta': {'message': 'unifi-device:sync', 'product_line': 'NETWORK', 'rc': 'ok'}}
2022-01-26 13:55:14 DEBUG (MainThread) [aiounifi.websocket] {"data":[{"_id":"61ddb5aef64f230f373f14c6","adopt_state":0,"adoptable_when_upgraded":false,"adopted":true,"bytes-r":0,"connection_network_name":"LAN","countrycode_table":[],"default":false,"device_type":"MANAGED","disabled":false,"displayable_version":"2.2.1","download_speed_bytes_per_second":0,"ethernet_overrides":[],"fw_caps":0,"ip":"replaced_IP","isolated":false,"last_seen":1643223314,"last_uplink":{"type":"wireless","uplink_device_name":"UDR","uplink_mac":"replaced_MAC"},"license_state":"registered","locating":false,"lte_connected":false,"mac":"replaced_MAC","model":"UP6","model_in_eol":false,"model_in_lts":false,"model_incompatible":false,"name":"USP-Strip","num_sta":0,"port_table":[],"product_line":"NETWORK","radio_table":[],"radio_table_stats":[],"restarting":false,"rx_bytes":0,"rx_bytes-d":0,"satisfaction":90,"spectrum_scanning":false,"state":5,"sys_stats":{"loadavg_1":0.0,"loadavg_15":0.0,"loadavg_5":0.0,"mem_buffer":0,"mem_total":98304,"mem_used":89480},"system-stats":{"cpu":0.0,"mem":0.0,"uptime":0},"tx_bytes":0,"tx_bytes-d":0,"type":"uap","unsupported":false,"unsupported_reason":0,"upgradable":false,"upgrade_state":0,"uplink":{"ap_mac":"replaced_MAC","essid":"element-ad5ff46b1f4b53dd","type":"wireless","uplink_device_name":"UDR","uplink_mac":"replaced_MAC"},"uplink_table":[],"upload_speed_bytes_per_second":0,"uptime":1365442,"vap_table":[],"version":"2.2.1.511","wlan_overrides":[]}],"meta":{"message":"unifi-device:sync","product_line":"NETWORK","rc":"ok"}}
2022-01-26 13:55:16 DEBUG (MainThread) [aiounifi.websocket] {"meta":{"rc":"ok","message":"device:update","mac":"replaced_MAC"},"data":[{"outlet_table":[{"index":1,"has_relay":true,"has_metering":false,"relay_state":true,"outlet_caps":65537,"cycle_enabled":false,"name":"SG300"},{"index":2,"has_relay":true,"has_metering":false,"relay_state":true,"outlet_caps":65537,"cycle_enabled":false,"name":"UDR"},{"index":3,"has_relay":true,"has_metering":false,"relay_state":true,"outlet_caps":65537,"cycle_enabled":false,"name":"SmartRG"},{"index":4,"has_relay":true,"has_metering":false,"relay_state":true,"outlet_caps":65537,"cycle_enabled":false,"name":"ER12"},{"index":5,"has_relay":true,"has_metering":false,"relay_state":true,"outlet_caps":65537,"cycle_enabled":false,"name":"U6-Liv"},{"index":6,"has_relay":true,"has_metering":false,"relay_state":true,"outlet_caps":65537,"cycle_enabled":false,"name":"Pi4"},{"index":7,"has_relay":true,"has_metering":false,"relay_state":false,"outlet_caps":131073,"cycle_enabled":false,"name":"USB Outlets"}]}]}
2022-01-26 13:55:16 DEBUG (MainThread) [aiounifi.controller] Unsupported message type {'data': [{'_id': '61ddb5aef64f230f373f14c6', 'adopt_state': 0, 'adoptable_when_upgraded': False, 'adopted': True, 'bytes-r': 0, 'connection_network_name': 'LAN', 'countrycode_table': [], 'default': False, 'device_type': 'MANAGED', 'disabled': False, 'displayable_version': '2.2.1', 'download_speed_bytes_per_second': 0, 'ethernet_overrides': [], 'fw_caps': 0, 'ip': 'replaced_IP', 'isolated': False, 'last_seen': 1643223316, 'last_uplink': {'type': 'wireless', 'uplink_device_name': 'UDR', 'uplink_mac': 'replaced_MAC'}, 'license_state': 'registered', 'locating': False, 'lte_connected': False, 'mac': '78:45:58:cd:de:6b', 'model': 'UP6', 'model_in_eol': False, 'model_in_lts': False, 'model_incompatible': False, 'name': 'USP-Strip', 'num_sta': 0, 'port_table': [], 'product_line': 'NETWORK', 'radio_table': [], 'radio_table_stats': [], 'restarting': False, 'rx_bytes': 0, 'rx_bytes-d': 0, 'satisfaction': 90, 'spectrum_scanning': False, 'state': 5, 'sys_stats': {'loadavg_1': 0.0, 'loadavg_15': 0.0, 'loadavg_5': 0.0, 'mem_buffer': 0, 'mem_total': 98304, 'mem_used': 89480}, 'system-stats': {'cpu': 0.0, 'mem': 0.0, 'uptime': 0}, 'tx_bytes': 0, 'tx_bytes-d': 0, 'type': 'uap', 'unsupported': False, 'unsupported_reason': 0, 'upgradable': False, 'upgrade_state': 0, 'uplink': {'ap_mac': 'replaced_MAC', 'essid': 'element-ad5ff46b1f4b53dd', 'type': 'wireless', 'uplink_device_name': 'UDR', 'uplink_mac': 'replaced_MAC'}, 'uplink_table': [], 'upload_speed_bytes_per_second': 0, 'uptime': 1365442, 'vap_table': [], 'version': '2.2.1.511', 'wlan_overrides': []}], 'meta': {'message': 'unifi-device:sync', 'product_line': 'NETWORK', 'rc': 'ok'}}
2022-01-26 13:55:16 DEBUG (MainThread) [aiounifi.websocket] {"data":[{"_id":"61ddb5aef64f230f373f14c6","adopt_state":0,"adoptable_when_upgraded":false,"adopted":true,"bytes-r":0,"connection_network_name":"LAN","countrycode_table":[],"default":false,"device_type":"MANAGED","disabled":false,"displayable_version":"2.2.1","download_speed_bytes_per_second":0,"ethernet_overrides":[],"fw_caps":0,"ip":"replaced_IP","isolated":false,"last_seen":1643223316,"last_uplink":{"type":"wireless","uplink_device_name":"UDR","uplink_mac":"replaced_MAC"},"license_state":"registered","locating":false,"lte_connected":false,"mac":"replaced_MAC","model":"UP6","model_in_eol":false,"model_in_lts":false,"model_incompatible":false,"name":"USP-Strip","num_sta":0,"port_table":[],"product_line":"NETWORK","radio_table":[],"radio_table_stats":[],"restarting":false,"rx_bytes":0,"rx_bytes-d":0,"satisfaction":90,"spectrum_scanning":false,"state":5,"sys_stats":{"loadavg_1":0.0,"loadavg_15":0.0,"loadavg_5":0.0,"mem_buffer":0,"mem_total":98304,"mem_used":89480},"system-stats":{"cpu":0.0,"mem":0.0,"uptime":0},"tx_bytes":0,"tx_bytes-d":0,"type":"uap","unsupported":false,"unsupported_reason":0,"upgradable":false,"upgrade_state":0,"uplink":{"ap_mac":"replaced_MAC","essid":"element-ad5ff46b1f4b53dd","type":"wireless","uplink_device_name":"UDR","uplink_mac":"replaced_MAC"},"uplink_table":[],"upload_speed_bytes_per_second":0,"uptime":1365442,"vap_table":[],"version":"2.2.1.511","wlan_overrides":[]}],"meta":{"message":"unifi-device:sync","product_line":"NETWORK","rc":"ok"}}
2022-01-26 13:55:16 DEBUG (MainThread) [aiounifi.websocket] {"meta":{"rc":"ok","message":"device:update","mac":"replaced_MAC"},"data":[{"upgrade_state":0}]}
2022-01-26 13:55:16 DEBUG (MainThread) [aiounifi.controller] Unsupported message type {'data': [{'_id': '61ddb5aef64f230f373f14c6', 'adopt_state': 0, 'adoptable_when_upgraded': False, 'adopted': True, 'bytes-r': 0, 'connection_network_name': 'LAN', 'countrycode_table': [], 'default': False, 'device_type': 'MANAGED', 'disabled': False, 'displayable_version': '2.2.1', 'download_speed_bytes_per_second': 0, 'ethernet_overrides': [], 'fw_caps': 0, 'ip': 'replaced_IP', 'isolated': False, 'last_seen': 1643223316, 'last_uplink': {'type': 'wireless', 'uplink_device_name': 'UDR', 'uplink_mac': 'replaced_MAC'}, 'license_state': 'registered', 'locating': False, 'lte_connected': False, 'mac': '78:45:58:cd:de:6b', 'model': 'UP6', 'model_in_eol': False, 'model_in_lts': False, 'model_incompatible': False, 'name': 'USP-Strip', 'num_sta': 0, 'port_table': [], 'product_line': 'NETWORK', 'radio_table': [], 'radio_table_stats': [], 'restarting': False, 'rx_bytes': 0, 'rx_bytes-d': 0, 'satisfaction': 90, 'spectrum_scanning': False, 'state': 1, 'sys_stats': {'loadavg_1': 0.0, 'loadavg_15': 0.0, 'loadavg_5': 0.0, 'mem_buffer': 0, 'mem_total': 98304, 'mem_used': 89480}, 'system-stats': {'cpu': 0.0, 'mem': 0.0, 'uptime': 0}, 'tx_bytes': 0, 'tx_bytes-d': 0, 'type': 'uap', 'unsupported': False, 'unsupported_reason': 0, 'upgradable': False, 'upgrade_state': 0, 'uplink': {'ap_mac': 'replaced_MAC', 'essid': 'element-ad5ff46b1f4b53dd', 'type': 'wireless', 'uplink_device_name': 'UDR', 'uplink_mac': 'replaced_MAC'}, 'uplink_table': [], 'upload_speed_bytes_per_second': 0, 'uptime': 1365452, 'vap_table': [], 'version': '2.2.1.511', 'wlan_overrides': []}], 'meta': {'message': 'unifi-device:sync', 'product_line': 'NETWORK', 'rc': 'ok'}}
2022-01-26 13:55:16 DEBUG (MainThread) [aiounifi.websocket] {"data":[{"_id":"61ddb5aef64f230f373f14c6","adopt_state":0,"adoptable_when_upgraded":false,"adopted":true,"bytes-r":0,"connection_network_name":"LAN","countrycode_table":[],"default":false,"device_type":"MANAGED","disabled":false,"displayable_version":"2.2.1","download_speed_bytes_per_second":0,"ethernet_overrides":[],"fw_caps":0,"ip":"replaced_IP","isolated":false,"last_seen":1643223316,"last_uplink":{"type":"wireless","uplink_device_name":"UDR","uplink_mac":"replaced_MAC"},"license_state":"registered","locating":false,"lte_connected":false,"mac":"replaced_MAC","model":"UP6","model_in_eol":false,"model_in_lts":false,"model_incompatible":false,"name":"USP-Strip","num_sta":0,"port_table":[],"product_line":"NETWORK","radio_table":[],"radio_table_stats":[],"restarting":false,"rx_bytes":0,"rx_bytes-d":0,"satisfaction":90,"spectrum_scanning":false,"state":1,"sys_stats":{"loadavg_1":0.0,"loadavg_15":0.0,"loadavg_5":0.0,"mem_buffer":0,"mem_total":98304,"mem_used":89480},"system-stats":{"cpu":0.0,"mem":0.0,"uptime":0},"tx_bytes":0,"tx_bytes-d":0,"type":"uap","unsupported":false,"unsupported_reason":0,"upgradable":false,"upgrade_state":0,"uplink":{"ap_mac":"replaced_MAC","essid":"element-ad5ff46b1f4b53dd","type":"wireless","uplink_device_name":"UDR","uplink_mac":"replaced_MAC"},"uplink_table":[],"upload_speed_bytes_per_second":0,"uptime":1365452,"vap_table":[],"version":"2.2.1.511","wlan_overrides":[]}],"meta":{"message":"unifi-device:sync","product_line":"NETWORK","rc":"ok"}}
2022-01-26 13:55:16 DEBUG (MainThread) [aiounifi.websocket] {"meta":{"rc":"ok","message":"device:update","mac":"replaced_MAC"},"data":[{"provisioned_at":1643223316}]}
2022-01-26 13:55:16 DEBUG (MainThread) [aiounifi.controller] Unsupported message type {'data': [{'_id': '61ddb5aef64f230f373f14c6', 'adopt_state': 0, 'adoptable_when_upgraded': False, 'adopted': True, 'bytes-r': 0, 'connection_network_name': 'LAN', 'countrycode_table': [], 'default': False, 'device_type': 'MANAGED', 'disabled': False, 'displayable_version': '2.2.1', 'download_speed_bytes_per_second': 0, 'ethernet_overrides': [], 'fw_caps': 0, 'ip': 'replaced_IP', 'isolated': False, 'last_seen': 1643223316, 'last_uplink': {'type': 'wireless', 'uplink_device_name': 'UDR', 'uplink_mac': 'replaced_MAC'}, 'license_state': 'registered', 'locating': False, 'lte_connected': False, 'mac': '78:45:58:cd:de:6b', 'model': 'UP6', 'model_in_eol': False, 'model_in_lts': False, 'model_incompatible': False, 'name': 'USP-Strip', 'num_sta': 0, 'port_table': [], 'product_line': 'NETWORK', 'radio_table': [], 'radio_table_stats': [], 'restarting': False, 'rx_bytes': 0, 'rx_bytes-d': 0, 'satisfaction': 90, 'spectrum_scanning': False, 'state': 1, 'sys_stats': {'loadavg_1': 0.0, 'loadavg_15': 0.0, 'loadavg_5': 0.0, 'mem_buffer': 0, 'mem_total': 98304, 'mem_used': 89480}, 'system-stats': {'cpu': 0.0, 'mem': 0.0, 'uptime': 0}, 'tx_bytes': 0, 'tx_bytes-d': 0, 'type': 'uap', 'unsupported': False, 'unsupported_reason': 0, 'upgradable': False, 'upgrade_state': 0, 'uplink': {'ap_mac': 'replaced_MAC', 'essid': 'element-ad5ff46b1f4b53dd', 'type': 'wireless', 'uplink_device_name': 'UDR', 'uplink_mac': 'replaced_MAC'}, 'uplink_table': [], 'upload_speed_bytes_per_second': 0, 'uptime': 1365452, 'vap_table': [], 'version': '2.2.1.511', 'wlan_overrides': []}], 'meta': {'message': 'unifi-device:sync', 'product_line': 'NETWORK', 'rc': 'ok'}}
2022-01-26 13:55:16 DEBUG (MainThread) [aiounifi.websocket] {"data":[{"_id":"61ddb5aef64f230f373f14c6","adopt_state":0,"adoptable_when_upgraded":false,"adopted":true,"bytes-r":0,"connection_network_name":"LAN","countrycode_table":[],"default":false,"device_type":"MANAGED","disabled":false,"displayable_version":"2.2.1","download_speed_bytes_per_second":0,"ethernet_overrides":[],"fw_caps":0,"ip":"replaced_IP","isolated":false,"last_seen":1643223316,"last_uplink":{"type":"wireless","uplink_device_name":"UDR","uplink_mac":"replaced_MAC"},"license_state":"registered","locating":false,"lte_connected":false,"mac":"replaced_MAC","model":"UP6","model_in_eol":false,"model_in_lts":false,"model_incompatible":false,"name":"USP-Strip","num_sta":0,"port_table":[],"product_line":"NETWORK","radio_table":[],"radio_table_stats":[],"restarting":false,"rx_bytes":0,"rx_bytes-d":0,"satisfaction":90,"spectrum_scanning":false,"state":1,"sys_stats":{"loadavg_1":0.0,"loadavg_15":0.0,"loadavg_5":0.0,"mem_buffer":0,"mem_total":98304,"mem_used":89480},"system-stats":{"cpu":0.0,"mem":0.0,"uptime":0},"tx_bytes":0,"tx_bytes-d":0,"type":"uap","unsupported":false,"unsupported_reason":0,"upgradable":false,"upgrade_state":0,"uplink":{"ap_mac":"replaced_MAC","essid":"element-ad5ff46b1f4b53dd","type":"wireless","uplink_device_name":"UDR","uplink_mac":"replaced_MAC"},"uplink_table":[],"upload_speed_bytes_per_second":0,"uptime":1365452,"vap_table":[],"version":"2.2.1.511","wlan_overrides":[]}],"meta":{"message":"unifi-device:sync","product_line":"NETWORK","rc":"ok"}}
2022-01-26 13:55:16 DEBUG (MainThread) [aiounifi.websocket] {"meta":{"rc":"ok","message":"device:update","mac":"replaced_MAC"},"data":[{"state":1}]}
2022-01-26 13:55:16 DEBUG (MainThread) [aiounifi.controller] Unsupported message type {'data': [{'_id': '61ddb5aef64f230f373f14c6', 'adopt_state': 0, 'adoptable_when_upgraded': False, 'adopted': True, 'bytes-r': 0, 'connection_network_name': 'LAN', 'countrycode_table': [], 'default': False, 'device_type': 'MANAGED', 'disabled': False, 'displayable_version': '2.2.1', 'download_speed_bytes_per_second': 0, 'ethernet_overrides': [], 'fw_caps': 0, 'ip': 'replaced_IP', 'isolated': False, 'last_seen': 1643223316, 'last_uplink': {'type': 'wireless', 'uplink_device_name': 'UDR', 'uplink_mac': 'replaced_MAC'}, 'license_state': 'registered', 'locating': False, 'lte_connected': False, 'mac': '78:45:58:cd:de:6b', 'model': 'UP6', 'model_in_eol': False, 'model_in_lts': False, 'model_incompatible': False, 'name': 'USP-Strip', 'num_sta': 0, 'port_table': [], 'product_line': 'NETWORK', 'radio_table': [], 'radio_table_stats': [], 'restarting': False, 'rx_bytes': 0, 'rx_bytes-d': 0, 'satisfaction': 90, 'spectrum_scanning': False, 'state': 1, 'sys_stats': {'loadavg_1': 0.0, 'loadavg_15': 0.0, 'loadavg_5': 0.0, 'mem_buffer': 0, 'mem_total': 98304, 'mem_used': 89480}, 'system-stats': {'cpu': 0.0, 'mem': 0.0, 'uptime': 0}, 'tx_bytes': 0, 'tx_bytes-d': 0, 'type': 'uap', 'unsupported': False, 'unsupported_reason': 0, 'upgradable': False, 'upgrade_state': 0, 'uplink': {'ap_mac': 'replaced_MAC', 'essid': 'element-ad5ff46b1f4b53dd', 'type': 'wireless', 'uplink_device_name': 'UDR', 'uplink_mac': 'replaced_MAC'}, 'uplink_table': [], 'upload_speed_bytes_per_second': 0, 'uptime': 1365452, 'vap_table': [], 'version': '2.2.1.511', 'wlan_overrides': []}], 'meta': {'message': 'unifi-device:sync', 'product_line': 'NETWORK', 'rc': 'ok'}}
2022-01-26 13:55:16 DEBUG (MainThread) [aiounifi.websocket] {"data":[{"_id":"61ddb5aef64f230f373f14c6","adopt_state":0,"adoptable_when_upgraded":false,"adopted":true,"bytes-r":0,"connection_network_name":"LAN","countrycode_table":[],"default":false,"device_type":"MANAGED","disabled":false,"displayable_version":"2.2.1","download_speed_bytes_per_second":0,"ethernet_overrides":[],"fw_caps":0,"ip":"replaced_IP","isolated":false,"last_seen":1643223316,"last_uplink":{"type":"wireless","uplink_device_name":"UDR","uplink_mac":"replaced_MAC"},"license_state":"registered","locating":false,"lte_connected":false,"mac":"replaced_MAC","model":"UP6","model_in_eol":false,"model_in_lts":false,"model_incompatible":false,"name":"USP-Strip","num_sta":0,"port_table":[],"product_line":"NETWORK","radio_table":[],"radio_table_stats":[],"restarting":false,"rx_bytes":0,"rx_bytes-d":0,"satisfaction":90,"spectrum_scanning":false,"state":1,"sys_stats":{"loadavg_1":0.0,"loadavg_15":0.0,"loadavg_5":0.0,"mem_buffer":0,"mem_total":98304,"mem_used":89480},"system-stats":{"cpu":0.0,"mem":0.0,"uptime":0},"tx_bytes":0,"tx_bytes-d":0,"type":"uap","unsupported":false,"unsupported_reason":0,"upgradable":false,"upgrade_state":0,"uplink":{"ap_mac":"replaced_MAC","essid":"element-ad5ff46b1f4b53dd","type":"wireless","uplink_device_name":"UDR","uplink_mac":"replaced_MAC"},"uplink_table":[],"upload_speed_bytes_per_second":0,"uptime":1365452,"vap_table":[],"version":"2.2.1.511","wlan_overrides":[]}],"meta":{"message":"unifi-device:sync","product_line":"NETWORK","rc":"ok"}}
2022-01-26 13:55:28 DEBUG (MainThread) [aiounifi.websocket] {"meta":{"rc":"ok","message":"device:update","mac":"replaced_MAC"},"data":[{"temperatures":[{"name":"Local","type":"board","value":42.0},{"name":"CPU","type":"cpu","value":41.625}]}]}
2022-01-26 13:55:28 DEBUG (MainThread) [aiounifi.controller] Unsupported message type {'data': [{'_id': '61c0287e6b7d321fb18bedc7', 'adopt_state': 0, 'adoptable_when_upgraded': False, 'adopted': True, 'bytes-r': 565, 'connection_network_name': 'LAN', 'countrycode_table': [840, 124, 630], 'default': False, 'device_type': 'MANAGED', 'disabled': False, 'displayable_version': '2.3.11', 'download_speed_bytes_per_second': 0, 'ethernet_overrides': [{'ifname': 'eth4', 'networkgroup': 'WAN'}, {'ifname': 'eth0', 'networkgroup': 'LAN'}, {'ifname': 'eth1', 'networkgroup': 'LAN'}, {'ifname': 'eth2', 'networkgroup': 'LAN'}, {'ifname': 'eth3', 'networkgroup': 'LAN'}], 'fw_caps': 1676582447, 'ip': 'replaced_IP', 'isolated': False, 'last_seen': 1643223328, 'license_state': 'registered', 'locating': False, 'lte_connected': False, 'mac': '24:5a:4c:9f:e1:75', 'model': 'UDR', 'model_in_eol': False, 'model_in_lts': False, 'model_incompatible': False, 'name': 'UDR', 'num_sta': 5, 'port_table': [{'aggregated_by': False, 'autoneg': True, 'full_duplex': False, 'ifname': 'eth0', 'is_uplink': False, 'media': 'GE', 'name': 'Port 1', 'op_mode': 'switch', 'poe_caps': 0, 'poe_enable': False, 'port_idx': 1, 'port_poe': False, 'portconf_id': '5b213940b150b6c08a49dcad', 'rx_bytes': 0, 'rx_bytes-r': 0, 'rx_dropped': 0, 'rx_errors': 0, 'rx_packets': 0, 'satisfaction': 0, 'speed': 10, 'speed_caps': 1048623, 'tx_bytes': 0, 'tx_bytes-r': 0, 'tx_dropped': 0, 'tx_errors': 0, 'tx_packets': 0, 'up': False}, {'aggregated_by': False, 'autoneg': True, 'full_duplex': True, 'ifname': 'eth1', 'ip': 'replaced_IP', 'is_uplink': False, 'media': 'GE', 'name': 'Port 2', 'op_mode': 'switch', 'poe_caps': 0, 'poe_enable': False, 'port_idx': 2, 'port_poe': False, 'portconf_id': '5b213940b150b6c08a49dcad', 'rx_bytes': 929857070349, 'rx_bytes-r': 560247, 'rx_dropped': 2, 'rx_errors': 0, 'rx_packets': 765850966, 'satisfaction': 0, 'speed': 1000, 'speed_caps': 1048623, 'tx_bytes': 38940206429, 'tx_bytes-r': 25434, 'tx_dropped': 0, 'tx_errors': 0, 'tx_packets': 508630233, 'up': True}, {'aggregated_by': False, 'autoneg': True, 'full_duplex': False, 'ifname': 'eth2', 'is_uplink': False, 'media': 'GE', 'name': 'Port 3', 'op_mode': 'switch', 'poe_caps': 1, 'poe_enable': False, 'port_idx': 3, 'port_poe': True, 'portconf_id': '5b213940b150b6c08a49dcad', 'rx_bytes': 0, 'rx_bytes-r': 0, 'rx_dropped': 0, 'rx_errors': 0, 'rx_packets': 0, 'satisfaction': 0, 'speed': 10, 'speed_caps': 1048623, 'tx_bytes': 0, 'tx_bytes-r': 0, 'tx_dropped': 0, 'tx_errors': 0, 'tx_packets': 0, 'up': False}, {'aggregated_by': False, 'autoneg': True, 'full_duplex': False, 'ifname': 'eth3', 'is_uplink': False, 'media': 'GE', 'name': 'Port 4', 'op_mode': 'switch', 'poe_caps': 1, 'poe_enable': False, 'port_idx': 4, 'port_poe': True, 'portconf_id': '5b213940b150b6c08a49dcad', 'rx_bytes': 0, 'rx_bytes-r': 0, 'rx_dropped': 0, 'rx_errors': 0, 'rx_packets': 0, 'satisfaction': 0, 'speed': 10, 'speed_caps': 1048623, 'tx_bytes': 0, 'tx_bytes-r': 0, 'tx_dropped': 0, 'tx_errors': 0, 'tx_packets': 0, 'up': False}, {'aggregated_by': False, 'autoneg': True, 'full_duplex': True, 'ifname': 'eth4', 'ip': 'replaced_IP', 'is_uplink': True, 'media': 'GE', 'name': 'Port 5', 'op_mode': 'switch', 'poe_caps': 0, 'poe_enable': False, 'port_idx': 5, 'port_poe': False, 'portconf_id': '5b213940b150b6c08a49dcad', 'rx_bytes': 689071054, 'rx_bytes-r': 0, 'rx_dropped': 0, 'rx_errors': 0, 'rx_packets': 4633202, 'satisfaction': 0, 'speed': 1000, 'speed_caps': 1048623, 'tx_bytes': 126056605, 'tx_bytes-r': 0, 'tx_dropped': 0, 'tx_errors': 0, 'tx_packets': 1456052, 'up': True}], 'product_line': 'NETWORK', 'radio_table': [{'antenna_gain': 0, 'builtin_ant_gain': 3, 'builtin_antenna': True, 'channel': 1, 'current_antenna_gain': 0, 'hard_noise_floor_enabled': False, 'has_dfs': False, 'has_fccdfs': False, 'has_ht160': False, 'has_restricted_channels': False, 'ht': 20, 'is_11ac': False, 'is_11ax': False, 'loadbalance_enabled': False, 'max_txpower': 23, 'min_rssi_enabled': False, 'min_txpower': 6, 'name': 'ra0', 'nss': 4, 'radio': 'ng', 'radio_caps': 67256324, 'radio_caps2': 1, 'sens_level_enabled': False, 'tx_power_mode': 'low', 'vwire_enabled': True}, {'antenna_gain': 0, 'builtin_ant_gain': 4, 'builtin_antenna': True, 'channel': 36, 'current_antenna_gain': 0, 'hard_noise_floor_enabled': False, 'has_dfs': True, 'has_fccdfs': True, 'has_ht160': True, 'has_restricted_channels': False, 'ht': 80, 'is_11ac': True, 'is_11ax': True, 'loadbalance_enabled': False, 'max_txpower': 26, 'min_rssi_enabled': False, 'min_txpower': 6, 'name': 'rai0', 'nss': 4, 'radio': 'na', 'radio_caps': 251805700, 'radio_caps2': 15, 'sens_level_enabled': False, 'tx_power_mode': 'low', 'vwire_enabled': False}], 'radio_table_stats': [{'channel': 1, 'cu_self_rx': 0, 'cu_self_tx': 0, 'cu_total': 14, 'extchannel': 0, 'gain': 3, 'guest-num_sta': 0, 'name': 'ra0', 'num_sta': 0, 'radio': 'ng', 'satisfaction': 100, 'state': 'RUN', 'tx_packets': 0, 'tx_power': 6, 'tx_retries': 0, 'user-num_sta': 0}, {'channel': 36, 'cu_self_rx': 0, 'cu_self_tx': 0, 'cu_total': 2, 'extchannel': 1, 'gain': 4, 'guest-num_sta': 0, 'name': 'rai0', 'num_sta': 0, 'radio': 'na', 'satisfaction': -1, 'state': 'RUN', 'tx_packets': 0, 'tx_power': 6, 'tx_retries': 0, 'user-num_sta': 0}], 'restarting': False, 'rx_bytes': 126056605, 'rx_bytes-d': 22740, 'satisfaction': 100, 'spectrum_scanning': False, 'state': 1, 'sys_stats': {'loadavg_1': 1.1, 'loadavg_15': 0.99, 'loadavg_5': 0.97, 'mem_buffer': 66371584, 'mem_total': 2030968832, 'mem_used': 1790300160}, 'system-stats': {'cpu': 24.4, 'mem': 88.2, 'uptime': 1297722}, 'tx_bytes': 689071054, 'tx_bytes-d': 13997, 'type': 'udm', 'unsupported': False, 'unsupported_reason': 0, 'upgradable': False, 'upgrade_state': 0, 'uplink': {'name': 'eth4', 'port_idx': 5, 'speed': 1000, 'type': 'wire'}, 'uplink_table': [], 'upload_speed_bytes_per_second': 0, 'uptime': 1297722, 'vap_table': [], 'version': '2.3.11.6510', 'wlan_overrides': []}], 'meta': {'message': 'unifi-device:sync', 'product_line': 'NETWORK', 'rc': 'ok'}}
2022-01-26 13:55:28 DEBUG (MainThread) [aiounifi.websocket] {"data":[{"_id":"61c0287e6b7d321fb18bedc7","adopt_state":0,"adoptable_when_upgraded":false,"adopted":true,"bytes-r":565,"connection_network_name":"LAN","countrycode_table":[840,124,630],"default":false,"device_type":"MANAGED","disabled":false,"displayable_version":"2.3.11","download_speed_bytes_per_second":0,"ethernet_overrides":[{"ifname":"eth4","networkgroup":"WAN"},{"ifname":"eth0","networkgroup":"LAN"},{"ifname":"eth1","networkgroup":"LAN"},{"ifname":"eth2","networkgroup":"LAN"},{"ifname":"eth3","networkgroup":"LAN"}],"fw_caps":1676582447,"ip":"replaced_IP","isolated":false,"last_seen":1643223328,"license_state":"registered","locating":false,"lte_connected":false,"mac":"replaced_MAC","model":"UDR","model_in_eol":false,"model_in_lts":false,"model_incompatible":false,"name":"UDR","num_sta":5,"port_table":[{"aggregated_by":false,"autoneg":true,"full_duplex":false,"ifname":"eth0","is_uplink":false,"media":"GE","name":"Port 1","op_mode":"switch","poe_caps":0,"poe_enable":false,"port_idx":1,"port_poe":false,"portconf_id":"5b213940b150b6c08a49dcad","rx_bytes":0,"rx_bytes-r":0,"rx_dropped":0,"rx_errors":0,"rx_packets":0,"satisfaction":0,"speed":10,"speed_caps":1048623,"tx_bytes":0,"tx_bytes-r":0,"tx_dropped":0,"tx_errors":0,"tx_packets":0,"up":false},{"aggregated_by":false,"autoneg":true,"full_duplex":true,"ifname":"eth1","ip":"replaced_IP","is_uplink":false,"media":"GE","name":"Port 2","op_mode":"switch","poe_caps":0,"poe_enable":false,"port_idx":2,"port_poe":false,"portconf_id":"5b213940b150b6c08a49dcad","rx_bytes":929857070349,"rx_bytes-r":560247,"rx_dropped":2,"rx_errors":0,"rx_packets":765850966,"satisfaction":0,"speed":1000,"speed_caps":1048623,"tx_bytes":38940206429,"tx_bytes-r":25434,"tx_dropped":0,"tx_errors":0,"tx_packets":508630233,"up":true},{"aggregated_by":false,"autoneg":true,"full_duplex":false,"ifname":"eth2","is_uplink":false,"media":"GE","name":"Port 3","op_mode":"switch","poe_caps":1,"poe_enable":false,"port_idx":3,"port_poe":true,"portconf_id":"5b213940b150b6c08a49dcad","rx_bytes":0,"rx_bytes-r":0,"rx_dropped":0,"rx_errors":0,"rx_packets":0,"satisfaction":0,"speed":10,"speed_caps":1048623,"tx_bytes":0,"tx_bytes-r":0,"tx_dropped":0,"tx_errors":0,"tx_packets":0,"up":false},{"aggregated_by":false,"autoneg":true,"full_duplex":false,"ifname":"eth3","is_uplink":false,"media":"GE","name":"Port 4","op_mode":"switch","poe_caps":1,"poe_enable":false,"port_idx":4,"port_poe":true,"portconf_id":"5b213940b150b6c08a49dcad","rx_bytes":0,"rx_bytes-r":0,"rx_dropped":0,"rx_errors":0,"rx_packets":0,"satisfaction":0,"speed":10,"speed_caps":1048623,"tx_bytes":0,"tx_bytes-r":0,"tx_dropped":0,"tx_errors":0,"tx_packets":0,"up":false},{"aggregated_by":false,"autoneg":true,"full_duplex":true,"ifname":"eth4","ip":"replaced_IP","is_uplink":true,"media":"GE","name":"Port 5","op_mode":"switch","poe_caps":0,"poe_enable":false,"port_idx":5,"port_poe":false,"portconf_id":"5b213940b150b6c08a49dcad","rx_bytes":689071054,"rx_bytes-r":0,"rx_dropped":0,"rx_errors":0,"rx_packets":4633202,"satisfaction":0,"speed":1000,"speed_caps":1048623,"tx_bytes":126056605,"tx_bytes-r":0,"tx_dropped":0,"tx_errors":0,"tx_packets":1456052,"up":true}],"product_line":"NETWORK","radio_table":[{"antenna_gain":0,"builtin_ant_gain":3,"builtin_antenna":true,"channel":1,"current_antenna_gain":0,"hard_noise_floor_enabled":false,"has_dfs":false,"has_fccdfs":false,"has_ht160":false,"has_restricted_channels":false,"ht":20,"is_11ac":false,"is_11ax":false,"loadbalance_enabled":false,"max_txpower":23,"min_rssi_enabled":false,"min_txpower":6,"name":"ra0","nss":4,"radio":"ng","radio_caps":67256324,"radio_caps2":1,"sens_level_enabled":false,"tx_power_mode":"low","vwire_enabled":true},{"antenna_gain":0,"builtin_ant_gain":4,"builtin_antenna":true,"channel":36,"current_antenna_gain":0,"hard_noise_floor_enabled":false,"has_dfs":true,"has_fccdfs":true,"has_ht160":true,"has_restricted_channels":false,"ht":80,"is_11ac":true,"is_11ax":true,"loadbalance_enabled":false,"max_txpower":26,"min_rssi_enabled":false,"min_txpower":6,"name":"rai0","nss":4,"radio":"na","radio_caps":251805700,"radio_caps2":15,"sens_level_enabled":false,"tx_power_mode":"low","vwire_enabled":false}],"radio_table_stats":[{"channel":1,"cu_self_rx":0,"cu_self_tx":0,"cu_total":14,"extchannel":0,"gain":3,"guest-num_sta":0,"name":"ra0","num_sta":0,"radio":"ng","satisfaction":100,"state":"RUN","tx_packets":0,"tx_power":6,"tx_retries":0,"user-num_sta":0},{"channel":36,"cu_self_rx":0,"cu_self_tx":0,"cu_total":2,"extchannel":1,"gain":4,"guest-num_sta":0,"name":"rai0","num_sta":0,"radio":"na","satisfaction":-1,"state":"RUN","tx_packets":0,"tx_power":6,"tx_retries":0,"user-num_sta":0}],"restarting":false,"rx_bytes":126056605,"rx_bytes-d":22740,"satisfaction":100,"spectrum_scanning":false,"state":1,"sys_stats":{"loadavg_1":1.1,"loadavg_15":0.99,"loadavg_5":0.97,"mem_buffer":66371584,"mem_total":2030968832,"mem_used":1790300160},"system-stats":{"cpu":24.4,"mem":88.2,"uptime":1297722},"tx_bytes":689071054,"tx_bytes-d":13997,"type":"udm","unsupported":false,"unsupported_reason":0,"upgradable":false,"upgrade_state":0,"uplink":{"name":"eth4","port_idx":5,"speed":1000,"type":"wire"},"uplink_table":[],"upload_speed_bytes_per_second":0,"uptime":1297722,"vap_table":[],"version":"2.3.11.6510","wlan_overrides":[]}],"meta":{"message":"unifi-device:sync","product_line":"NETWORK","rc":"ok"}}
2022-01-26 13:55:32 DEBUG (MainThread) [aiounifi.devices] Override outlet 7 with state False
2022-01-26 13:55:32 DEBUG (MainThread) [aiounifi.controller] https://UDR.lab.home:443/proxy/network/api/s/default/rest/device/61ddb5aef64f230f373f14c6
2022-01-26 13:55:32 DEBUG (MainThread) [aiounifi.controller] 200 application/json <ClientResponse(https://udr.lab.home:443/proxy/network/api/s/default/rest/device/61ddb5aef64f230f373f14c6) [200 OK]>
2022-01-26 13:55:57 DEBUG (MainThread) [aiounifi.websocket] {"meta":{"rc":"ok","message":"events"},"data":[{"user":"dc:a6:32:06:ed:7a","ssid":"replaced_SSID","ap":"f4:92:bf:a1:91:18","radio":"na","channel":"60","hostname":"raspberrypi","ap_model":"UAL6","ap_name":"U6-Lite-Livingroom","ap_displayName":"U6-Lite-Livingroom","key":"EVT_WU_Connected","subsystem":"wlan","is_negative":false,"site_id":"5b21393fb150b6c08a49dca0","time":1643223344986,"datetime":"2022-01-26T18:55:44Z","msg":"User[dc:a6:32:06:ed:7a] has connected to AP[f4:92:bf:a1:91:18] with SSID \"replaced_SSID\" on \"channel 60(na)\"","_id":"61f1993a7a6b6613e0e16422"}]}
2022-01-26 13:55:57 ERROR (MainThread) [homeassistant.util.logging] Exception in items_added when dispatching 'unifi-update-eb3addec1b4a81b5d13d668f38c4affb': ({'dc:a6:32:06:ed:7a'}, set())
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 87, in items_added
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 109, in add_client_entities
  File "/usr/local/lib/python3.9/site-packages/aiounifi/api.py", line 189, in __getitem__
2022-01-26 13:56:31 DEBUG (MainThread) [aiounifi.websocket] {"meta":{"rc":"ok","message":"device:update","mac":"replaced_MAC"},"data":[{"temperatures":[{"name":"Local","type":"board","value":42.0},{"name":"CPU","type":"cpu","value":41.375}]}]}
2022-01-26 13:56:31 DEBUG (MainThread) [aiounifi.controller] Unsupported message type {'data': [{'_id': '61c0287e6b7d321fb18bedc7', 'adopt_state': 0, 'adoptable_when_upgraded': False, 'adopted': True, 'bytes-r': 1430, 'connection_network_name': 'LAN', 'countrycode_table': [840, 124, 630], 'default': False, 'device_type': 'MANAGED', 'disabled': False, 'displayable_version': '2.3.11', 'download_speed_bytes_per_second': 44, 'ethernet_overrides': [{'ifname': 'eth4', 'networkgroup': 'WAN'}, {'ifname': 'eth0', 'networkgroup': 'LAN'}, {'ifname': 'eth1', 'networkgroup': 'LAN'}, {'ifname': 'eth2', 'networkgroup': 'LAN'}, {'ifname': 'eth3', 'networkgroup': 'LAN'}], 'fw_caps': 1676582447, 'ip': 'replaced_IP', 'isolated': False, 'last_seen': 1643223390, 'license_state': 'registered', 'locating': False, 'lte_connected': False, 'mac': '24:5a:4c:9f:e1:75', 'model': 'UDR', 'model_in_eol': False, 'model_in_lts': False, 'model_incompatible': False, 'name': 'UDR', 'num_sta': 5, 'port_table': [{'aggregated_by': False, 'autoneg': True, 'full_duplex': False, 'ifname': 'eth0', 'is_uplink': False, 'media': 'GE', 'name': 'Port 1', 'op_mode': 'switch', 'poe_caps': 0, 'poe_enable': False, 'port_idx': 1, 'port_poe': False, 'portconf_id': '5b213940b150b6c08a49dcad', 'rx_bytes': 0, 'rx_bytes-r': 0, 'rx_dropped': 0, 'rx_errors': 0, 'rx_packets': 0, 'satisfaction': 0, 'speed': 10, 'speed_caps': 1048623, 'tx_bytes': 0, 'tx_bytes-r': 0, 'tx_dropped': 0, 'tx_errors': 0, 'tx_packets': 0, 'up': False}, {'aggregated_by': False, 'autoneg': True, 'full_duplex': True, 'ifname': 'eth1', 'ip': 'replaced_IP', 'is_uplink': False, 'media': 'GE', 'name': 'Port 2', 'op_mode': 'switch', 'poe_caps': 0, 'poe_enable': False, 'port_idx': 2, 'port_poe': False, 'portconf_id': '5b213940b150b6c08a49dcad', 'rx_bytes': 929889354677, 'rx_bytes-r': 512449, 'rx_dropped': 2, 'rx_errors': 0, 'rx_packets': 765879667, 'satisfaction': 0, 'speed': 1000, 'speed_caps': 1048623, 'tx_bytes': 38941790130, 'tx_bytes-r': 25138, 'tx_dropped': 0, 'tx_errors': 0, 'tx_packets': 508651663, 'up': True}, {'aggregated_by': False, 'autoneg': True, 'full_duplex': False, 'ifname': 'eth2', 'is_uplink': False, 'media': 'GE', 'name': 'Port 3', 'op_mode': 'switch', 'poe_caps': 1, 'poe_enable': False, 'port_idx': 3, 'port_poe': True, 'portconf_id': '5b213940b150b6c08a49dcad', 'rx_bytes': 0, 'rx_bytes-r': 0, 'rx_dropped': 0, 'rx_errors': 0, 'rx_packets': 0, 'satisfaction': 0, 'speed': 10, 'speed_caps': 1048623, 'tx_bytes': 0, 'tx_bytes-r': 0, 'tx_dropped': 0, 'tx_errors': 0, 'tx_packets': 0, 'up': False}, {'aggregated_by': False, 'autoneg': True, 'full_duplex': False, 'ifname': 'eth3', 'is_uplink': False, 'media': 'GE', 'name': 'Port 4', 'op_mode': 'switch', 'poe_caps': 1, 'poe_enable': False, 'port_idx': 4, 'port_poe': True, 'portconf_id': '5b213940b150b6c08a49dcad', 'rx_bytes': 0, 'rx_bytes-r': 0, 'rx_dropped': 0, 'rx_errors': 0, 'rx_packets': 0, 'satisfaction': 0, 'speed': 10, 'speed_caps': 1048623, 'tx_bytes': 0, 'tx_bytes-r': 0, 'tx_dropped': 0, 'tx_errors': 0, 'tx_packets': 0, 'up': False}, {'aggregated_by': False, 'autoneg': True, 'full_duplex': True, 'ifname': 'eth4', 'ip': 'replaced_IP', 'is_uplink': True, 'media': 'GE', 'name': 'Port 5', 'op_mode': 'switch', 'poe_caps': 0, 'poe_enable': False, 'port_idx': 5, 'port_poe': False, 'portconf_id': '5b213940b150b6c08a49dcad', 'rx_bytes': 689092592, 'rx_bytes-r': 44, 'rx_dropped': 0, 'rx_errors': 0, 'rx_packets': 4633433, 'satisfaction': 0, 'speed': 1000, 'speed_caps': 1048623, 'tx_bytes': 126064919, 'tx_bytes-r': 41, 'tx_dropped': 0, 'tx_errors': 0, 'tx_packets': 1456136, 'up': True}], 'product_line': 'NETWORK', 'radio_table': [{'antenna_gain': 0, 'builtin_ant_gain': 3, 'builtin_antenna': True, 'channel': 1, 'current_antenna_gain': 0, 'hard_noise_floor_enabled': False, 'has_dfs': False, 'has_fccdfs': False, 'has_ht160': False, 'has_restricted_channels': False, 'ht': 20, 'is_11ac': False, 'is_11ax': False, 'loadbalance_enabled': False, 'max_txpower': 23, 'min_rssi_enabled': False, 'min_txpower': 6, 'name': 'ra0', 'nss': 4, 'radio': 'ng', 'radio_caps': 67256324, 'radio_caps2': 1, 'sens_level_enabled': False, 'tx_power_mode': 'low', 'vwire_enabled': True}, {'antenna_gain': 0, 'builtin_ant_gain': 4, 'builtin_antenna': True, 'channel': 36, 'current_antenna_gain': 0, 'hard_noise_floor_enabled': False, 'has_dfs': True, 'has_fccdfs': True, 'has_ht160': True, 'has_restricted_channels': False, 'ht': 80, 'is_11ac': True, 'is_11ax': True, 'loadbalance_enabled': False, 'max_txpower': 26, 'min_rssi_enabled': False, 'min_txpower': 6, 'name': 'rai0', 'nss': 4, 'radio': 'na', 'radio_caps': 251805700, 'radio_caps2': 15, 'sens_level_enabled': False, 'tx_power_mode': 'low', 'vwire_enabled': False}], 'radio_table_stats': [{'channel': 1, 'cu_self_rx': 0, 'cu_self_tx': 0, 'cu_total': 10, 'extchannel': 0, 'gain': 3, 'guest-num_sta': 0, 'name': 'ra0', 'num_sta': 0, 'radio': 'ng', 'satisfaction': 100, 'state': 'RUN', 'tx_packets': 0, 'tx_power': 6, 'tx_retries': 0, 'user-num_sta': 0}, {'channel': 36, 'cu_self_rx': 0, 'cu_self_tx': 0, 'cu_total': 4, 'extchannel': 1, 'gain': 4, 'guest-num_sta': 0, 'name': 'rai0', 'num_sta': 0, 'radio': 'na', 'satisfaction': -1, 'state': 'RUN', 'tx_packets': 0, 'tx_power': 6, 'tx_retries': 0, 'user-num_sta': 0}], 'restarting': False, 'rx_bytes': 126064919, 'rx_bytes-d': 52998, 'satisfaction': 100, 'spectrum_scanning': False, 'state': 1, 'sys_stats': {'loadavg_1': 2.19, 'loadavg_15': 1.14, 'loadavg_5': 1.38, 'mem_buffer': 66609152, 'mem_total': 2030968832, 'mem_used': 1777524736}, 'system-stats': {'cpu': 31.5, 'mem': 87.5, 'uptime': 1297785}, 'tx_bytes': 689092592, 'tx_bytes-d': 37145, 'type': 'udm', 'unsupported': False, 'unsupported_reason': 0, 'upgradable': False, 'upgrade_state': 0, 'uplink': {'name': 'eth4', 'port_idx': 5, 'speed': 1000, 'type': 'wire'}, 'uplink_table': [], 'upload_speed_bytes_per_second': 41, 'uptime': 1297785, 'vap_table': [], 'version': '2.3.11.6510', 'wlan_overrides': []}], 'meta': {'message': 'unifi-device:sync', 'product_line': 'NETWORK', 'rc': 'ok'}}
2022-01-26 13:56:31 DEBUG (MainThread) [aiounifi.websocket] {"data":[{"_id":"61c0287e6b7d321fb18bedc7","adopt_state":0,"adoptable_when_upgraded":false,"adopted":true,"bytes-r":1430,"connection_network_name":"LAN","countrycode_table":[840,124,630],"default":false,"device_type":"MANAGED","disabled":false,"displayable_version":"2.3.11","download_speed_bytes_per_second":44,"ethernet_overrides":[{"ifname":"eth4","networkgroup":"WAN"},{"ifname":"eth0","networkgroup":"LAN"},{"ifname":"eth1","networkgroup":"LAN"},{"ifname":"eth2","networkgroup":"LAN"},{"ifname":"eth3","networkgroup":"LAN"}],"fw_caps":1676582447,"ip":"replaced_IP","isolated":false,"last_seen":1643223390,"license_state":"registered","locating":false,"lte_connected":false,"mac":"replaced_MAC","model":"UDR","model_in_eol":false,"model_in_lts":false,"model_incompatible":false,"name":"UDR","num_sta":5,"port_table":[{"aggregated_by":false,"autoneg":true,"full_duplex":false,"ifname":"eth0","is_uplink":false,"media":"GE","name":"Port 1","op_mode":"switch","poe_caps":0,"poe_enable":false,"port_idx":1,"port_poe":false,"portconf_id":"5b213940b150b6c08a49dcad","rx_bytes":0,"rx_bytes-r":0,"rx_dropped":0,"rx_errors":0,"rx_packets":0,"satisfaction":0,"speed":10,"speed_caps":1048623,"tx_bytes":0,"tx_bytes-r":0,"tx_dropped":0,"tx_errors":0,"tx_packets":0,"up":false},{"aggregated_by":false,"autoneg":true,"full_duplex":true,"ifname":"eth1","ip":"replaced_IP","is_uplink":false,"media":"GE","name":"Port 2","op_mode":"switch","poe_caps":0,"poe_enable":false,"port_idx":2,"port_poe":false,"portconf_id":"5b213940b150b6c08a49dcad","rx_bytes":929889354677,"rx_bytes-r":512449,"rx_dropped":2,"rx_errors":0,"rx_packets":765879667,"satisfaction":0,"speed":1000,"speed_caps":1048623,"tx_bytes":38941790130,"tx_bytes-r":25138,"tx_dropped":0,"tx_errors":0,"tx_packets":508651663,"up":true},{"aggregated_by":false,"autoneg":true,"full_duplex":false,"ifname":"eth2","is_uplink":false,"media":"GE","name":"Port 3","op_mode":"switch","poe_caps":1,"poe_enable":false,"port_idx":3,"port_poe":true,"portconf_id":"5b213940b150b6c08a49dcad","rx_bytes":0,"rx_bytes-r":0,"rx_dropped":0,"rx_errors":0,"rx_packets":0,"satisfaction":0,"speed":10,"speed_caps":1048623,"tx_bytes":0,"tx_bytes-r":0,"tx_dropped":0,"tx_errors":0,"tx_packets":0,"up":false},{"aggregated_by":false,"autoneg":true,"full_duplex":false,"ifname":"eth3","is_uplink":false,"media":"GE","name":"Port 4","op_mode":"switch","poe_caps":1,"poe_enable":false,"port_idx":4,"port_poe":true,"portconf_id":"5b213940b150b6c08a49dcad","rx_bytes":0,"rx_bytes-r":0,"rx_dropped":0,"rx_errors":0,"rx_packets":0,"satisfaction":0,"speed":10,"speed_caps":1048623,"tx_bytes":0,"tx_bytes-r":0,"tx_dropped":0,"tx_errors":0,"tx_packets":0,"up":false},{"aggregated_by":false,"autoneg":true,"full_duplex":true,"ifname":"eth4","ip":"replaced_IP","is_uplink":true,"media":"GE","name":"Port 5","op_mode":"switch","poe_caps":0,"poe_enable":false,"port_idx":5,"port_poe":false,"portconf_id":"5b213940b150b6c08a49dcad","rx_bytes":689092592,"rx_bytes-r":44,"rx_dropped":0,"rx_errors":0,"rx_packets":4633433,"satisfaction":0,"speed":1000,"speed_caps":1048623,"tx_bytes":126064919,"tx_bytes-r":41,"tx_dropped":0,"tx_errors":0,"tx_packets":1456136,"up":true}],"product_line":"NETWORK","radio_table":[{"antenna_gain":0,"builtin_ant_gain":3,"builtin_antenna":true,"channel":1,"current_antenna_gain":0,"hard_noise_floor_enabled":false,"has_dfs":false,"has_fccdfs":false,"has_ht160":false,"has_restricted_channels":false,"ht":20,"is_11ac":false,"is_11ax":false,"loadbalance_enabled":false,"max_txpower":23,"min_rssi_enabled":false,"min_txpower":6,"name":"ra0","nss":4,"radio":"ng","radio_caps":67256324,"radio_caps2":1,"sens_level_enabled":false,"tx_power_mode":"low","vwire_enabled":true},{"antenna_gain":0,"builtin_ant_gain":4,"builtin_antenna":true,"channel":36,"current_antenna_gain":0,"hard_noise_floor_enabled":false,"has_dfs":true,"has_fccdfs":true,"has_ht160":true,"has_restricted_channels":false,"ht":80,"is_11ac":true,"is_11ax":true,"loadbalance_enabled":false,"max_txpower":26,"min_rssi_enabled":false,"min_txpower":6,"name":"rai0","nss":4,"radio":"na","radio_caps":251805700,"radio_caps2":15,"sens_level_enabled":false,"tx_power_mode":"low","vwire_enabled":false}],"radio_table_stats":[{"channel":1,"cu_self_rx":0,"cu_self_tx":0,"cu_total":10,"extchannel":0,"gain":3,"guest-num_sta":0,"name":"ra0","num_sta":0,"radio":"ng","satisfaction":100,"state":"RUN","tx_packets":0,"tx_power":6,"tx_retries":0,"user-num_sta":0},{"channel":36,"cu_self_rx":0,"cu_self_tx":0,"cu_total":4,"extchannel":1,"gain":4,"guest-num_sta":0,"name":"rai0","num_sta":0,"radio":"na","satisfaction":-1,"state":"RUN","tx_packets":0,"tx_power":6,"tx_retries":0,"user-num_sta":0}],"restarting":false,"rx_bytes":126064919,"rx_bytes-d":52998,"satisfaction":100,"spectrum_scanning":false,"state":1,"sys_stats":{"loadavg_1":2.19,"loadavg_15":1.14,"loadavg_5":1.38,"mem_buffer":66609152,"mem_total":2030968832,"mem_used":1777524736},"system-stats":{"cpu":31.5,"mem":87.5,"uptime":1297785},"tx_bytes":689092592,"tx_bytes-d":37145,"type":"udm","unsupported":false,"unsupported_reason":0,"upgradable":false,"upgrade_state":0,"uplink":{"name":"eth4","port_idx":5,"speed":1000,"type":"wire"},"uplink_table":[],"upload_speed_bytes_per_second":41,"uptime":1297785,"vap_table":[],"version":"2.3.11.6510","wlan_overrides":[]}],"meta":{"message":"unifi-device:sync","product_line":"NETWORK","rc":"ok"}}
2022-01-26 13:57:02 INFO (MainThread) [aiounifi.controller] Shutting down connections to UniFi.
2022-01-26 13:57:02 DEBUG (MainThread) [aiounifi.websocket] Websocket stopped
2022-01-26 13:57:02 DEBUG (MainThread) [homeassistant.components.unifi.unifi_entity_base] Removing client entity device_tracker.replaced_name (replaced_MAC)
2022-01-26 13:57:02 DEBUG (MainThread) [homeassistant.components.unifi.unifi_entity_base] Removing client entity device_tracker.replaced_name (replaced_MAC)
2022-01-26 13:57:02 DEBUG (MainThread) [homeassistant.components.unifi.unifi_entity_base] Removing client entity device_tracker.replaced_name (replaced_MAC)
2022-01-26 13:57:02 DEBUG (MainThread) [homeassistant.components.unifi.unifi_entity_base] Removing client entity device_tracker.replaced_name (replaced_MAC)
2022-01-26 13:57:02 DEBUG (MainThread) [homeassistant.components.unifi.unifi_entity_base] Removing client entity device_tracker.replaced_name (replaced_MAC)
2022-01-26 13:57:02 DEBUG (MainThread) [homeassistant.components.unifi.unifi_entity_base] Removing client entity device_tracker.replaced_name (replaced_MAC)
2022-01-26 13:57:02 DEBUG (MainThread) [homeassistant.components.unifi.unifi_entity_base] Removing client entity device_tracker.replaced_name (replaced_MAC)
2022-01-26 13:57:02 DEBUG (MainThread) [homeassistant.components.unifi.unifi_entity_base] Removing client entity device_tracker.replaced_name (replaced_MAC)
2022-01-26 13:57:02 DEBUG (MainThread) [homeassistant.components.unifi.unifi_entity_base] Removing client entity device_tracker.replaced_name (replaced_MAC)
2022-01-26 13:57:02 DEBUG (MainThread) [homeassistant.components.unifi.unifi_entity_base] Removing outlet entity switch.replaced_name (replaced_MAC)
2022-01-26 13:57:02 DEBUG (MainThread) [homeassistant.components.unifi.unifi_entity_base] Removing outlet entity switch.replaced_name (replaced_MAC)
2022-01-26 13:57:02 DEBUG (MainThread) [homeassistant.components.unifi.unifi_entity_base] Removing outlet entity switch.replaced_name (replaced_MAC)
2022-01-26 13:57:02 DEBUG (MainThread) [homeassistant.components.unifi.unifi_entity_base] Removing outlet entity switch.replaced_name (replaced_MAC)
2022-01-26 13:57:02 DEBUG (MainThread) [homeassistant.components.unifi.unifi_entity_base] Removing outlet entity switch.replaced_name (replaced_MAC)
2022-01-26 13:57:02 DEBUG (MainThread) [homeassistant.components.unifi.unifi_entity_base] Removing outlet entity switch.replaced_name (replaced_MAC)
2022-01-26 13:57:02 DEBUG (MainThread) [homeassistant.components.unifi.unifi_entity_base] Removing outlet entity switch.replaced_name (replaced_MAC)
  File "/usr/src/homeassistant/homeassistant/components/unifi/unifi_entity_base.py", line 58, in async_will_remove_from_hass

Additional information

No response

probot-home-assistant[bot] commented 2 years ago

unifi documentation unifi source (message by IssueLinks)

probot-home-assistant[bot] commented 2 years ago

Hey there @kane610, mind taking a look at this issue as it has been labeled with an integration (unifi) you are listed as a code owner for? Thanks! (message by CodeOwnersMention)

cdnninja commented 2 years ago

Not sure if related but I have the same behavior in my dev environment on the entity filter view. I get the following error when I view this in debug mode from vscode:

457010178854,"vwireEnabled":true,"uplink_table":[],"num_sta":11,"user-num_sta":11,"user-wlan-num_sta":11,"guest-num_sta":0,"guest-wlan-num_sta":0,"x_has_ssh_hostkey":true}]} 2022-01-26 20:08:43 ERROR (MainThread) [frontend.js.latest.202201240] http://localhost:8123/frontend_latest/2d7a3299.js:23:31 Uncaught TypeError: Cannot read properties of undefined (reading 'state')

agrant-dxc commented 2 years ago

Tested core-2022.2.0b0 and same behavior.

Kane610 commented 2 years ago

Thanks for using the beta and reporting issues! Unfortunately there is nothing to go on in this issue so far.

Running it at home it works as expected to me, maybe it is related to the strip since I don't have one of them myself. Or maybe a combination with another integration causes this issue? Are you running any custom components?

agrant-dxc commented 2 years ago

Thanks for checking.

Since my last report I have updated the UDR OS with today's latest update (v2.3.12) and yesterday latest UNA (v7.0.20). Since then, core-2022.2.0b0 has been working and I can see all device_tracker entities.

If it occurs again, do you recommend any additional troubleshooting/logs to be provided?

agrant-dxc commented 2 years ago

Aaaand she stopped working, but only partially this time. I removed the debug entries from configuration.yaml and reloaded core. I can browse entities, but my phone which is definitely on wifi, is "not_home" and reloading the Unifi integration says HA needs to restart (every time, even after a reload of core). This reboot prompt has been 1:1 with it not working. When it works, I can reload the Unifi integration without it prompting to restart HA. Thoughts welcome.

As for custom components, they are: Alarmo, Scheduler component and Wyze.

Kane610 commented 2 years ago

How long is it running prior to behaving like this?

agrant-dxc commented 2 years ago

How long is it running prior to behaving like this?

Yesterdays dev it occurred immediately upon HA core restart.

Interestingly enough - reverting to dev25 I couldn't browse the Unifi Network entities filter (and didn't notice) but the device_trackers worked. Unclear if this timeline helps.

Today they worked for about 5 hours on 2022.2.0b0 (after a UnifiOS reload) until I reloaded HA core.

Have since tried systemctl restart unifi on the UDR to no success. And reloaded HA core many times.

If it helps - I have a LOT of disabled device_trackers since I only care about phones, not all the IOT. Have had problems in the past w/ Sonos when disabling entities.

What I have noticed during this endeavor is that the phones can get "disabled by integration" for some reason.

Just reloaded Unifi OS and HA core together - that seems to do the trick.

Prior to dev25 I could reload HA core or the Unifi integration all day long no issue. So perhaps "fragile" is the term that best describes it atm.

crlogic commented 2 years ago

~~I keep reverting to 2022.2.0.dev20220125 in order to have reliable device_tracking.

while on 2022.2.0b1 my phone no longer showed as home, even though it was in the actual Unifi app. No HA reboot or phone disconnect/reconnect would change that.~~

[edit] - going to backtrack this statement. Because while reverting worked for a bit, and solves the reload issue. Lost the phones device tracker #again.

Kane610 commented 2 years ago

The Change was merged on the 24th so it should be a part of the 2022.2.0.dev20220125, though I couldn't find any build logs to verify this.

Is it only the UniFi integration you experience these issues with?

reloading the Unifi integration says HA needs to restart

Never heard of this before, can you share a screenshot?

If it occurs again, do you recommend any additional troubleshooting/logs to be provided?

It would be to share full debug logs for the integration and something to look for

crlogic commented 2 years ago

Is it only the UniFi integration you experience these issues with?

Affirmative, just Unifi

Never heard of this before, can you share a screenshot?

Here ya go, https://imgur.com/a/HTi9acd

Will turn debug back on and wait for phone to drop.

I ran 2022.2.0b2 overnight. 2 phones connected at bedtime, 0 at wake up (<00:30 actually).

Kane610 commented 2 years ago

Would you mind trying to disable all other integrations and see if that has any effect?

agrant-dxc commented 2 years ago

Would you mind trying to disable all other integrations and see if that has any effect?

Effect on the Unifi integration reload? (aka, a five minute test?)

Or effect on dropping trackers after a number of hours even though they are still on wifi?

Kane610 commented 2 years ago

The dropping of trackers, the reload thing I'll try tonight as well.

agrant-dxc commented 2 years ago

Yeah we'd have to run an, "all integrations off" test overnight for sure. Motion lighting here has become a staple.

Until then, I'll post a debug log when things drop.

agrant-dxc commented 2 years ago

Going out on a limb here. Is it possible to test a custom version without the recent powersave changes?

agrant-dxc commented 2 years ago

I went to enabled a device_tracker that is normally disabled. As soon as I enabled it, all other device_trackers went unavailable. This happened at 8:15AM. Logs attached.

unifi 2022.2.0b1.txt

[edit] - thinking about this further. Enabling an entity reloads the integration?

agrant-dxc commented 2 years ago

A clue? My phone just went to "away", is it roaming triggering the device_tracker to faulter? The other two devices being tracked during this endeavor have not physically moved since the last HA restart and are still "home"

2022-01-28 10:01:53 DEBUG (MainThread) [homeassistant.components.unifi.unifi_entity_base] Updating client entity device_tracker.pixel_4a (60:b7:6e:2d:1e:16)
2022-01-28 10:01:53 DEBUG (MainThread) [aiounifi.websocket] {"meta":{"rc":"ok","message":"events"},"data":[{"user":"60:b7:6e:2d:1e:16","ap_from":"f4:92:bf:a1:91:18","ap_to":"78:45:58:4b:44:6c","radio_from":"na","radio_to":"na","radio":"na","channel_from":"60","channel_to":"100","channel":"100","ssid":"replaced_SSID","key":"EVT_WU_Roam","subsystem":"wlan","is_negative":false,"site_id":"5b21393fb150b6c08a49dca0","time":1643382084230,"datetime":"2022-01-28T15:01:24Z","msg":"User[60:b7:6e:2d:1e:16] roams from AP[f4:92:bf:a1:91:18] to AP[78:45:58:4b:44:6c] from \"channel 60(na)\" to \"channel 100(na)\" on \"replaced_SSID\"","_id":"61f4055e5f820913b5939690"}]}
2022-01-28 10:02:55 DEBUG (MainThread) [aiounifi.websocket] {"meta":{"rc":"ok","message":"device:update","mac":"24:5a:4c:9f:e1:75"},"data":[{"temperatures":[{"name":"Local","type":"board","value":44.0},{"name":"CPU","type":"cpu","value":43.625}]}]}
2022-01-28 10:02:55 DEBUG (MainThread) [aiounifi.controller] Unsupported message type {'data': [{'_id': '61c0287e6b7d321fb18bedc7', 'adopt_state': 0, 'adoptable_when_upgraded': False, 'adopted': True, 'bytes-r': 0, 'connection_network_name': 'LAN', 'countrycode_table': [840, 124, 630], 'default': False, 'device_type': 'MANAGED', 'disabled': False, 'displayable_version': '2.3.12', 'download_speed_bytes_per_second': 43, 'ethernet_overrides': [{'ifname': 'eth4', 'networkgroup': 'WAN'}, {'ifname': 'eth0', 'networkgroup': 'LAN'}, {'ifname': 'eth1', 'networkgroup': 'LAN'}, {'ifname': 'eth2', 'networkgroup': 'LAN'}, {'ifname': 'eth3', 'networkgroup': 'LAN'}], 'fw_caps': 1676582447, 'ip': 'replace_IP', 'isolated': False, 'last_seen': 1643382175, 'license_state': 'registered', 'locating': False, 'lte_connected': False, 'mac': '24:5a:4c:9f:e1:75', 'model': 'UDR', 'model_in_eol': False, 'model_in_lts': False, 'model_incompatible': False, 'name': 'UDR', 'num_sta': 6, 'port_table': [{'aggregated_by': False, 'autoneg': True, 'full_duplex': False, 'ifname': 'eth0', 'is_uplink': False, 'media': 'GE', 'name': 'Port 1', 'op_mode': 'switch', 'poe_caps': 0, 'poe_enable': False, 'port_idx': 1, 'port_poe': False, 'portconf_id': '5b213940b150b6c08a49dcad', 'rx_bytes': 0, 'rx_bytes-r': 0, 'rx_dropped': 0, 'rx_errors': 0, 'rx_packets': 0, 'satisfaction': 0, 'speed': 10, 'speed_caps': 1048623, 'tx_bytes': 0, 'tx_bytes-r': 0, 'tx_dropped': 0, 'tx_errors': 0, 'tx_packets': 0, 'up': False}, {'aggregated_by': False, 'autoneg': True, 'full_duplex': True, 'ifname': 'eth1', 'ip': '192.168.2.254', 'is_uplink': False, 'media': 'GE', 'name': 'Port 2', 'op_mode': 'switch', 'poe_caps': 0, 'poe_enable': False, 'port_idx': 2, 'port_poe': False, 'portconf_id': '5b213940b150b6c08a49dcad', 'rx_bytes': 72079538478, 'rx_bytes-r': 894480, 'rx_dropped': 1, 'rx_errors': 0, 'rx_packets': 54639979, 'satisfaction': 0, 'speed': 1000, 'speed_caps': 1048623, 'tx_bytes': 2492900794, 'tx_bytes-r': 31996, 'tx_dropped': 0, 'tx_errors': 0, 'tx_packets': 32767437, 'up': True}, {'aggregated_by': False, 'autoneg': True, 'full_duplex': False, 'ifname': 'eth2', 'is_uplink': False, 'media': 'GE', 'name': 'Port 3', 'op_mode': 'switch', 'poe_caps': 1, 'poe_enable': False, 'port_idx': 3, 'port_poe': True, 'portconf_id': '5b213940b150b6c08a49dcad', 'rx_bytes': 0, 'rx_bytes-r': 0, 'rx_dropped': 0, 'rx_errors': 0, 'rx_packets': 0, 'satisfaction': 0, 'speed': 10, 'speed_caps': 1048623, 'tx_bytes': 0, 'tx_bytes-r': 0, 'tx_dropped': 0, 'tx_errors': 0, 'tx_packets': 0, 'up': False}, {'aggregated_by': False, 'autoneg': True, 'full_duplex': False, 'ifname': 'eth3', 'is_uplink': False, 'media': 'GE', 'name': 'Port 4', 'op_mode': 'switch', 'poe_caps': 1, 'poe_enable': False, 'port_idx': 4, 'port_poe': True, 'portconf_id': '5b213940b150b6c08a49dcad', 'rx_bytes': 0, 'rx_bytes-r': 0, 'rx_dropped': 0, 'rx_errors': 0, 'rx_packets': 0, 'satisfaction': 0, 'speed': 10, 'speed_caps': 1048623, 'tx_bytes': 0, 'tx_bytes-r': 0, 'tx_dropped': 0, 'tx_errors': 0, 'tx_packets': 0, 'up': False}, {'aggregated_by': False, 'autoneg': True, 'full_duplex': True, 'ifname': 'eth4', 'ip': 'replace_IP', 'is_uplink': True, 'media': 'GE', 'name': 'Port 5', 'op_mode': 'switch', 'poe_caps': 0, 'poe_enable': False, 'port_idx': 5, 'port_poe': False, 'portconf_id': '5b213940b150b6c08a49dcad', 'rx_bytes': 16226465, 'rx_bytes-r': 43, 'rx_dropped': 0, 'rx_errors': 0, 'rx_packets': 205201, 'satisfaction': 0, 'speed': 1000, 'speed_caps': 1048623, 'tx_bytes': 5606796, 'tx_bytes-r': 0, 'tx_dropped': 0, 'tx_errors': 0, 'tx_packets': 82525, 'up': True}], 'product_line': 'NETWORK', 'radio_table': [{'antenna_gain': 0, 'builtin_ant_gain': 3, 'builtin_antenna': True, 'channel': 1, 'current_antenna_gain': 0, 'hard_noise_floor_enabled': False, 'has_dfs': False, 'has_fccdfs': False, 'has_ht160': False, 'has_restricted_channels': False, 'ht': 20, 'is_11ac': False, 'is_11ax': False, 'loadbalance_enabled': False, 'max_txpower': 23, 'min_rssi_enabled': False, 'min_txpower': 6, 'name': 'ra0', 'nss': 4, 'radio': 'ng', 'radio_caps': 67256324, 'radio_caps2': 1, 'sens_level_enabled': False, 'tx_power_mode': 'low', 'vwire_enabled': True}, {'antenna_gain': 0, 'builtin_ant_gain': 4, 'builtin_antenna': True, 'channel': 36, 'current_antenna_gain': 0, 'hard_noise_floor_enabled': False, 'has_dfs': True, 'has_fccdfs': True, 'has_ht160': True, 'has_restricted_channels': False, 'ht': 80, 'is_11ac': True, 'is_11ax': True, 'loadbalance_enabled': False, 'max_txpower': 26, 'min_rssi_enabled': False, 'min_txpower': 6, 'name': 'rai0', 'nss': 4, 'radio': 'na', 'radio_caps': 251805700, 'radio_caps2': 15, 'sens_level_enabled': False, 'tx_power_mode': 'low', 'vwire_enabled': False}], 'radio_table_stats': [{'channel': 1, 'cu_self_rx': 0, 'cu_self_tx': 0, 'cu_total': 12, 'extchannel': 0, 'gain': 3, 'guest-num_sta': 0, 'name': 'ra0', 'num_sta': 0, 'radio': 'ng', 'satisfaction': -1, 'state': 'RUN', 'tx_packets': 0, 'tx_power': 6, 'tx_retries': 0, 'user-num_sta': 0}, {'channel': 36, 'cu_self_rx': 0, 'cu_self_tx': 0, 'cu_total': 2, 'extchannel': 1, 'gain': 4, 'guest-num_sta': 0, 'name': 'rai0', 'num_sta': 0, 'radio': 'na', 'satisfaction': -1, 'state': 'RUN', 'tx_packets': 0, 'tx_power': 6, 'tx_retries': 0, 'user-num_sta': 0}], 'restarting': False, 'rx_bytes': 5606796, 'rx_bytes-d': 0, 'satisfaction': -1, 'spectrum_scanning': False, 'state': 1, 'sys_stats': {'loadavg_1': 1.3, 'loadavg_15': 0.97, 'loadavg_5': 1.05, 'mem_buffer': 81281024, 'mem_total': 2030968832, 'mem_used': 1717915648}, 'system-stats': {'cpu': 31.7, 'mem': 84.6, 'uptime': 61442}, 'tx_bytes': 16226465, 'tx_bytes-d': 0, 'type': 'udm', 'unsupported': False, 'unsupported_reason': 0, 'upgradable': False, 'upgrade_state': 0, 'uplink': {'name': 'eth4', 'port_idx': 5, 'speed': 1000, 'type': 'wire'}, 'uplink_table': [], 'upload_speed_bytes_per_second': 0, 'uptime': 61442, 'vap_table': [], 'version': '2.3.12.6542', 'wlan_overrides': []}], 'meta': {'message': 'unifi-device:sync', 'product_line': 'NETWORK', 'rc': 'ok'}}
2022-01-28 10:02:55 DEBUG (MainThread) [aiounifi.websocket] {"data":[{"_id":"61c0287e6b7d321fb18bedc7","adopt_state":0,"adoptable_when_upgraded":false,"adopted":true,"bytes-r":0,"connection_network_name":"LAN","countrycode_table":[840,124,630],"default":false,"device_type":"MANAGED","disabled":false,"displayable_version":"2.3.12","download_speed_bytes_per_second":43,"ethernet_overrides":[{"ifname":"eth4","networkgroup":"WAN"},{"ifname":"eth0","networkgroup":"LAN"},{"ifname":"eth1","networkgroup":"LAN"},{"ifname":"eth2","networkgroup":"LAN"},{"ifname":"eth3","networkgroup":"LAN"}],"fw_caps":1676582447,"ip":"replace_IP","isolated":false,"last_seen":1643382175,"license_state":"registered","locating":false,"lte_connected":false,"mac":"24:5a:4c:9f:e1:75","model":"UDR","model_in_eol":false,"model_in_lts":false,"model_incompatible":false,"name":"UDR","num_sta":6,"port_table":[{"aggregated_by":false,"autoneg":true,"full_duplex":false,"ifname":"eth0","is_uplink":false,"media":"GE","name":"Port 1","op_mode":"switch","poe_caps":0,"poe_enable":false,"port_idx":1,"port_poe":false,"portconf_id":"5b213940b150b6c08a49dcad","rx_bytes":0,"rx_bytes-r":0,"rx_dropped":0,"rx_errors":0,"rx_packets":0,"satisfaction":0,"speed":10,"speed_caps":1048623,"tx_bytes":0,"tx_bytes-r":0,"tx_dropped":0,"tx_errors":0,"tx_packets":0,"up":false},{"aggregated_by":false,"autoneg":true,"full_duplex":true,"ifname":"eth1","ip":"192.168.2.254","is_uplink":false,"media":"GE","name":"Port 2","op_mode":"switch","poe_caps":0,"poe_enable":false,"port_idx":2,"port_poe":false,"portconf_id":"5b213940b150b6c08a49dcad","rx_bytes":72079538478,"rx_bytes-r":894480,"rx_dropped":1,"rx_errors":0,"rx_packets":54639979,"satisfaction":0,"speed":1000,"speed_caps":1048623,"tx_bytes":2492900794,"tx_bytes-r":31996,"tx_dropped":0,"tx_errors":0,"tx_packets":32767437,"up":true},{"aggregated_by":false,"autoneg":true,"full_duplex":false,"ifname":"eth2","is_uplink":false,"media":"GE","name":"Port 3","op_mode":"switch","poe_caps":1,"poe_enable":false,"port_idx":3,"port_poe":true,"portconf_id":"5b213940b150b6c08a49dcad","rx_bytes":0,"rx_bytes-r":0,"rx_dropped":0,"rx_errors":0,"rx_packets":0,"satisfaction":0,"speed":10,"speed_caps":1048623,"tx_bytes":0,"tx_bytes-r":0,"tx_dropped":0,"tx_errors":0,"tx_packets":0,"up":false},{"aggregated_by":false,"autoneg":true,"full_duplex":false,"ifname":"eth3","is_uplink":false,"media":"GE","name":"Port 4","op_mode":"switch","poe_caps":1,"poe_enable":false,"port_idx":4,"port_poe":true,"portconf_id":"5b213940b150b6c08a49dcad","rx_bytes":0,"rx_bytes-r":0,"rx_dropped":0,"rx_errors":0,"rx_packets":0,"satisfaction":0,"speed":10,"speed_caps":1048623,"tx_bytes":0,"tx_bytes-r":0,"tx_dropped":0,"tx_errors":0,"tx_packets":0,"up":false},{"aggregated_by":false,"autoneg":true,"full_duplex":true,"ifname":"eth4","ip":"replace_IP","is_uplink":true,"media":"GE","name":"Port 5","op_mode":"switch","poe_caps":0,"poe_enable":false,"port_idx":5,"port_poe":false,"portconf_id":"5b213940b150b6c08a49dcad","rx_bytes":16226465,"rx_bytes-r":43,"rx_dropped":0,"rx_errors":0,"rx_packets":205201,"satisfaction":0,"speed":1000,"speed_caps":1048623,"tx_bytes":5606796,"tx_bytes-r":0,"tx_dropped":0,"tx_errors":0,"tx_packets":82525,"up":true}],"product_line":"NETWORK","radio_table":[{"antenna_gain":0,"builtin_ant_gain":3,"builtin_antenna":true,"channel":1,"current_antenna_gain":0,"hard_noise_floor_enabled":false,"has_dfs":false,"has_fccdfs":false,"has_ht160":false,"has_restricted_channels":false,"ht":20,"is_11ac":false,"is_11ax":false,"loadbalance_enabled":false,"max_txpower":23,"min_rssi_enabled":false,"min_txpower":6,"name":"ra0","nss":4,"radio":"ng","radio_caps":67256324,"radio_caps2":1,"sens_level_enabled":false,"tx_power_mode":"low","vwire_enabled":true},{"antenna_gain":0,"builtin_ant_gain":4,"builtin_antenna":true,"channel":36,"current_antenna_gain":0,"hard_noise_floor_enabled":false,"has_dfs":true,"has_fccdfs":true,"has_ht160":true,"has_restricted_channels":false,"ht":80,"is_11ac":true,"is_11ax":true,"loadbalance_enabled":false,"max_txpower":26,"min_rssi_enabled":false,"min_txpower":6,"name":"rai0","nss":4,"radio":"na","radio_caps":251805700,"radio_caps2":15,"sens_level_enabled":false,"tx_power_mode":"low","vwire_enabled":false}],"radio_table_stats":[{"channel":1,"cu_self_rx":0,"cu_self_tx":0,"cu_total":12,"extchannel":0,"gain":3,"guest-num_sta":0,"name":"ra0","num_sta":0,"radio":"ng","satisfaction":-1,"state":"RUN","tx_packets":0,"tx_power":6,"tx_retries":0,"user-num_sta":0},{"channel":36,"cu_self_rx":0,"cu_self_tx":0,"cu_total":2,"extchannel":1,"gain":4,"guest-num_sta":0,"name":"rai0","num_sta":0,"radio":"na","satisfaction":-1,"state":"RUN","tx_packets":0,"tx_power":6,"tx_retries":0,"user-num_sta":0}],"restarting":false,"rx_bytes":5606796,"rx_bytes-d":0,"satisfaction":-1,"spectrum_scanning":false,"state":1,"sys_stats":{"loadavg_1":1.3,"loadavg_15":0.97,"loadavg_5":1.05,"mem_buffer":81281024,"mem_total":2030968832,"mem_used":1717915648},"system-stats":{"cpu":31.7,"mem":84.6,"uptime":61442},"tx_bytes":16226465,"tx_bytes-d":0,"type":"udm","unsupported":false,"unsupported_reason":0,"upgradable":false,"upgrade_state":0,"uplink":{"name":"eth4","port_idx":5,"speed":1000,"type":"wire"},"uplink_table":[],"upload_speed_bytes_per_second":0,"uptime":61442,"vap_table":[],"version":"2.3.12.6542","wlan_overrides":[]}],"meta":{"message":"unifi-device:sync","product_line":"NETWORK","rc":"ok"}}
2022-01-28 10:03:56 DEBUG (MainThread) [aiounifi.websocket] {"meta":{"rc":"ok","message":"device:update","mac":"24:5a:4c:9f:e1:75"},"data":[{"temperatures":[{"name":"Local","type":"board","value":44.0},{"name":"CPU","type":"cpu","value":43.5}]}]}
2022-01-28 10:03:56 DEBUG (MainThread) [aiounifi.controller] Unsupported message type {'data': [{'_id': '61c0287e6b7d321fb18bedc7', 'adopt_state': 0, 'adoptable_when_upgraded': False, 'adopted': True, 'bytes-r': 0, 'connection_network_name': 'LAN', 'countrycode_table': [840, 124, 630], 'default': False, 'device_type': 'MANAGED', 'disabled': False, 'displayable_version': '2.3.12', 'download_speed_bytes_per_second': 134, 'ethernet_overrides': [{'ifname': 'eth4', 'networkgroup': 'WAN'}, {'ifname': 'eth0', 'networkgroup': 'LAN'}, {'ifname': 'eth1', 'networkgroup': 'LAN'}, {'ifname': 'eth2', 'networkgroup': 'LAN'}, {'ifname': 'eth3', 'networkgroup': 'LAN'}], 'fw_caps': 1676582447, 'ip': 'replace_IP', 'isolated': False, 'last_seen': 1643382236, 'license_state': 'registered', 'locating': False, 'lte_connected': False, 'mac': '24:5a:4c:9f:e1:75', 'model': 'UDR', 'model_in_eol': False, 'model_in_lts': False, 'model_incompatible': False, 'name': 'UDR', 'num_sta': 6, 'port_table': [{'aggregated_by': False, 'autoneg': True, 'full_duplex': False, 'ifname': 'eth0', 'is_uplink': False, 'media': 'GE', 'name': 'Port 1', 'op_mode': 'switch', 'poe_caps': 0, 'poe_enable': False, 'port_idx': 1, 'port_poe': False, 'portconf_id': '5b213940b150b6c08a49dcad', 'rx_bytes': 0, 'rx_bytes-r': 0, 'rx_dropped': 0, 'rx_errors': 0, 'rx_packets': 0, 'satisfaction': 0, 'speed': 10, 'speed_caps': 1048623, 'tx_bytes': 0, 'tx_bytes-r': 0, 'tx_dropped': 0, 'tx_errors': 0, 'tx_packets': 0, 'up': False}, {'aggregated_by': False, 'autoneg': True, 'full_duplex': True, 'ifname': 'eth1', 'ip': '192.168.2.254', 'is_uplink': False, 'media': 'GE', 'name': 'Port 2', 'op_mode': 'switch', 'poe_caps': 0, 'poe_enable': False, 'port_idx': 2, 'port_poe': False, 'portconf_id': '5b213940b150b6c08a49dcad', 'rx_bytes': 72124251927, 'rx_bytes-r': 698647, 'rx_dropped': 1, 'rx_errors': 0, 'rx_packets': 54676588, 'satisfaction': 0, 'speed': 1000, 'speed_caps': 1048623, 'tx_bytes': 2494744300, 'tx_bytes-r': 28804, 'tx_dropped': 0, 'tx_errors': 0, 'tx_packets': 32793125, 'up': True}, {'aggregated_by': False, 'autoneg': True, 'full_duplex': False, 'ifname': 'eth2', 'is_uplink': False, 'media': 'GE', 'name': 'Port 3', 'op_mode': 'switch', 'poe_caps': 1, 'poe_enable': False, 'port_idx': 3, 'port_poe': True, 'portconf_id': '5b213940b150b6c08a49dcad', 'rx_bytes': 0, 'rx_bytes-r': 0, 'rx_dropped': 0, 'rx_errors': 0, 'rx_packets': 0, 'satisfaction': 0, 'speed': 10, 'speed_caps': 1048623, 'tx_bytes': 0, 'tx_bytes-r': 0, 'tx_dropped': 0, 'tx_errors': 0, 'tx_packets': 0, 'up': False}, {'aggregated_by': False, 'autoneg': True, 'full_duplex': False, 'ifname': 'eth3', 'is_uplink': False, 'media': 'GE', 'name': 'Port 4', 'op_mode': 'switch', 'poe_caps': 1, 'poe_enable': False, 'port_idx': 4, 'port_poe': True, 'portconf_id': '5b213940b150b6c08a49dcad', 'rx_bytes': 0, 'rx_bytes-r': 0, 'rx_dropped': 0, 'rx_errors': 0, 'rx_packets': 0, 'satisfaction': 0, 'speed': 10, 'speed_caps': 1048623, 'tx_bytes': 0, 'tx_bytes-r': 0, 'tx_dropped': 0, 'tx_errors': 0, 'tx_packets': 0, 'up': False}, {'aggregated_by': False, 'autoneg': True, 'full_duplex': True, 'ifname': 'eth4', 'ip': 'replace_IP', 'is_uplink': True, 'media': 'GE', 'name': 'Port 5', 'op_mode': 'switch', 'poe_caps': 0, 'poe_enable': False, 'port_idx': 5, 'port_poe': False, 'portconf_id': '5b213940b150b6c08a49dcad', 'rx_bytes': 16246777, 'rx_bytes-r': 134, 'rx_dropped': 0, 'rx_errors': 0, 'rx_packets': 205421, 'satisfaction': 0, 'speed': 1000, 'speed_caps': 1048623, 'tx_bytes': 5612397, 'tx_bytes-r': 83, 'tx_dropped': 0, 'tx_errors': 0, 'tx_packets': 82608, 'up': True}], 'product_line': 'NETWORK', 'radio_table': [{'antenna_gain': 0, 'builtin_ant_gain': 3, 'builtin_antenna': True, 'channel': 1, 'current_antenna_gain': 0, 'hard_noise_floor_enabled': False, 'has_dfs': False, 'has_fccdfs': False, 'has_ht160': False, 'has_restricted_channels': False, 'ht': 20, 'is_11ac': False, 'is_11ax': False, 'loadbalance_enabled': False, 'max_txpower': 23, 'min_rssi_enabled': False, 'min_txpower': 6, 'name': 'ra0', 'nss': 4, 'radio': 'ng', 'radio_caps': 67256324, 'radio_caps2': 1, 'sens_level_enabled': False, 'tx_power_mode': 'low', 'vwire_enabled': True}, {'antenna_gain': 0, 'builtin_ant_gain': 4, 'builtin_antenna': True, 'channel': 36, 'current_antenna_gain': 0, 'hard_noise_floor_enabled': False, 'has_dfs': True, 'has_fccdfs': True, 'has_ht160': True, 'has_restricted_channels': False, 'ht': 80, 'is_11ac': True, 'is_11ax': True, 'loadbalance_enabled': False, 'max_txpower': 26, 'min_rssi_enabled': False, 'min_txpower': 6, 'name': 'rai0', 'nss': 4, 'radio': 'na', 'radio_caps': 251805700, 'radio_caps2': 15, 'sens_level_enabled': False, 'tx_power_mode': 'low', 'vwire_enabled': False}], 'radio_table_stats': [{'channel': 1, 'cu_self_rx': 0, 'cu_self_tx': 0, 'cu_total': 10, 'extchannel': 0, 'gain': 3, 'guest-num_sta': 0, 'name': 'ra0', 'num_sta': 0, 'radio': 'ng', 'satisfaction': -1, 'state': 'RUN', 'tx_packets': 0, 'tx_power': 6, 'tx_retries': 0, 'user-num_sta': 0}, {'channel': 36, 'cu_self_rx': 0, 'cu_self_tx': 0, 'cu_total': 3, 'extchannel': 1, 'gain': 4, 'guest-num_sta': 0, 'name': 'rai0', 'num_sta': 0, 'radio': 'na', 'satisfaction': -1, 'state': 'RUN', 'tx_packets': 0, 'tx_power': 6, 'tx_retries': 0, 'user-num_sta': 0}], 'restarting': False, 'rx_bytes': 5612397, 'rx_bytes-d': 0, 'satisfaction': -1, 'spectrum_scanning': False, 'state': 1, 'sys_stats': {'loadavg_1': 0.92, 'loadavg_15': 0.96, 'loadavg_5': 1.0, 'mem_buffer': 81485824, 'mem_total': 2030968832, 'mem_used': 1718325248}, 'system-stats': {'cpu': 30.1, 'mem': 84.6, 'uptime': 61505}, 'tx_bytes': 16246777, 'tx_bytes-d': 0, 'type': 'udm', 'unsupported': False, 'unsupported_reason': 0, 'upgradable': False, 'upgrade_state': 0, 'uplink': {'name': 'eth4', 'port_idx': 5, 'speed': 1000, 'type': 'wire'}, 'uplink_table': [], 'upload_speed_bytes_per_second': 83, 'uptime': 61505, 'vap_table': [], 'version': '2.3.12.6542', 'wlan_overrides': []}], 'meta': {'message': 'unifi-device:sync', 'product_line': 'NETWORK', 'rc': 'ok'}}
2022-01-28 10:03:56 DEBUG (MainThread) [aiounifi.websocket] {"data":[{"_id":"61c0287e6b7d321fb18bedc7","adopt_state":0,"adoptable_when_upgraded":false,"adopted":true,"bytes-r":0,"connection_network_name":"LAN","countrycode_table":[840,124,630],"default":false,"device_type":"MANAGED","disabled":false,"displayable_version":"2.3.12","download_speed_bytes_per_second":134,"ethernet_overrides":[{"ifname":"eth4","networkgroup":"WAN"},{"ifname":"eth0","networkgroup":"LAN"},{"ifname":"eth1","networkgroup":"LAN"},{"ifname":"eth2","networkgroup":"LAN"},{"ifname":"eth3","networkgroup":"LAN"}],"fw_caps":1676582447,"ip":"replace_IP","isolated":false,"last_seen":1643382236,"license_state":"registered","locating":false,"lte_connected":false,"mac":"24:5a:4c:9f:e1:75","model":"UDR","model_in_eol":false,"model_in_lts":false,"model_incompatible":false,"name":"UDR","num_sta":6,"port_table":[{"aggregated_by":false,"autoneg":true,"full_duplex":false,"ifname":"eth0","is_uplink":false,"media":"GE","name":"Port 1","op_mode":"switch","poe_caps":0,"poe_enable":false,"port_idx":1,"port_poe":false,"portconf_id":"5b213940b150b6c08a49dcad","rx_bytes":0,"rx_bytes-r":0,"rx_dropped":0,"rx_errors":0,"rx_packets":0,"satisfaction":0,"speed":10,"speed_caps":1048623,"tx_bytes":0,"tx_bytes-r":0,"tx_dropped":0,"tx_errors":0,"tx_packets":0,"up":false},{"aggregated_by":false,"autoneg":true,"full_duplex":true,"ifname":"eth1","ip":"192.168.2.254","is_uplink":false,"media":"GE","name":"Port 2","op_mode":"switch","poe_caps":0,"poe_enable":false,"port_idx":2,"port_poe":false,"portconf_id":"5b213940b150b6c08a49dcad","rx_bytes":72124251927,"rx_bytes-r":698647,"rx_dropped":1,"rx_errors":0,"rx_packets":54676588,"satisfaction":0,"speed":1000,"speed_caps":1048623,"tx_bytes":2494744300,"tx_bytes-r":28804,"tx_dropped":0,"tx_errors":0,"tx_packets":32793125,"up":true},{"aggregated_by":false,"autoneg":true,"full_duplex":false,"ifname":"eth2","is_uplink":false,"media":"GE","name":"Port 3","op_mode":"switch","poe_caps":1,"poe_enable":false,"port_idx":3,"port_poe":true,"portconf_id":"5b213940b150b6c08a49dcad","rx_bytes":0,"rx_bytes-r":0,"rx_dropped":0,"rx_errors":0,"rx_packets":0,"satisfaction":0,"speed":10,"speed_caps":1048623,"tx_bytes":0,"tx_bytes-r":0,"tx_dropped":0,"tx_errors":0,"tx_packets":0,"up":false},{"aggregated_by":false,"autoneg":true,"full_duplex":false,"ifname":"eth3","is_uplink":false,"media":"GE","name":"Port 4","op_mode":"switch","poe_caps":1,"poe_enable":false,"port_idx":4,"port_poe":true,"portconf_id":"5b213940b150b6c08a49dcad","rx_bytes":0,"rx_bytes-r":0,"rx_dropped":0,"rx_errors":0,"rx_packets":0,"satisfaction":0,"speed":10,"speed_caps":1048623,"tx_bytes":0,"tx_bytes-r":0,"tx_dropped":0,"tx_errors":0,"tx_packets":0,"up":false},{"aggregated_by":false,"autoneg":true,"full_duplex":true,"ifname":"eth4","ip":"replace_IP","is_uplink":true,"media":"GE","name":"Port 5","op_mode":"switch","poe_caps":0,"poe_enable":false,"port_idx":5,"port_poe":false,"portconf_id":"5b213940b150b6c08a49dcad","rx_bytes":16246777,"rx_bytes-r":134,"rx_dropped":0,"rx_errors":0,"rx_packets":205421,"satisfaction":0,"speed":1000,"speed_caps":1048623,"tx_bytes":5612397,"tx_bytes-r":83,"tx_dropped":0,"tx_errors":0,"tx_packets":82608,"up":true}],"product_line":"NETWORK","radio_table":[{"antenna_gain":0,"builtin_ant_gain":3,"builtin_antenna":true,"channel":1,"current_antenna_gain":0,"hard_noise_floor_enabled":false,"has_dfs":false,"has_fccdfs":false,"has_ht160":false,"has_restricted_channels":false,"ht":20,"is_11ac":false,"is_11ax":false,"loadbalance_enabled":false,"max_txpower":23,"min_rssi_enabled":false,"min_txpower":6,"name":"ra0","nss":4,"radio":"ng","radio_caps":67256324,"radio_caps2":1,"sens_level_enabled":false,"tx_power_mode":"low","vwire_enabled":true},{"antenna_gain":0,"builtin_ant_gain":4,"builtin_antenna":true,"channel":36,"current_antenna_gain":0,"hard_noise_floor_enabled":false,"has_dfs":true,"has_fccdfs":true,"has_ht160":true,"has_restricted_channels":false,"ht":80,"is_11ac":true,"is_11ax":true,"loadbalance_enabled":false,"max_txpower":26,"min_rssi_enabled":false,"min_txpower":6,"name":"rai0","nss":4,"radio":"na","radio_caps":251805700,"radio_caps2":15,"sens_level_enabled":false,"tx_power_mode":"low","vwire_enabled":false}],"radio_table_stats":[{"channel":1,"cu_self_rx":0,"cu_self_tx":0,"cu_total":10,"extchannel":0,"gain":3,"guest-num_sta":0,"name":"ra0","num_sta":0,"radio":"ng","satisfaction":-1,"state":"RUN","tx_packets":0,"tx_power":6,"tx_retries":0,"user-num_sta":0},{"channel":36,"cu_self_rx":0,"cu_self_tx":0,"cu_total":3,"extchannel":1,"gain":4,"guest-num_sta":0,"name":"rai0","num_sta":0,"radio":"na","satisfaction":-1,"state":"RUN","tx_packets":0,"tx_power":6,"tx_retries":0,"user-num_sta":0}],"restarting":false,"rx_bytes":5612397,"rx_bytes-d":0,"satisfaction":-1,"spectrum_scanning":false,"state":1,"sys_stats":{"loadavg_1":0.92,"loadavg_15":0.96,"loadavg_5":1.0,"mem_buffer":81485824,"mem_total":2030968832,"mem_used":1718325248},"system-stats":{"cpu":30.1,"mem":84.6,"uptime":61505},"tx_bytes":16246777,"tx_bytes-d":0,"type":"udm","unsupported":false,"unsupported_reason":0,"upgradable":false,"upgrade_state":0,"uplink":{"name":"eth4","port_idx":5,"speed":1000,"type":"wire"},"uplink_table":[],"upload_speed_bytes_per_second":83,"uptime":61505,"vap_table":[],"version":"2.3.12.6542","wlan_overrides":[]}],"meta":{"message":"unifi-device:sync","product_line":"NETWORK","rc":"ok"}}
2022-01-28 10:05:28 DEBUG (MainThread) [aiounifi.websocket] {"meta":{"rc":"ok","message":"events"},"data":[{"user":"60:b7:6e:2d:1e:16","ap_from":"78:45:58:4b:44:6c","ap_to":"f4:92:bf:a1:91:18","radio_from":"na","radio_to":"na","radio":"na","channel_from":"100","channel_to":"60","channel":"60","ssid":"replaced_SSID","key":"EVT_WU_Roam","subsystem":"wlan","is_negative":false,"site_id":"5b21393fb150b6c08a49dca0","time":1643382290067,"datetime":"2022-01-28T15:04:50Z","msg":"User[60:b7:6e:2d:1e:16] roams from AP[78:45:58:4b:44:6c] to AP[f4:92:bf:a1:91:18] from \"channel 100(na)\" to \"channel 60(na)\" on \"replaced_SSID\"","_id":"61f406345f820913b59396a0"}]}
agrant-dxc commented 2 years ago

is it roaming triggering the device_tracker to faulter?

Confirmed.

Reloaded HA core. My pixel_4a is "home". Walk to other room and roam to that rooms AP. Wait for Unifi scan interval (default 300 sec). My pixel_4a is "away". The only way to get it back is to reload HA because the Unifi integration no longer reloads w/o a restart.

Kane610 commented 2 years ago

Good catch.

The device tracker primarily looks at "sta:sync" messages from web socket and in particular the last_seen timestamp in order to see if the client is still active on the network. Can you share those messages before and after roaming? What happens if client roams back to the other access point?

Previously it was more dependent on using the web socket events but there where many issues reported that they wasn't trustworthy, also with regard to roaming...

agrant-dxc commented 2 years ago

Can you share those messages before and after roaming? What happens if client roams back to the other access point?

Sure thing. Is it ok to reduce the "time until device considered away" from 300 down to 90 for testing?

I will include everything from grep -iF unifi home-assistant.log > unifi_log.txt w/ some regex find/replace for IP's/name/etc

Kane610 commented 2 years ago

Sure

Kane610 commented 2 years ago

Reload works for me

agrant-dxc commented 2 years ago

I performed the following w/ attached log:

  1. reloaded HA core ~11:45AM
  2. moved pixel_4a to another room so it roams ~11:49AM
    • confirmed roaming successful in Unifi app ~11:51
    • confirmed that device_tracker.pixel_4a now "away" in HA
    • moved pixel_4a back to original room ~11:53
    • confirmed roaming successful back to original AP in Unifi app ~11:55
    • device_tracker.pixel_4a still "away" in HA when back on original AP
  3. tested 2nd device - FireHD8 - shows as "home" ok in HA
    • in the Unifi App I clicked "reconnect" ~11:57
    • reconnected successfully to same AP (per Unifi app) as it has not physically moved
    • shows as "away" in HA ~11:59

So it looks like it isn't just roaming - sta's in general. unifi 2022.2.0b1-sta.txt

Kane610 commented 2 years ago

[edit] - thinking about this further. Enabling an entity reloads the integration?

IIRC yes

Kane610 commented 2 years ago

I performed the following w/ attached log:

  1. reloaded HA core ~11:45AM
  2. moved pixel_4a to another room so it roams ~11:49AM

    • confirmed roaming successful in Unifi app ~11:51
    • confirmed that device_tracker.pixel_4a now "away" in HA
    • moved pixel_4a back to original room ~11:53
    • confirmed roaming successful back to original AP in Unifi app ~11:55
    • device_tracker.pixel_4a still "away" in HA when back on original AP
  3. tested 2nd device - FireHD8 - shows as "home" ok in HA

    • in the Unifi App I clicked "reconnect" ~11:57
    • reconnected successfully to same AP (per Unifi app) as it has not physically moved
    • shows as "away" in HA ~11:59

So it looks like it isn't just roaming - sta's in general. unifi 2022.2.0b1-sta.txt

Yes, it seems your log doesn't have a single "sta:sync" message

agrant-dxc commented 2 years ago

it seems your log doesn't have a single "sta:sync" message

Are they supposed to?

Only see roam events in Unifi syslog output for pixel_4a mac. Will check FireHD8..

1/28/2022 12:03 PM,Info,192.168.2.4,f492bfa19118,U6-Lite-6.0.10+13599: stahtd: stahtd[2965]: [STA-TRACKER].stahtd_dump_event(): {""auth_ts"":""0.0"",""event_id"":""1"",""message_type"":""STA_ASSOC_TRACKER"",""mac"":""60:b7:6e:2d:1e:16"",""vap"":""rai0"",""assoc_status"":""0"",""event_type"":""fixup"",""dns_resp_seen"":""yes""}
1/28/2022 12:03 PM,Info,192.168.2.4,f492bfa19118,U6-Lite-6.0.10+13599: stahtd: stahtd[2965]: [STA-TRACKER].stahtd_dump_event(): {""auth_ts"":""0.0"",""event_id"":""1"",""message_type"":""STA_ASSOC_TRACKER"",""mac"":""60:b7:6e:2d:1e:16"",""vap"":""rai0"",""assoc_status"":""0"",""event_type"":""fixup"",""dns_resp_seen"":""yes""}
1/28/2022 12:01 PM,Info,192.168.2.4,f492bfa19118,U6-Lite-6.0.10+13599: stahtd: stahtd[2965]: [STA-TRACKER].stahtd_dump_event(): {""auth_ts"":""0.0"",""event_id"":""1"",""message_type"":""STA_ASSOC_TRACKER"",""mac"":""60:b7:6e:2d:1e:16"",""vap"":""rai0"",""assoc_status"":""0"",""event_type"":""fixup"",""dns_resp_seen"":""yes""}
1/28/2022 11:59 AM,Info,192.168.2.4,f492bfa19118,U6-Lite-6.0.10+13599: stahtd: stahtd[2965]: [STA-TRACKER].stahtd_dump_event(): {""auth_ts"":""0.0"",""event_id"":""1"",""message_type"":""STA_ASSOC_TRACKER"",""mac"":""60:b7:6e:2d:1e:16"",""vap"":""rai0"",""assoc_status"":""0"",""event_type"":""fixup"",""dns_resp_seen"":""yes""}
1/28/2022 11:57 AM,Info,192.168.2.4,f492bfa19118,U6-Lite-6.0.10+13599: stahtd: stahtd[2965]: [STA-TRACKER].stahtd_dump_event(): {""auth_ts"":""0.0"",""event_id"":""1"",""message_type"":""STA_ASSOC_TRACKER"",""mac"":""60:b7:6e:2d:1e:16"",""vap"":""rai0"",""assoc_status"":""0"",""event_type"":""fixup"",""dns_resp_seen"":""yes""}
1/28/2022 11:56 AM,Info,192.168.2.4,f492bfa19118,U6-Lite-6.0.10+13599: stahtd: stahtd[2965]: [STA-TRACKER].stahtd_dump_event(): {""auth_ts"":""0.0"",""event_id"":""1"",""message_type"":""STA_ASSOC_TRACKER"",""mac"":""60:b7:6e:2d:1e:16"",""vap"":""rai0"",""assoc_status"":""0"",""event_type"":""fixup"",""dns_resp_seen"":""yes""}
1/28/2022 11:55 AM,Info,192.168.2.4,f492bfa19118,U6-Lite-6.0.10+13599: stahtd: stahtd[2965]: [STA-TRACKER].stahtd_dump_event(): {""auth_ts"":""0.0"",""event_id"":""1"",""message_type"":""STA_ASSOC_TRACKER"",""mac"":""60:b7:6e:2d:1e:16"",""vap"":""rai0"",""assoc_status"":""0"",""event_type"":""fixup"",""dns_resp_seen"":""yes""}
1/28/2022 11:55 AM,Info,192.168.2.4,f492bfa19118,U6-Lite-6.0.10+13599: stahtd: stahtd[2965]: [STA-TRACKER].stahtd_dump_event(): {""auth_ts"":""0.0"",""event_id"":""1"",""message_type"":""STA_ASSOC_TRACKER"",""mac"":""60:b7:6e:2d:1e:16"",""vap"":""rai0"",""assoc_status"":""0"",""event_type"":""fixup"",""dns_resp_seen"":""yes""}
1/28/2022 11:55 AM,Info,192.168.2.4,f492bfa19118,U6-Lite-6.0.10+13599: stahtd: stahtd[2965]: [STA-TRACKER].stahtd_dump_event(): {""auth_ts"":""0.0"",""event_id"":""1"",""message_type"":""STA_ASSOC_TRACKER"",""mac"":""60:b7:6e:2d:1e:16"",""vap"":""rai0"",""assoc_status"":""0"",""event_type"":""fixup"",""dns_resp_seen"":""yes""}
1/28/2022 11:55 AM,Info,192.168.2.4,f492bfa19118,U6-Lite-6.0.10+13599: stahtd: stahtd[2965]: [STA-TRACKER].stahtd_dump_event(): {""auth_ts"":""478674.992948"",""message_type"":""STA_ASSOC_TRACKER"",""mac"":""60:b7:6e:2d:1e:16"",""auth_delta"":""0"",""vap"":""rai0"",""event_type"":""soft failure"",""assoc_status"":""0"",""ip_assign_type"":""roamed"",""wpa_auth_delta"":""10000"",""assoc_delta"":""-1632070144"",""event_id"":""1"",""dns_resp_seen"":""yes""}
1/28/2022 11:55 AM,Info,192.168.2.5,7845584b446c,U6-Lite-6.0.10+13599: stahtd: stahtd[2965]: [STA-TRACKER].stahtd_dump_event(): {""event_type"":""fixup"",""message_type"":""STA_ASSOC_TRACKER"",""mac"":""60:b7:6e:2d:1e:16"",""vap"":""rai0"",""assoc_status"":""0"",""event_id"":""1"",""auth_ts"":""0.0"",""sta_dc_reason"":""roam""}
1/28/2022 11:55 AM,Info,192.168.2.5,7845584b446c,U6-Lite-6.0.10+13599: stahtd: stahtd[2965]: [STA-TRACKER].stahtd_dump_event(): {""event_type"":""sta_roam"",""message_type"":""STA_ASSOC_TRACKER"",""mac"":""60:b7:6e:2d:1e:16"",""vap"":""rai0"",""assoc_status"":""0"",""event_id"":""1""}
1/28/2022 11:55 AM,Info,192.168.2.5,7845584b446c,U6-Lite-6.0.10+13599: stahtd: stahtd[2965]: [STA-TRACKER].stahtd_dump_event(): {""event_type"":""fixup"",""message_type"":""STA_ASSOC_TRACKER"",""mac"":""60:b7:6e:2d:1e:16"",""vap"":""rai0"",""dns_resp_seen"":""yes"",""assoc_status"":""0"",""event_id"":""1"",""auth_ts"":""0.0""}
1/28/2022 11:55 AM,Info,192.168.2.5,7845584b446c,U6-Lite-6.0.10+13599: stahtd: stahtd[2965]: [STA-TRACKER].stahtd_dump_event(): {""event_type"":""fixup"",""message_type"":""STA_ASSOC_TRACKER"",""mac"":""60:b7:6e:2d:1e:16"",""vap"":""rai0"",""dns_resp_seen"":""yes"",""assoc_status"":""0"",""event_id"":""1"",""auth_ts"":""0.0""}
1/28/2022 11:54 AM,Info,192.168.2.5,7845584b446c,U6-Lite-6.0.10+13599: stahtd: stahtd[2965]: [STA-TRACKER].stahtd_dump_event(): {""event_type"":""fixup"",""message_type"":""STA_ASSOC_TRACKER"",""mac"":""60:b7:6e:2d:1e:16"",""vap"":""rai0"",""dns_resp_seen"":""yes"",""assoc_status"":""0"",""event_id"":""1"",""auth_ts"":""0.0""}
1/28/2022 11:54 AM,Info,192.168.2.5,7845584b446c,U6-Lite-6.0.10+13599: stahtd: stahtd[2965]: [STA-TRACKER].stahtd_dump_event(): {""event_type"":""fixup"",""message_type"":""STA_ASSOC_TRACKER"",""mac"":""60:b7:6e:2d:1e:16"",""vap"":""rai0"",""dns_resp_seen"":""yes"",""assoc_status"":""0"",""event_id"":""1"",""auth_ts"":""0.0""}
1/28/2022 11:54 AM,Info,192.168.2.5,7845584b446c,U6-Lite-6.0.10+13599: stahtd: stahtd[2965]: [STA-TRACKER].stahtd_dump_event(): {""event_type"":""fixup"",""message_type"":""STA_ASSOC_TRACKER"",""mac"":""60:b7:6e:2d:1e:16"",""vap"":""rai0"",""dns_resp_seen"":""yes"",""assoc_status"":""0"",""event_id"":""1"",""auth_ts"":""0.0""}
1/28/2022 11:53 AM,Info,192.168.2.5,7845584b446c,U6-Lite-6.0.10+13599: stahtd: stahtd[2965]: [STA-TRACKER].stahtd_dump_event(): {""event_type"":""fixup"",""message_type"":""STA_ASSOC_TRACKER"",""mac"":""60:b7:6e:2d:1e:16"",""vap"":""rai0"",""dns_resp_seen"":""yes"",""assoc_status"":""0"",""event_id"":""1"",""auth_ts"":""0.0""}
1/28/2022 11:53 AM,Info,192.168.2.5,7845584b446c,U6-Lite-6.0.10+13599: stahtd: stahtd[2965]: [STA-TRACKER].stahtd_dump_event(): {""event_type"":""fixup"",""message_type"":""STA_ASSOC_TRACKER"",""mac"":""60:b7:6e:2d:1e:16"",""vap"":""rai0"",""dns_resp_seen"":""yes"",""assoc_status"":""0"",""event_id"":""1"",""auth_ts"":""0.0""}
1/28/2022 11:53 AM,Info,192.168.2.5,7845584b446c,U6-Lite-6.0.10+13599: stahtd: stahtd[2965]: [STA-TRACKER].stahtd_dump_event(): {""event_type"":""fixup"",""message_type"":""STA_ASSOC_TRACKER"",""mac"":""60:b7:6e:2d:1e:16"",""vap"":""rai0"",""dns_resp_seen"":""yes"",""assoc_status"":""0"",""event_id"":""1"",""auth_ts"":""0.0""}
1/28/2022 11:52 AM,Info,192.168.2.5,7845584b446c,U6-Lite-6.0.10+13599: stahtd: stahtd[2965]: [STA-TRACKER].stahtd_dump_event(): {""event_type"":""fixup"",""message_type"":""STA_ASSOC_TRACKER"",""mac"":""60:b7:6e:2d:1e:16"",""vap"":""rai0"",""dns_resp_seen"":""yes"",""assoc_status"":""0"",""event_id"":""1"",""auth_ts"":""0.0""}
1/28/2022 11:52 AM,Info,192.168.2.5,7845584b446c,U6-Lite-6.0.10+13599: stahtd: stahtd[2965]: [STA-TRACKER].stahtd_dump_event(): {""event_type"":""fixup"",""message_type"":""STA_ASSOC_TRACKER"",""mac"":""60:b7:6e:2d:1e:16"",""vap"":""rai0"",""dns_resp_seen"":""yes"",""assoc_status"":""0"",""event_id"":""1"",""auth_ts"":""0.0""}
1/28/2022 11:51 AM,Info,192.168.2.5,7845584b446c,U6-Lite-6.0.10+13599: stahtd: stahtd[2965]: [STA-TRACKER].stahtd_dump_event(): {""event_type"":""fixup"",""message_type"":""STA_ASSOC_TRACKER"",""mac"":""60:b7:6e:2d:1e:16"",""vap"":""rai0"",""dns_resp_seen"":""yes"",""assoc_status"":""0"",""event_id"":""1"",""auth_ts"":""0.0""}
1/28/2022 11:50 AM,Info,192.168.2.5,7845584b446c,U6-Lite-6.0.10+13599: stahtd: stahtd[2965]: [STA-TRACKER].stahtd_dump_event(): {""event_type"":""fixup"",""message_type"":""STA_ASSOC_TRACKER"",""mac"":""60:b7:6e:2d:1e:16"",""vap"":""rai0"",""dns_resp_seen"":""yes"",""assoc_status"":""0"",""event_id"":""1"",""auth_ts"":""0.0""}
1/28/2022 11:50 AM,Info,192.168.2.5,7845584b446c,U6-Lite-6.0.10+13599: stahtd: stahtd[2965]: [STA-TRACKER].stahtd_dump_event(): {""event_type"":""fixup"",""message_type"":""STA_ASSOC_TRACKER"",""mac"":""60:b7:6e:2d:1e:16"",""vap"":""rai0"",""dns_resp_seen"":""yes"",""assoc_status"":""0"",""event_id"":""1"",""auth_ts"":""0.0""}
1/28/2022 11:49 AM,Info,192.168.2.5,7845584b446c,U6-Lite-6.0.10+13599: stahtd: stahtd[2965]: [STA-TRACKER].stahtd_dump_event(): {""ip_assign_type"":""roamed"",""message_type"":""STA_ASSOC_TRACKER"",""event_type"":""soft failure"",""assoc_delta"":""-1063270144"",""mac"":""60:b7:6e:2d:1e:16"",""auth_delta"":""0"",""vap"":""rai0"",""assoc_status"":""0"",""event_id"":""1"",""wpa_auth_delta"":""10000"",""auth_ts"":""478107.358659""}
1/28/2022 11:49 AM,Info,192.168.2.4,f492bfa19118,U6-Lite-6.0.10+13599: stahtd: stahtd[2965]: [STA-TRACKER].stahtd_dump_event(): {""auth_ts"":""0.0"",""event_id"":""1"",""message_type"":""STA_ASSOC_TRACKER"",""mac"":""60:b7:6e:2d:1e:16"",""vap"":""rai0"",""assoc_status"":""0"",""event_type"":""fixup"",""sta_dc_reason"":""roam""}
1/28/2022 11:49 AM,Info,192.168.2.4,f492bfa19118,U6-Lite-6.0.10+13599: stahtd: stahtd[2965]: [STA-TRACKER].stahtd_dump_event(): {""event_id"":""1"",""message_type"":""STA_ASSOC_TRACKER"",""mac"":""60:b7:6e:2d:1e:16"",""vap"":""rai0"",""assoc_status"":""0"",""event_type"":""sta_roam""}
1/28/2022 11:49 AM,Info,192.168.2.4,f492bfa19118,U6-Lite-6.0.10+13599: stahtd: stahtd[2965]: [STA-TRACKER].stahtd_dump_event(): {""auth_ts"":""0.0"",""event_id"":""1"",""message_type"":""STA_ASSOC_TRACKER"",""mac"":""60:b7:6e:2d:1e:16"",""vap"":""rai0"",""assoc_status"":""0"",""event_type"":""fixup"",""dns_resp_seen"":""yes""}
1/28/2022 11:46 AM,Info,192.168.2.4,f492bfa19118,U6-Lite-6.0.10+13599: stahtd: stahtd[2965]: [STA-TRACKER].stahtd_dump_event(): {""auth_ts"":""0.0"",""event_id"":""1"",""message_type"":""STA_ASSOC_TRACKER"",""mac"":""60:b7:6e:2d:1e:16"",""vap"":""rai0"",""assoc_status"":""0"",""event_type"":""fixup"",""dns_resp_seen"":""yes""}
1/28/2022 11:45 AM,Info,192.168.2.4,f492bfa19118,U6-Lite-6.0.10+13599: stahtd: stahtd[2965]: [STA-TRACKER].stahtd_dump_event(): {""auth_ts"":""0.0"",""event_id"":""1"",""message_type"":""STA_ASSOC_TRACKER"",""mac"":""60:b7:6e:2d:1e:16"",""vap"":""rai0"",""assoc_status"":""0"",""event_type"":""fixup"",""dns_resp_seen"":""yes""}
agrant-dxc commented 2 years ago

FireHD8 had sta-leave but no sync's.

Foregoing all filters on the syslog in that time period; zero hits on a "sync" search.

Kane610 commented 2 years ago

I added this to configuration.yaml

logger:
  default: info
  logs:
    aiounifi: debug
    homeassistant.components.unifi: debug

And I get lots of debug data

2022-01-28 21:59:23 DEBUG (MainThread) [aiounifi.websocket] {"meta":{"rc":"ok","message":"sta:sync"},"data":[{"site_id":"5f3edd27ba4cc816a19f2d9c","assoc_time":1642171679,"latest_assoc_time":1642274388,"oui":"Apple","user_id":"5f411331c75312038d9b1e14","_id":"5f411331c75312038d9b1e14","mac":"......

agrant-dxc commented 2 years ago

I added this to configuration.yaml

logger:
  default: info
  logs:
    aiounifi: debug
    homeassistant.components.unifi: debug

And I get lots of debug data

I followed the docs so added;

  logs:
    aiounifi: debug
    homeassistant.components.unifi: debug
    homeassistant.components.device_tracker.unifi: debug
    homeassistant.components.switch.unifi: debug

Is the sta:sync a new or old requirement?

I've been running UNA v7.0.x since mid/late Dec '21 and its worked great. Began misbehaving after Jan 25 Unifi integration dev.

Kane610 commented 2 years ago

Users reported events not working properly so I changed to something based on an old strategy for presence detection

The New entry point gateway? Ubiquiti likes to mix things around so could be something like that

agrant-dxc commented 2 years ago

I'll go back and review syslog from earlier dates if I can. Don't remember how long my retention is. See if I can find some sta:sync messages.

agrant-dxc commented 2 years ago

Reviewing my file downloads. The last Unifi Controller v6 I used was v6.5.55 on Dec 15 '21. Reviewing those syslogs I see no sta:sync messages from the AP's but realize they are only AP logs. So if that message comes from the controller itself, sadly I don't have it.

Being that I am running Unifi Controller v7 in early access. Please let me know how to proceed.

Can I run a custom Unifi integration w/o that changes you made? I have done so w/ the Sonos integration for bugfix testing. The dev was kind enough to provide a version to test.

If it is possible to revert that one change and provide a git link to clone (edit manifest version) please let me know.

Kane610 commented 2 years ago

The data is from the controller.

Perhaps this means there is a storm coming with unifi v7 controller (I hope not). You can always try to downgrade to v6 and see if that works.

crlogic commented 2 years ago

Perhaps this means there is a storm coming with unifi v7 controller (I hope not).

Kinda what I was wondering as well.

You can always try to downgrade to v6 and see if that works.

Gotta factory the UDR in order to do that :(

agrant-dxc commented 2 years ago

I don't know git very well. Do I need to fork the entire core in order to revert #64147 to run a custom version or is that something you guys can help w/ ?

I went back to dev on Jan 24 and roaming works ok for me. Would like to finally get on 2022.2 when it GA's.

Kane610 commented 2 years ago

I guess you need to copy everything to a custom component, don't really know much about that.

Kane610 commented 2 years ago

Gotta factory the UDR in order to do that :(

I can't support an in-development software. UniFi is sketchy enough as it is.

agrant-dxc commented 2 years ago

Yeah the copy everything part is the slow part.

Hence me wondering if you developed off a forked repo where you could create a branch, revert the suspected commit and I could just clone that branch.

Did that while testing some Sonos component fixes a while back. And it was far quicker than me cloning all of core (because I don't know a better way).

Kane610 commented 2 years ago

That's not how it works, developing in home-assistant core gives you a snapshot of everything, so if you where to revert the commit you'd still be on dev prior to the change getting merged

Kane610 commented 2 years ago

So if this issue is only regarding UniFi controller 7 I can close this issue.

agrant-dxc commented 2 years ago

That's not how it works, developing in home-assistant core gives you a snapshot of everything, so if you where to revert the commit you'd still be on dev prior to the change getting merged

Yes. Then you take that unifi folder, copy it to custom_components and add a version to manifest. Then upgrade core, but that upgraded version of core will use the custom version of the component. So it wouldn't use unifi including in 2022.2.0b2 but the one copied into the custom_components folder from Jan24'ish.

It gives you a little icon on the integration to know that you aren't using the stock version of the integration.

agrant-dxc commented 2 years ago

So if this issue is only regarding UniFi controller 7 I can close this issue.

Yes, the version that's right around the corner and if this thread is anything to go by, will break everyone's Unifi component :(

Kane610 commented 2 years ago

That's how it works with reverse engineered apis, they break

agrant-dxc commented 2 years ago

That's how it works with reverse engineered apis, they break

I completely understand. I don't have the skills to do it. And appreciate your work. You have the heads up of a breaking change. I've tried to contribute with all I know.

agrant-dxc commented 2 years ago

Leaving this here for anyone on Unifi Network v7 w/ the same sta/roaming issue. The following has allowed me to update to 2022.2.0 (beta at writing) using the version of the Unifi component prior to commit a15bdbb which causes the regression observed. My roaming now works again.

You will need to;

  1. fork HA core
  2. pull the latest
  3. change to dev branch
  4. git revert a15bdbb
  5. copy the .\homeassistant\components\unifi\ folder to your HA installation into .\config\custom_components
  6. edit .\config\custom_components\unifi\manifest.json
  7. add a version (eg "version": "2022.2.0dev24",)
  8. reload HA core

You will know that this has been successful with the little icon in the upper right corner of the integration. image

This is an unsupported workaround with a high level of effort likely to interfere with future updates. Hopefully there isn't a disaster when UI releases Unifi Network v7 and the devs go mad. Don't know what we would do without them. This is a really useful integration.

mkmer commented 2 years ago

Yikes... V7 is forcing us back to events.... Sure hope they fixed the event generator. @Andy-BG - Is your configuration using multiple AP's with roaming? Do your devices roam and sometimes show as away when they are actually "home"? With V6, we have seen the controller declare a device disconnected when it is actually connected, and it typically can be found in the unifi event log showing device disconnects, then some time later a roam will appear (without a connect event).

agrant-dxc commented 2 years ago

Is your configuration using multiple AP's with roaming? Do your devices roam and sometimes show as away when they are actually "home"?

Yes, two AP's; roaming between them. With v7 & the a15bdbb commit my phone goes from "home" to "away" on every roam and only a reload of the integration brings it back.

With V6, we have seen the controller declare a device disconnected when it is actually connected, and it typically can be found in the unifi event log showing device disconnects, then some time later a roam will appear (without a connect event).

Yes I have seen this as well on v6. Albeit only on occasion and a reload of the Unifi integration typically solved this for me. Which is the second problem I have encountered - I cannot reload the Unifi integration and it requires a reload of HA core.

mkmer commented 2 years ago

Have you seen it on V7 with the a15bdbb version (aka going back to event based code)?