From d1f8c1a81839c0829c9be4099db4700e19cdf03e Mon Sep 17 00:00:00 2001 From: Danimal4326 Date: Wed, 19 May 2021 15:23:11 -0500 Subject: [PATCH] Ignore wired clients --- unifi-low-snr-reconnect | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unifi-low-snr-reconnect b/unifi-low-snr-reconnect index 0b5729b..c8a6bb3 100755 --- a/unifi-low-snr-reconnect +++ b/unifi-low-snr-reconnect @@ -29,7 +29,7 @@ ap_names = dict([(ap['mac'], ap.get('name')) for ap in all_aps]) kicks = defaultdict(int) held = defaultdict(bool) while True: - res = c.get_clients() + res = [ x for x in c.get_clients() if not x['is_wired'] ] now = time.time() if args.debug: