From 45cd1c58f217aebd2159b2b0d5634e6b4f4d4fb8 Mon Sep 17 00:00:00 2001 From: James Smith Date: Sun, 21 Dec 2025 14:34:23 +0000 Subject: [PATCH] Fix device intelligence tracking for WiFi and Bluetooth MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The generateDeviceId function only handled POCSAG, FLEX, and sensor protocols. Added handlers for: - WiFi-AP: generates WIFI_AP_ - WiFi-Client: generates WIFI_CLIENT_ - Bluetooth/BLE: generates BT_ This fixes device tracking in the intelligence section for WiFi and Bluetooth scans. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- intercept.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/intercept.py b/intercept.py index fa40b50..db7e3f0 100755 --- a/intercept.py +++ b/intercept.py @@ -2797,6 +2797,12 @@ HTML_TEMPLATE = ''' return 'PAGER_' + (data.address || 'UNK'); } else if (data.protocol === 'FLEX') { return 'FLEX_' + (data.address || 'UNK'); + } else if (data.protocol === 'WiFi-AP') { + return 'WIFI_AP_' + (data.address || 'UNK').replace(/:/g, ''); + } else if (data.protocol === 'WiFi-Client') { + return 'WIFI_CLIENT_' + (data.address || 'UNK').replace(/:/g, ''); + } else if (data.protocol === 'Bluetooth' || data.protocol === 'BLE') { + return 'BT_' + (data.address || 'UNK').replace(/:/g, ''); } else if (data.model) { // 433MHz sensor const id = data.id || data.channel || data.unit || '0';