Files
gandalf/log.txt
2025-02-08 00:32:25 -05:00

23 lines
30 KiB
Plaintext

Feb 08 00:21:30 gandalf python3[5066]: DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): 10.10.10.1:443
Feb 08 00:21:30 gandalf python3[5066]: DEBUG:urllib3.connectionpool:https://10.10.10.1:443 "GET /proxy/network/v2/api/site/default/device HTTP/1.1" 200 None
Feb 08 00:21:30 gandalf python3[5066]: DEBUG:app:Response status: 200
Feb 08 00:21:30 gandalf python3[5066]: DEBUG:app:Response headers: {'Server': 'nginx', 'Date': 'Sat, 08 Feb 2025 05:21:30 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Accept-Encoding', 'Access-Control-Allow-Credentials': 'false', 'Access-Control-Expose-Headers': 'Content-Disposition, Content-Range, Filename, Location, Range, Upload-Length, Upload-Offset, X-Connection-Type, X-Csrf-Token, X-File-Id, X-Token-Expire-Time, X-Updated-Csrf-Token', 'Referrer-Policy': 'no-referrer', 'Strict-Transport-Security': 'max-age=15552000; includeSubDomains', 'X-Content-Type-Options': 'nosniff', 'X-DNS-Prefetch-Control': 'off', 'X-Frame-Options': 'SAMEORIGIN', 'X-XSS-Protection': '1; mode=block', 'Content-Encoding': 'gzip'}
Feb 08 00:21:30 gandalf python3[5066]: DEBUG:app:Raw response text: {"access_devices":[],"apollo_devices":[],"connect_devices":[],"drive_devices":[],"led_devices":[],"network_devices":[{"_id":"648b6a79e0dce15429a77871","adopt_state":0,"adoptable_when_upgraded":false,"adopted":true,"bytes-r":0,"connection_network_id":"629fd656424c5b052fa1c715","connection_network_name":"Main Network","countrycode_table":[],"default":false,"device_type":"MANAGED","disabled":false,"displayable_version":"2.2.6","download_speed_bytes_per_second":0,"ethernet_overrides":[],"fw_caps":0,"ip":"10.10.10.243","ipv4_lease_expiration_timestamp_seconds":1739077857,"is_access_point":false,"is_adoption_queued":false,"isolated":false,"last_connection_network_id":"629fd656424c5b052fa1c715","last_connection_network_name":"Main Network","last_seen":1738992084,"last_uplink":{"type":"wireless","uplink_device_name":"AP","uplink_mac":"d0:21:f9:42:65:54"},"license_state":"registered","locating":false,"lte_connected":false,"mac":"d0:21:f9:ca:ee:04","model":"UP6","model_in_eol":false,"rx_bytes":345105455253,"rx_bytes-r":237214,"rx_dropped":14721,"rx_errors":2225,"rx_packets":569019959,"satisfaction":87,"speed":10000,"speed_caps":1048928,"tx_bytes":455748957059,"tx_bytes-r":887106,"tx_dropped":0,"tx_errors":0,"tx_packets":566148932,"up":true}],"product_line":"NETWORK","radio_table":[],"radio_table_stats":[],"restarting":false,"rx_bytes":0,"rx_bytes-d":0,"satisfaction":94,"spectrum_scanning":false,"state":1,"sys_stats":{"loadavg_1":3.25,"loadavg_15":3.04,"loadavg_5":3.08,"mem_buffer":0,"mem_total":511627264,"mem_used":169635840},"system-stats":{"cpu":59.5,"mem":32.9,"uptime":446311},"tags":["connection_type_wired_device"],"tx_bytes":0,"tx_bytes-d":0,"type":"usw","unsupported":false,"unsupported_reason":0,"upgradable":false,"upgrade_state":0,"uplink":{"mac":"78:45:58:b1:bd:3a","name":"eth0","port_idx":26,"speed":10000,"type":"wire","uplink_device_name":"8SFP-AGG","uplink_mac":"78:45:58:6d:11:6a","uplink_remote_port":5},"uplink_table":[],"upload_speed_bytes_per_second":0,"uptime":446312,"usage_bytes":0.0,"vap_table":[],"version":"7.1.26.15869"}],"protect_devices":[{"_id":"f4:e2:c6:0c:c6:cd","connection_network_id":"629fd656424c5b052fa1c715","connection_network_name":"Main Network","default":false,"device_type":"CLIENT","displayable_version":"4.74.88","firmware_status":"UP_TO_DATE","icon_filename":"4080886f-4d9e-4071-8552-a893097999e2","icon_resolutions":[[25,25],[51,51],[101,101],[129,129],[257,257]],"icons":[{"height":25,"url":"https://static.ui.com/fingerprint/ui/icons/4080886f-4d9e-4071-8552-a893097999e2_25x25.png","width":25},{"height":51,"url":"https://static.ui.com/fingerprint/ui/icons/4080886f-4d9e-4071-8552-a893097999e2_51x51.png","width":51},{"height":101,"url":"https://static.ui.com/fingerprint/ui/icons/4080886f-4d9e-4071-8552-a893097999e2_101x101.png","width":101},{"height":129,"url":"https://static.ui.com/fingerprint/ui/icons/4080886f-4d9e-4071-8552-a893097999e2_129x129.png","width":129},{"height":257,"url":"https://static.ui.com/fingerprint/ui/icons/4080886f-4d9e-4071-8552-a893097999e2_257x257.png","width":257}],"ip":"10.10.10.218","ipv4_lease_expiration_timestamp_seconds":1739045601,"is_wired":true,"last_seen":1738992090,"mac":"f4:e2:c6:0c:c6:cd","model":"G4 Doorbell Pro PoE","name":"Doorbell","product_line":"PROTECT","state":1,"tags":["connected_unifi_client"],"uplink_mac":"d8:b3:70:93:cc:98","uptime":445164,"usage_bytes":0.0,"version":"UVC.S5L.v4.74.88.67.806d895.250124.1648","view_in_application":false,"wired_speed_megabits_per_second":1000},{"_id":"d0:21:f9:91:e0:e5","connection_network_id":"629fd656424c5b052fa1c715","connection_network_name":"Main Network","default":false,"device_type":"CLIENT","displayable_version":"4.74.88","essid":"UniFi Wireless","firmware_status":"UP_TO_DATE","icon_filename":"50c18cf8-6de0-4961-8a0e-95d65a6d31fe","icon_resolutions":[[25,25],[51,51],[101,101],[129,129],[257,257]],"icons":[{"height":25,"url":"https://static.ui.com/fingerprint/ui/icons/50c18cf8-6de0-4961-8a0e-95d65a6d31fe_25x25.png","width":25},{"height":51,"url":"https://static.ui.com/fingerprint/ui/icons/50c18cf8-6de0-4961-8a0e-95d65a6d31fe_51x51.png","width":51},{"height":101,"url":"https://static.ui.com/fingerprint/ui/icons/50c18cf8-6de0-4961-8a0e-95d65a6d31fe_101x101.png","width":101},{"height":129,"url":"https://static.ui.com/fingerprint/ui/icons/50c18cf8-6de0-4961-8a0e-95d65a6d31fe_129x129.png","width":129},{"height":257,"url":"https://static.ui.com/fingerprint/ui/icons/50c18cf8-6de0-4961-8a0e-95d65a6d31fe_257x257.png","width":257}],"ip":"10.10.10.112","ipv4_lease_expiration_timestamp_seconds":1739056500,"is_wired":false,"last_seen":1738992060,"mac":"d0:21:f9:91:e0:e5","model":"G3 Instant","name":"Back Yard","product_line":"PROTECT","rate_imbalance":0,"satisfaction":100,"state":1,"tags":["connected_unifi_client"],"uplink_mac":"d0:21:f9:42:65:54","uplink_radio_band":"na","uptime":335757,"usage_bytes":0.0,"version":"UVC.SAV532q.v4.74.88.67.806d895.250124.1648","view_in_application":false},{"_id":"d0:21:f9:91:12:0d","connection_network_id":"629fd656424c5b052fa1c715","connection_network_name":"Main Network","default":false,"device_type":"CLIENT","displayable_version":"4.74.88","essid":"UniFi Wireless","firmware_status":"UP_TO_DATE","icon_filename":"50c18cf8-6de0-4961-8a0e-95d65a6d31fe","icon_resolutions":[[25,25],[51,51],[101,101],[129,129],[257,257]],"icons":[{"height":25,"url":"https://static.ui.com/fingerprint/ui/icons/50c18cf8-6de0-4961-8a0e-95d65a6d31fe_25x25.png","width":25},{"height":51,"url":"https://static.ui.com/fingerprint/ui/icons/50c18cf8-6de0-4961-8a0e-95d65a6d31fe_51x51.png","width":51},{"height":101,"url":"https://static.ui.com/fingerprint/ui/icons/50c18cf8-6de0-4961-8a0e-95d65a6d31fe_101x101.png","width":101},{"height":129,"url":"https://static.ui.com/fingerprint/ui/icons/50c18cf8-6de0-4961-8a0e-95d65a6d31fe_129x129.png","width":129},{"height":257,"url":"https://static.ui.com/fingerprint/ui/icons/50c18cf8-6de0-4961-8a0e-95d65a6d31fe_257x257.png","width":257}],"ip":"10.10.10.155","ipv4_lease_expiration_timestamp_seconds":1739056500,"is_wired":false,"last_seen":1738992060,"mac":"d0:21:f9:91:12:0d","model":"G3 Instant","name":"Server Room","product_line":"PROTECT","rate_imbalance":0,"satisfaction":100,"state":1,"tags":["connected_unifi_client"],"uplink_mac":"d0:21:f9:42:65:54","uplink_radio_band":"na","uptime":335757,"usage_bytes":0.0,"version":"UVC.SAV532q.v4.74.88.67.806d895.250124.1648","view_in_application":false}],"talk_devices":[],"unmanaged_devices":[]}
Feb 08 00:21:30 gandalf python3[5066]: DEBUG:app:Parsed JSON: {'access_devices': [], 'apollo_devices': [], 'connect_devices': [], 'drive_devices': [], 'led_devices': [], 'network_devices': [{'_id': '648b6a79e0dce15429a77871', 'adopt_state': 0, 'adoptable_when_upgraded': False, 'adopted': True, 'bytes-r': 0, 'connection_network_id': '629fd656424c5b052fa1c715', 'connection_network_name': 'Main Network', 'countrycode_table': [], 'default': False, 'device_type': 'MANAGED', 'disabled': False, 'displayable_version': '2.2.6', 'download_speed_bytes_per_second': 0, 'ethernet_overrides': [], 'fw_caps': 0, 'ip': '10.10.10.243', 'ipv4_lease_expiration_timestamp_seconds': 1739077857, 'is_access_point': False, 'is_adoption_queued': False, 'isolated': False, 'last_connection_network_id': '629fd656424c5b052fa1c715', 'last_connection_network_name': 'Main Network', 'last_seen': 1738992084, 'last_uplink': {'type': 'wireless', 'uplink_device_name': 'AP', 'uplink_mac': 'd0:21:f9:42:65:54'}, 'license_state': 'registered', 'locating': False, 'lte_connected': False, 'mac': 'd0:21:f9:ca:ee:04', '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': 100, 'spectrum_scanning': False, 'state': 1, 'support_wifi6e': False, 'sys_stats': {'loadavg_1': 0.0, 'loadavg_15': 0.0, 'loadavg_5': 0.0, 'mem_buffer': 0, 'mem_total': 98304, 'mem_used': 84152}, 'system-stats': {'cpu': 0.0, 'mem': 0.0, 'uptime': 0}, 'tags': ['connection_type_wireless_device'], 'tx_bytes': 0, 'tx_bytes-d': 0, 'type': 'uap', 'unsupported': False, 'unsupported_reason': 0, 'upgradable': False, 'upgrade_state': 0, 'uplink': {'ap_mac': 'd0:21:f9:42:65:54', 'essid': 'element-e4935af3c573761f', 'radio_band': 'ng', 'type': 'wireless', 'uplink_device_name': 'AP', 'uplink_mac': 'd0:21:f9:42:65:54'}, 'uplink_table': [], 'upload_speed_bytes_per_second': 0, 'uptime': 151024, 'usage_bytes': 0.0, 'vap_table': [], 'version': '2.2.6.532'}, {'_id': '63780dc5eec8d7076eee4cd6', 'adopt_state': 0, 'adoptable_when_upgraded': False, 'adopted': True, 'bytes-r': 0, 'connection_network_id': '629fd656424c5b052fa1c715', 'connection_network_name': 'Main Network', 'countrycode_table': [], 'default': False, 'device_type': 'MANAGED', 'disabled': False, 'discovered_via': 'l2', 'displayable_version': '7.1.26', 'download_speed_bytes_per_second': 0, 'ethernet_overrides': [], 'fw_caps': 659093285, 'ip': '10.10.10.107', 'ipv4_lease_expiration_timestamp_seconds': 1739045795, 'is_access_point': False, 'is_adoption_queued': False, 'isolated': False, 'last_connection_network_id': '629fd656424c5b052fa1c715', 'last_connection_network_name': 'Main Network', 'last_seen': 1738992071, 'last_uplink': {'port_idx': 1, 'type': 'wire', 'uplink_device_name': '24RJ45-POE', 'uplink_mac': '78:45:58:b1:bd:3a', 'uplink_remote_port': 7}, 'license_state': 'registered', 'locating': False, 'lte_connected': False, 'mac': '60:22:32:ab:de:07', 'model': 'USPPDUP', 'model_in_eol': False, 'model_in_lts': False, 'model_incompatible': False, 'name': 'RPDU', 'num_sta': 0, 'port_table': [{'aggregated_by': False, 'autoneg': False, 'enable': True, 'full_duplex': True, 'is_uplink': True, 'media': 'FE', 'poe_caps': 0, 'poe_enable': False, 'port_idx': 1, 'port_poe': False, 'rx_bytes': 458527631, 'rx_bytes-r': 819, 'rx_dropped': 0, 'rx_errors': 0, 'rx_packets': 3374609, 'satisfaction': 100, 'speed': 100, 'speed_caps': 1048591, 'tx_bytes': 50538302, 'tx_bytes-r': 115, 'tx_dropped': 0, 'tx_errors': 0, 'tx_packets': 146576, 'up': True}], 'product_line': 'NETWORK', 'radio_table': [], 'radio_table_stats': [], 'restarting': False, 'rx_bytes': 0, 'rx_bytes-d': 0, 'satisfaction': 100, 'spectrum_scanning': False, 'state': 1, 'sys_stats': {'loadavg_1': 0.0, 'loadavg_15': 0.0, 'loadavg_5': 0.0, 'mem_buffer': 0, 'mem_total': 61648896, 'mem_used': 18903040}, 'system-stats': {'cpu': 1.5, 'mem': 30.7, 'uptime': 446331}, 'tags': ['connection_type_wired_device'], 'tx_bytes': 0, 'tx_bytes-d': 0, 'type': 'usw', 'unsupported': False, 'unsupported_reason': 0, 'upgradable': False, 'upgrade_state': 0, 'uplink': {'mac': '60:22:32:ab:de:07', 'name': 'eth0', 'port_idx': 1, 'speed': 100, 'type': 'wire', 'uplink_device_name': '24RJ45-POE', 'uplink_mac': '78:45:58:b1:bd:3a', 'uplink_remote_port': 7}, 'uplink_table': [], 'upload_speed_bytes_per_second': 0, 'uptime': 446331, 'usage_bytes': 0.0, 'vap_table': [], 'version': '7.1.26.15869'}, {'_id': '63f1de4d22f7604a2bd71cc8', 'adopt_state': 0, 'adoptable_when_upgraded': False, 'adopted': True, 'bytes-r': 0, 'connection_network_id': '629fd656424c5b052fa1c715', 'connection_network_name': 'Main Network', 'countrycode_table': [], 'default': False, 'device_type': 'MANAGED', 'disabled': False, 'displayable_version': '4.1.13', 'download_speed_bytes_per_second': 27051, 'ethernet_overrides': [{'ifname': 'eth0', 'networkgroup': 'LAN'}, {'ifname': 'eth1', 'networkgroup': 'LAN'}, {'ifname': 'eth2', 'networkgroup': 'LAN'}, {'ifname': 'eth3', 'networkgroup': 'LAN'}, {'ifname': 'eth4', 'networkgroup': 'LAN'}, {'ifname': 'eth5', 'networkgroup': 'LAN'}, {'ifname': 'eth6', 'networkgroup': 'LAN'}, {'ifname': 'eth7', 'networkgroup': 'LAN'}, {'ifname': 'eth8', 'networkgroup': 'WAN'}, {'ifname': 'eth9', 'networkgroup': 'WAN2'}, {'ifname': 'eth10', 'networkgroup': 'LAN'}], 'fw_caps': -487784915, 'ip': '172.14.74.7', 'is_access_point': False, 'is_adoption_queued': False, 'isolated': False, 'lan_ip': '10.10.10.1', 'last_connection_network_id': '629fd656424c5b052fa1c715', 'last_connection_network_name': 'Main Network', 'last_seen': 1738992090, 'last_uplink': {'port_idx': 9, 'type': 'wire', 'uplink_mac': '5a:07:f8:31:85:ee'}, 'license_state': 'registered', 'locating': False, 'lte_connected': False, 'mac': 'e0:63:da:80:55:2d', 'model': 'UDMPRO', 'model_in_eol': False, 'model_in_lts': False, 'model_incompatible': False, 'name': 'Dream Machine Pro', 'num_sta': 7, 'port_table': [{'aggregated_by': False, 'autoneg': True, 'enable': True, 'full_duplex': False, 'ifname': 'eth0', 'is_uplink': False, 'media': 'GE', 'name': 'eth0', 'poe_caps': 0, 'poe_enable': False, 'port_idx': 1, 'port_poe': False, '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, 'enable': True, 'full_duplex': False, 'ifname': 'eth9', 'is_uplink': False, 'media': 'SFP+', 'name': 'SFP+ 1', 'op_mode': 'switch', 'poe_caps': 0, 'poe_enable': False, 'port_idx': 10, 'port_poe': False, 'rx_bytes': 0, 'rx_bytes-r': 0, 'rx_dropped': 0, 'rx_errors': 0, 'rx_packets': 0, 'satisfaction': 0, 'speed': 10, 'speed_caps': 1048864, 'tx_bytes': 0, 'tx_bytes-r': 0, 'tx_dropped': 0, 'tx_errors': 0, 'tx_packets': 0, 'up': False}, {'aggregated_by': False, 'autoneg': True, 'enable': True, 'full_duplex': True, 'ifname': 'eth10', 'ip': '10.10.10.1', 'is_uplink': False, 'media': 'SFP+', 'name': 'Downlink to USW-Aggregation', 'op_mode': 'switch', 'poe_caps': 0, 'poe_enable': False, 'port_idx': 11, 'port_poe': False, 'rx_bytes': 204365576391, 'rx_bytes-r': 549978, 'rx_dropped': 0, 'rx_errors': 2225, 'rx_packets': 271497337, 'satisfaction': 0, 'speed': 10000, 'speed_caps': 1048864, 'tx_bytes': 325991710355, 'tx_bytes-r': 154753, 'tx_dropped': 0, 'tx_errors': 0, 'tx_packets': 334875787, 'up': True}, {'aggregated_by': False, 'autoneg': True, 'enable': True, 'full_duplex': False, 'ifname': 'eth1', 'is_uplink': False, 'media': 'GE', 'name': 'eth1', 'op_mode': 'switch', 'poe_caps': 0, 'poe_enable': False, 'port_idx': 2, 'port_poe': False, '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, 'enable': True, 'full_duplex': False, 'ifname': 'eth2', 'is_uplink': False, 'media': 'GE', 'name': 'eth2', 'poe_caps': 0, 'poe_enable': False, 'port_idx': 3, 'port_poe': False, '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, 'enable': True, 'full_duplex': False, 'ifname': 'eth3', 'is_uplink': False, 'media': 'GE', 'name': 'eth3', 'poe_caps': 0, 'poe_enable': False, 'port_idx': 4, 'port_poe': False, '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, 'enable': True, 'full_duplex': False, 'ifname': 'eth4', 'is_uplink': False, 'media': 'GE', 'name': 'eth4', 'op_mode': 'switch', 'poe_caps': 0, 'poe_enable': False, 'port_idx': 5, 'port_poe': False, '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, 'enable': True, 'full_duplex': False, 'ifname': 'eth5', 'is_uplink': False, 'media': 'GE', 'name': 'eth5', 'poe_caps': 0, 'poe_enable': False, 'port_idx': 6, 'port_poe': False, '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, 'enable': True, 'full_duplex': True, 'ifname': 'eth6', 'is_uplink': False, 'media': 'GE', 'name': 'eth6', 'op_mode': 'switch', 'poe_caps': 0, 'poe_enable': False, 'port_idx': 7, 'port_poe': False, 'rx_bytes': 79432053207, 'rx_bytes-r': 0, 'rx_dropped': 71, 'rx_errors': 2, 'rx_packets': 150360451, 'satisfaction': 0, 'speed': 1000, 'speed_caps': 1048623, 'tx_bytes': 153381016516, 'tx_bytes-r': 0, 'tx_dropped': 0, 'tx_errors': 0, 'tx_packets': 197514705, 'up': True}, {'aggregated_by': False, 'autoneg': True, 'enable': True, 'full_duplex': False, 'ifname': 'eth7', 'is_uplink': False, 'media': 'GE', 'name': 'eth7', 'poe_caps': 0, 'poe_enable': False, 'port_idx': 8, 'port_poe': False, '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, 'enable': True, 'full_duplex': True, 'ifname': 'eth8', 'ip': '172.14.74.7', 'is_uplink': True, 'media': 'GE', 'name': 'eth8', 'poe_caps': 0, 'poe_enable': False, 'port_idx': 9, 'port_poe': False, 'rx_bytes': 247686432430, 'rx_bytes-r': 27051, 'rx_dropped': 0, 'rx_errors': 0, 'rx_packets': 186834551, 'satisfaction': 0, 'speed': 1000, 'speed_caps': 1048623, 'tx_bytes': 52737202282, 'tx_bytes-r': 404802, 'tx_dropped': 0, 'tx_errors': 0, 'tx_packets': 74675652, 'up': True}], 'product_line': 'NETWORK', 'radio_table': [], 'radio_table_stats': [], 'restarting': False, 'rx_bytes': 0, 'rx_bytes-d': 0, 'satisfaction': 0, 'spectrum_scanning': False, 'state': 1, 'support_wifi6e': False, 'sys_stats': {'loadavg_1': 2.21, 'loadavg_15': 2.18, 'loadavg_5': 2.21, 'mem_buffer': 300949504, 'mem_total': 4137807872, 'mem_used': 2974445568}, 'system-stats': {'cpu': 13.1, 'mem': 71.9, 'uptime': 446339}, 'tags': ['connection_type_gateway_device'], 'tx_bytes': 0, 'tx_bytes-d': 0, 'type': 'udm', 'unsupported': False, 'unsupported_reason': 0, 'upgradable': False, 'upgrade_state': 0, 'uplink': {'name': 'eth8', 'port_idx': 9, 'speed': 1000, 'type': 'wire', 'uplink_mac': '5a:07:f8:31:85:ee'}, 'uplink_table': [], 'upload_speed_bytes_per_second': 404802, 'uptime': 446339, 'usage_bytes': 0.0, 'vap_table': [], 'version': '4.1.13.20906'}, {'_id': '6377ff4beec8d7076eee4bad', 'adopt_state': 0, 'adoptable_when_upgraded': False, 'adopted': True, 'bytes-r': 0, 'connection_network_id': '629fd656424c5b052fa1c715', 'connection_network_name': 'Main Network', 'countrycode_table': [], 'default': False, 'device_type': 'MANAGED', 'disabled': False, 'discovered_via': 'l2', 'displayable_version': '7.1.26', 'download_speed_bytes_per_second': 0, 'ethernet_overrides': [], 'fw_caps': -1488390619, 'ip': '10.10.10.238', 'ipv4_lease_expiration_timestamp_seconds': 1739045824, 'is_access_point': False, 'is_adoption_queued': False, 'isolated': False, 'last_connection_network_id': '629fd656424c5b052fa1c715', 'last_connection_network_name': 'Main Network', 'last_seen': 1738992057, 'last_uplink': {'port_idx': 7, 'type': 'wire', 'uplink_device_name':'full_duplex': True, 'is_uplink': True, 'media': 'SFP+', 'name': 'SFP+ 2', 'op_mode': 'switch', 'poe_caps': 0, 'poe_enable': False, 'port_idx': 26, 'port_poe': False, 'rx_bytes': 345105455253, 'rx_bytes-r': 237214, 'rx_dropped': 14721, 'rx_errors': 2225, 'rx_packets': 569019959, 'satisfaction': 87, 'speed': 10000, 'speed_caps': 1048928, 'tx_bytes': 455748957059, 'tx_bytes-r': 887106, 'tx_dropped': 0, 'tx_errors': 0, 'tx_packets': 566148932, 'up': True}], 'product_line': 'NETWORK', 'radio_table': [], 'radio_table_stats': [], 'restarting': False, 'rx_bytes': 0, 'rx_bytes-d': 0, 'satisfaction': 94, 'spectrum_scanning': False, 'state': 1, 'sys_stats': {'loadavg_1': 3.25, 'loadavg_15': 3.04, 'loadavg_5': 3.08, 'mem_buffer': 0, 'mem_total': 511627264, 'mem_used': 169635840}, 'system-stats': {'cpu': 59.5, 'mem': 32.9, 'uptime': 446311}, 'tags': ['connection_type_wired_device'], 'tx_bytes': 0, 'tx_bytes-d': 0, 'type': 'usw', 'unsupported': False, 'unsupported_reason': 0, 'upgradable': False, 'upgrade_state': 0, 'uplink': {'mac': '78:45:58:b1:bd:3a', 'name': 'eth0', 'port_idx': 26, 'speed': 10000, 'type': 'wire', 'uplink_device_name': '8SFP-AGG', 'uplink_mac': '78:45:58:6d:11:6a', 'uplink_remote_port': 5}, 'uplink_table': [], 'upload_speed_bytes_per_second': 0, 'uptime': 446312, 'usage_bytes': 0.0, 'vap_table': [], 'version': '7.1.26.15869'}], 'protect_devices': [{'_id': 'f4:e2:c6:0c:c6:cd', 'connection_network_id': '629fd656424c5b052fa1c715', 'connection_network_name': 'Main Network', 'default': False, 'device_type': 'CLIENT', 'displayable_version': '4.74.88', 'firmware_status': 'UP_TO_DATE', 'icon_filename': '4080886f-4d9e-4071-8552-a893097999e2', 'icon_resolutions': [[25, 25], [51, 51], [101, 101], [129, 129], [257, 257]], 'icons': [{'height': 25, 'url': 'https://static.ui.com/fingerprint/ui/icons/4080886f-4d9e-4071-8552-a893097999e2_25x25.png', 'width': 25}, {'height': 51, 'url': 'https://static.ui.com/fingerprint/ui/icons/4080886f-4d9e-4071-8552-a893097999e2_51x51.png', 'width': 51}, {'height': 101, 'url': 'https://static.ui.com/fingerprint/ui/icons/4080886f-4d9e-4071-8552-a893097999e2_101x101.png', 'width': 101}, {'height': 129, 'url': 'https://static.ui.com/fingerprint/ui/icons/4080886f-4d9e-4071-8552-a893097999e2_129x129.png', 'width': 129}, {'height': 257, 'url': 'https://static.ui.com/fingerprint/ui/icons/4080886f-4d9e-4071-8552-a893097999e2_257x257.png', 'width': 257}], 'ip': '10.10.10.218', 'ipv4_lease_expiration_timestamp_seconds': 1739045601, 'is_wired': True, 'last_seen': 1738992090, 'mac': 'f4:e2:c6:0c:c6:cd', 'model': 'G4 Doorbell Pro PoE', 'name': 'Doorbell', 'product_line': 'PROTECT', 'state': 1, 'tags': ['connected_unifi_client'], 'uplink_mac': 'd8:b3:70:93:cc:98', 'uptime': 445164, 'usage_bytes': 0.0, 'version': 'UVC.S5L.v4.74.88.67.806d895.250124.1648', 'view_in_application': False, 'wired_speed_megabits_per_second': 1000}, {'_id': 'd0:21:f9:91:e0:e5', 'connection_network_id': '629fd656424c5b052fa1c715', 'connection_network_name': 'Main Network', 'default': False, 'device_type': 'CLIENT', 'displayable_version': '4.74.88', 'essid': 'UniFi Wireless', 'firmware_status': 'UP_TO_DATE', 'icon_filename': '50c18cf8-6de0-4961-8a0e-95d65a6d31fe', 'icon_resolutions': [[25, 25], [51, 51], [101, 101], [129, 129], [257, 257]], 'icons': [{'height': 25, 'url': 'https://static.ui.com/fingerprint/ui/icons/50c18cf8-6de0-4961-8a0e-95d65a6d31fe_25x25.png', 'width': 25}, {'height': 51, 'url': 'https://static.ui.com/fingerprint/ui/icons/50c18cf8-6de0-4961-8a0e-95d65a6d31fe_51x51.png', 'width': 51}, {'height': 101, 'url': 'https://static.ui.com/fingerprint/ui/icons/50c18cf8-6de0-4961-8a0e-95d65a6d31fe_101x101.png', 'width': 101}, {'height': 129, 'url': 'https://static.ui.com/fingerprint/ui/icons/50c18cf8-6de0-4961-8a0e-95d65a6d31fe_129x129.png', 'width': 129}, {'height': 257, 'url': 'https://static.ui.com/fingerprint/ui/icons/50c18cf8-6de0-4961-8a0e-95d65a6d31fe_257x257.png', 'width': 257}], 'ip': '10.10.10.112', 'ipv4_lease_expiration_timestamp_seconds': 1739056500, 'is_wired': False, 'last_seen': 1738992060, 'mac': 'd0:21:f9:91:e0:e5', 'model': 'G3 Instant', 'name': 'Back Yard', 'product_line': 'PROTECT', 'rate_imbalance': 0, 'satisfaction': 100, 'state': 1, 'tags': ['connected_unifi_client'], 'uplink_mac': 'd0:21:f9:42:65:54', 'uplink_radio_band': 'na', 'uptime': 335757, 'usage_bytes': 0.0, 'version': 'UVC.SAV532q.v4.74.88.67.806d895.250124.1648', 'view_in_application': False}, {'_id': 'd0:21:f9:91:12:0d', 'connection_network_id': '629fd656424c5b052fa1c715', 'connection_network_name': 'Main Network', 'default': False, 'device_type': 'CLIENT', 'displayable_version': '4.74.88', 'essid': 'UniFi Wireless', 'firmware_status': 'UP_TO_DATE', 'icon_filename': '50c18cf8-6de0-4961-8a0e-95d65a6d31fe', 'icon_resolutions': [[25, 25], [51, 51], [101, 101], [129, 129], [257, 257]], 'icons': [{'height': 25, 'url': 'https://static.ui.com/fingerprint/ui/icons/50c18cf8-6de0-4961-8a0e-95d65a6d31fe_25x25.png', 'width': 25}, {'height': 51, 'url': 'https://static.ui.com/fingerprint/ui/icons/50c18cf8-6de0-4961-8a0e-95d65a6d31fe_51x51.png', 'width': 51}, {'height': 101, 'url': 'https://static.ui.com/fingerprint/ui/icons/50c18cf8-6de0-4961-8a0e-95d65a6d31fe_101x101.png', 'width': 101}, {'height': 129, 'url': 'https://static.ui.com/fingerprint/ui/icons/50c18cf8-6de0-4961-8a0e-95d65a6d31fe_129x129.png', 'width': 129}, {'height': 257, 'url': 'https://static.ui.com/fingerprint/ui/icons/50c18cf8-6de0-4961-8a0e-95d65a6d31fe_257x257.png', 'width': 257}], 'ip': '10.10.10.155', 'ipv4_lease_expiration_timestamp_seconds': 1739056500, 'is_wired': False, 'last_seen': 1738992060, 'mac': 'd0:21:f9:91:12:0d', 'model': 'G3 Instant', 'name': 'Server Room', 'product_line': 'PROTECT', 'rate_imbalance': 0, 'satisfaction': 100, 'state': 1, 'tags': ['connected_unifi_client'], 'uplink_mac': 'd0:21:f9:42:65:54', 'uplink_radio_band': 'na', 'uptime': 335757, 'usage_bytes': 0.0, 'version': 'UVC.SAV532q.v4.74.88.67.806d895.250124.1648', 'view_in_application': False}], 'talk_devices': [], 'unmanaged_devices': []}
Feb 08 00:21:30 gandalf python3[5066]: DEBUG:app:Processed devices: [{'name': 'USP Strip', 'ip': '10.10.10.243', 'type': 'uap', 'connection_type': 'copper', 'critical': False, 'device_id': 'd0:21:f9:ca:ee:04'}, {'name': 'RPDU', 'ip': '10.10.10.107', 'type': 'usw', 'connection_type': 'copper', 'critical': True, 'device_id': '60:22:32:ab:de:07'}, {'name': 'Dream Machine Pro', 'ip': '172.14.74.7', 'type': 'udm', 'connection_type': 'copper', 'critical': True, 'device_id': 'e0:63:da:80:55:2d'}, {'name': '8SFP-AGG', 'ip': '10.10.10.238', 'type': 'usw', 'connection_type': 'copper', 'critical': True, 'device_id': '78:45:58:6d:11:6a'}, {'name': 'USW Flex Mini', 'ip': '10.10.10.169', 'type': 'usw', 'connection_type': 'copper', 'critical': True, 'device_id': 'd0:21:f9:b2:7f:21'}, {'name': 'Cable Internet', 'ip': '192.168.100.1', 'type': 'uci', 'connection_type': 'copper', 'critical': False, 'device_id': 'd0:21:f9:05:34:4f'}, {'name': 'AP', 'ip': '10.10.10.154', 'type': 'uap', 'connection_type': 'copper', 'critical': False, 'device_id': 'd0:21:f9:42:65:54'}, {'name': '24RJ45-POE', 'ip': '10.10.10.139', 'type': 'usw', 'connection_type': 'copper', 'critical': True, 'device_id': '78:45:58:b1:bd:3a'}]
Feb 08 00:21:30 gandalf python3[5066]: DEBUG:urllib3.connectionpool:https://10.10.10.1:443 "GET /proxy/network/v2/api/site/default/device/d0:21:f9:ca:ee:04 HTTP/1.1" 404 431
Feb 08 00:21:30 gandalf python3[5066]: ERROR:app:Failed to get device details: 404 Client Error: for url: https://10.10.10.1/proxy/network/v2/api/site/default/device/d0:21:f9:ca:ee:04
Feb 08 00:21:30 gandalf python3[5066]: DEBUG:urllib3.connectionpool:https://10.10.10.1:443 "GET /proxy/network/v2/api/site/default/device/60:22:32:ab:de:07 HTTP/1.1" 404 431
Feb 08 00:21:30 gandalf python3[5066]: ERROR:app:Failed to get device details: 404 Client Error: for url: https://10.10.10.1/proxy/network/v2/api/site/default/device/60:22:32:ab:de:07
Feb 08 00:21:30 gandalf python3[5066]: DEBUG:urllib3.connectionpool:https://10.10.10.1:443 "GET /proxy/network/v2/api/site/default/device/e0:63:da:80:55:2d HTTP/1.1" 404 431
Feb 08 00:21:30 gandalf python3[5066]: ERROR:app:Failed to get device details: 404 Client Error: for url: https://10.10.10.1/proxy/network/v2/api/site/default/device/e0:63:da:80:55:2d
Feb 08 00:21:30 gandalf python3[5066]: DEBUG:urllib3.connectionpool:https://10.10.10.1:443 "GET /proxy/network/v2/api/site/default/device/78:45:58:6d:11:6a HTTP/1.1" 404 431
Feb 08 00:21:30 gandalf python3[5066]: ERROR:app:Failed to get device details: 404 Client Error: for url: https://10.10.10.1/proxy/network/v2/api/site/default/device/78:45:58:6d:11:6a
Feb 08 00:21:30 gandalf python3[5066]: DEBUG:urllib3.connectionpool:https://10.10.10.1:443 "GET /proxy/network/v2/api/site/default/device/d0:21:f9:b2:7f:21 HTTP/1.1" 404 431
Feb 08 00:21:30 gandalf python3[5066]: ERROR:app:Failed to get device details: 404 Client Error: for url: https://10.10.10.1/proxy/network/v2/api/site/default/device/d0:21:f9:b2:7f:21
Feb 08 00:21:30 gandalf python3[5066]: DEBUG:urllib3.connectionpool:https://10.10.10.1:443 "GET /proxy/network/v2/api/site/default/device/d0:21:f9:05:34:4f HTTP/1.1" 404 431
Feb 08 00:21:30 gandalf python3[5066]: ERROR:app:Failed to get device details: 404 Client Error: for url: https://10.10.10.1/proxy/network/v2/api/site/default/device/d0:21:f9:05:34:4f
Feb 08 00:21:30 gandalf python3[5066]: DEBUG:urllib3.connectionpool:https://10.10.10.1:443 "GET /proxy/network/v2/api/site/default/device/d0:21:f9:42:65:54 HTTP/1.1" 404 431
Feb 08 00:21:30 gandalf python3[5066]: ERROR:app:Failed to get device details: 404 Client Error: for url: https://10.10.10.1/proxy/network/v2/api/site/default/device/d0:21:f9:42:65:54
Feb 08 00:21:30 gandalf python3[5066]: DEBUG:urllib3.connectionpool:https://10.10.10.1:443 "GET /proxy/network/v2/api/site/default/device/78:45:58:b1:bd:3a HTTP/1.1" 404 431
Feb 08 00:21:30 gandalf python3[5066]: ERROR:app:Failed to get device details: 404 Client Error: for url: https://10.10.10.1/proxy/network/v2/api/site/default/device/78:45:58:b1:bd:3a